public class ContentItemFactory.ContainerContentItem extends ContentItemWithValue
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
continuityOfContent |
protected java.lang.String |
templateIdentifier |
protected java.lang.String |
templateMappingResource |
conceptName, referencedContentItemIdentifier, valueType
observationDateTime, observationUID, relationshipType
Constructor and Description |
---|
ContainerContentItem(ContentItem parent,
AttributeList list) |
ContainerContentItem(ContentItem parent,
java.lang.String relationshipType,
CodedSequenceItem conceptName) |
ContainerContentItem(ContentItem parent,
java.lang.String relationshipType,
CodedSequenceItem conceptName,
boolean continuityOfContentIsSeparate) |
ContainerContentItem(ContentItem parent,
java.lang.String relationshipType,
CodedSequenceItem conceptName,
boolean continuityOfContentIsSeparate,
java.lang.String templateMappingResource,
java.lang.String templateIdentifier) |
ContainerContentItem(ContentItem parent,
java.lang.String relationshipType,
CodedSequenceItem conceptName,
boolean continuityOfContentIsSeparate,
java.lang.String templateMappingResource,
java.lang.String templateIdentifier,
java.lang.String observationDateTime,
java.lang.String observationUID) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getConceptValue()
Get a string representation of the value of the concept.
|
java.lang.String |
getContinuityOfContent() |
java.lang.String |
getTemplateIdentifier() |
java.lang.String |
getTemplateMappingResource() |
java.lang.String |
toString()
Get a human-readable string representation of the content item.
|
contentItemNameMatchesCodeValueAndCodingSchemeDesignator, getConceptName, getConceptNameAndValue, getConceptNameCodeMeaning, getConceptNameCodeValue, getConceptNameCodingSchemeDesignator, getValueType
addChild, addSibling, children, contentItemNameMatchesCodeValueAndCodingSchemeDesignator, getAllowsChildren, getAttributeList, getChildAt, getChildCount, getGraphicData, getGraphicType, getIndex, getNamedChild, getNamedChild, getObservationDateTime, getObservationUID, getParent, getParentAsContentItem, getPositionInTreeToUseAsReferencedContentItemIdentifier, getReferencedContentItemIdentifier, getReferencedContentItemIdentifierArray, getReferencedSOPClassUID, getReferencedSOPInstanceUID, getRelationshipType, getSingleStringValueOrNull, getSingleStringValueOrNullOfNamedChild, getSingleStringValueOrNullOfNamedChild, isLeaf
protected java.lang.String continuityOfContent
protected java.lang.String templateIdentifier
protected java.lang.String templateMappingResource
public ContainerContentItem(ContentItem parent, AttributeList list)
parent
- parent content item to add tolist
- the list of attributes for this content itempublic ContainerContentItem(ContentItem parent, java.lang.String relationshipType, CodedSequenceItem conceptName) throws DicomException
parent
- parent content item to add torelationshipType
- relationship typeconceptName
- coded concept nameDicomException
- if error in DICOM encodingpublic ContainerContentItem(ContentItem parent, java.lang.String relationshipType, CodedSequenceItem conceptName, boolean continuityOfContentIsSeparate) throws DicomException
parent
- parent content item to add torelationshipType
- relationship typeconceptName
- coded concept namecontinuityOfContentIsSeparate
- true if SEPARATE, false if CONTINUOUSDicomException
- if error in DICOM encodingpublic ContainerContentItem(ContentItem parent, java.lang.String relationshipType, CodedSequenceItem conceptName, boolean continuityOfContentIsSeparate, java.lang.String templateMappingResource, java.lang.String templateIdentifier) throws DicomException
parent
- parent content item to add torelationshipType
- relationship typeconceptName
- coded concept namecontinuityOfContentIsSeparate
- true if SEPARATE, false if CONTINUOUStemplateMappingResource
- identifier of the template mapping resourcetemplateIdentifier
- identifier of the templateDicomException
- if error in DICOM encodingpublic ContainerContentItem(ContentItem parent, java.lang.String relationshipType, CodedSequenceItem conceptName, boolean continuityOfContentIsSeparate, java.lang.String templateMappingResource, java.lang.String templateIdentifier, java.lang.String observationDateTime, java.lang.String observationUID) throws DicomException
parent
- parent content item to add torelationshipType
- relationship typeconceptName
- coded concept namecontinuityOfContentIsSeparate
- true if SEPARATE, false if CONTINUOUStemplateMappingResource
- identifier of the template mapping resourcetemplateIdentifier
- identifier of the templateobservationDateTime
- Observation DateTime (or null or empty if none)observationUID
- Observation UID (or null or empty if none)DicomException
- if error in DICOM encodingpublic java.lang.String getConceptValue()
ContentItemWithValue
Get a string representation of the value of the concept.
The exact form of the returned string is specific to the type of ContentItem.
getConceptValue
in class ContentItemWithValue
public java.lang.String getContinuityOfContent()
public java.lang.String getTemplateIdentifier()
public java.lang.String getTemplateMappingResource()
public java.lang.String toString()
ContentItemWithValue
Get a human-readable string representation of the content item.
toString
in class ContentItemWithValue