public class MCcontainerItem extends MCcontentItem
This class provides the functionality to manipulate a CONTAINER content item according to the definition of CONTAINER MACRO.
CONTAINER groups Content Items and defines the heading or category of observation that applies to that content. The heading describes the content of the CONTAINER Content Item and may map to a document section heading in a printed or displayed document.
Modifier and Type | Class and Description |
---|---|
static class |
MCcontainerItem.Continuity
Specifies for a CONTAINER whether or not
its contained Content Items are logically linked in a
continuous textual flow, or are separate items.
|
Constructor and Description |
---|
MCcontainerItem()
Default constructor.
|
MCcontainerItem(java.lang.String templateId,
MCcontainerItem.Continuity continuityOfContent,
MCbasicCodedEntry conceptName)
Creates a new instance of the CONTAINER Content Item.
|
Modifier and Type | Method and Description |
---|---|
MCcontentItemType |
contentItemType()
Gets the value type of this content item.
|
MCcontainerItem.Continuity |
getContinuityOfContent()
Gets Continuity of Content (0040,A050).
|
java.lang.String |
getTemplateId()
Gets the DICOM Template identifier (0040,DB00).
|
void |
read(MCattributeSet source)
Reads the CONTAINER content item from the source attribute set.
|
void |
setContinuityOfContent(MCcontainerItem.Continuity continuityOfContent)
Sets Continuity of Content (0040,A050).
|
void |
setTemplateId(java.lang.String templateId)
Sets the DICOM Template identifier (0040,DB00).
|
void |
write(MCattributeSet destination)
Writes the CONTAINER content item to the destination attribute set.
|
addChild, addChildAt, addReference, getChildAt, getChildren, getConceptName, getDataContext, getItemId, getObservationDateTime, getObservationUID, getParent, getPosition, getReferences, getRelationshipType, getRootItem, removeChild, removeChildAt, removeReference, removeReference, setConceptName, setDataContext, setObservationDataTime, setObservationUID, setRelationshipType
public MCcontainerItem()
public MCcontainerItem(java.lang.String templateId, MCcontainerItem.Continuity continuityOfContent, MCbasicCodedEntry conceptName)
templateId
- Identifies the Template that was used in the creation of the associated Content Item.continuityOfContent
- Continuity of Content.conceptName
- Concept Name.public java.lang.String getTemplateId()
public void setTemplateId(java.lang.String templateId)
templateId
- The DICOM Template identifier.public MCcontainerItem.Continuity getContinuityOfContent()
public void setContinuityOfContent(MCcontainerItem.Continuity continuityOfContent)
continuityOfContent
- Continuity of Content.public MCcontentItemType contentItemType()
contentItemType
in class MCcontentItem
MCcontentItemType.CONTAINER
public void read(MCattributeSet source)
read
in interface MCdataSetSerializable
read
in class MCcontentItem
source
- Source attribute set.MCexception
- If the source parameter is null.public void write(MCattributeSet destination)
write
in interface MCdataSetSerializable
write
in class MCcontentItem
destination
- Destination attribute set.MCexception
- If the destination parameter is null.