Package com.pixelmed.dicom
Class ContentItemFactory.ContainerContentItem
java.lang.Object
com.pixelmed.dicom.ContentItem
com.pixelmed.dicom.ContentItemWithValue
com.pixelmed.dicom.ContentItemFactory.ContainerContentItem
- All Implemented Interfaces:
TreeNode
- Enclosing class:
ContentItemFactory
-
Field Summary
FieldsFields inherited from class com.pixelmed.dicom.ContentItemWithValue
conceptName, referencedContentItemIdentifier, valueType
Fields inherited from class com.pixelmed.dicom.ContentItem
observationDateTime, observationUID, relationshipType
-
Constructor Summary
ConstructorsConstructorDescriptionContainerContentItem
(ContentItem parent, AttributeList list) ContainerContentItem
(ContentItem parent, String relationshipType, CodedSequenceItem conceptName) ContainerContentItem
(ContentItem parent, String relationshipType, CodedSequenceItem conceptName, boolean continuityOfContentIsSeparate) ContainerContentItem
(ContentItem parent, String relationshipType, CodedSequenceItem conceptName, boolean continuityOfContentIsSeparate, String templateMappingResource, String templateIdentifier) ContainerContentItem
(ContentItem parent, String relationshipType, CodedSequenceItem conceptName, boolean continuityOfContentIsSeparate, String templateMappingResource, String templateIdentifier, String observationDateTime, String observationUID) -
Method Summary
Modifier and TypeMethodDescriptionGet a string representation of the value of the concept.toString()
Get a human-readable string representation of the content item.Methods inherited from class com.pixelmed.dicom.ContentItemWithValue
contentItemNameMatchesCodeValueAndCodingSchemeDesignator, getConceptName, getConceptNameAndValue, getConceptNameCodeMeaning, getConceptNameCodeValue, getConceptNameCodingSchemeDesignator, getValueType
Methods inherited from class com.pixelmed.dicom.ContentItem
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
-
Field Details
-
continuityOfContent
-
templateMappingResource
-
templateIdentifier
-
-
Constructor Details
-
ContainerContentItem
- Parameters:
parent
- parent content item to add tolist
- the list of attributes for this content item
-
ContainerContentItem
public ContainerContentItem(ContentItem parent, String relationshipType, CodedSequenceItem conceptName, boolean continuityOfContentIsSeparate, String templateMappingResource, String templateIdentifier, String observationDateTime, String observationUID) throws DicomException - Parameters:
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)- Throws:
DicomException
- if error in DICOM encoding
-
ContainerContentItem
public ContainerContentItem(ContentItem parent, String relationshipType, CodedSequenceItem conceptName, boolean continuityOfContentIsSeparate, String templateMappingResource, String templateIdentifier) throws DicomException - Parameters:
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 template- Throws:
DicomException
- if error in DICOM encoding
-
ContainerContentItem
public ContainerContentItem(ContentItem parent, String relationshipType, CodedSequenceItem conceptName, boolean continuityOfContentIsSeparate) throws DicomException - Parameters:
parent
- parent content item to add torelationshipType
- relationship typeconceptName
- coded concept namecontinuityOfContentIsSeparate
- true if SEPARATE, false if CONTINUOUS- Throws:
DicomException
- if error in DICOM encoding
-
ContainerContentItem
public ContainerContentItem(ContentItem parent, String relationshipType, CodedSequenceItem conceptName) throws DicomException - Parameters:
parent
- parent content item to add torelationshipType
- relationship typeconceptName
- coded concept name- Throws:
DicomException
- if error in DICOM encoding
-
-
Method Details
-
getConceptValue
Description copied from class: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.
- Specified by:
getConceptValue
in classContentItemWithValue
- Returns:
- a String representation of the name and value, or an empty string
-
getContinuityOfContent
- Returns:
- the continuity of content
-
getTemplateMappingResource
- Returns:
- the template mapping resource
-
getTemplateIdentifier
- Returns:
- the template identifier
-
toString
Description copied from class:ContentItemWithValue
Get a human-readable string representation of the content item.
- Overrides:
toString
in classContentItemWithValue
- Returns:
- the string representation of the content item
-