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:
javax.swing.tree.TreeNode
- Enclosing class:
- ContentItemFactory
public class ContentItemFactory.ContainerContentItem extends ContentItemWithValue
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringcontinuityOfContentprotected java.lang.StringtemplateIdentifierprotected java.lang.StringtemplateMappingResource-
Fields inherited from class com.pixelmed.dicom.ContentItemWithValue
conceptName, referencedContentItemIdentifier, valueType
-
Fields inherited from class com.pixelmed.dicom.ContentItem
observationDateTime, observationUID, relationshipType
-
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetConceptValue()Get a string representation of the value of the concept.java.lang.StringgetContinuityOfContent()java.lang.StringgetTemplateIdentifier()java.lang.StringgetTemplateMappingResource()java.lang.StringtoString()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
-
-
-
-
Constructor Detail
-
ContainerContentItem
public ContainerContentItem(ContentItem parent, AttributeList list)
- Parameters:
parent- parent content item to add tolist- the list of attributes for this content item
-
ContainerContentItem
public 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
- 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, java.lang.String relationshipType, CodedSequenceItem conceptName, boolean continuityOfContentIsSeparate, java.lang.String templateMappingResource, java.lang.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, java.lang.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, java.lang.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 Detail
-
getConceptValue
public java.lang.String getConceptValue()
Description copied from class:ContentItemWithValueGet 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:
getConceptValuein classContentItemWithValue- Returns:
- a String representation of the name and value, or an empty string
-
getContinuityOfContent
public java.lang.String getContinuityOfContent()
- Returns:
- the continuity of content
-
getTemplateMappingResource
public java.lang.String getTemplateMappingResource()
- Returns:
- the template mapping resource
-
getTemplateIdentifier
public java.lang.String getTemplateIdentifier()
- Returns:
- the template identifier
-
toString
public java.lang.String toString()
Description copied from class:ContentItemWithValueGet a human-readable string representation of the content item.
- Overrides:
toStringin classContentItemWithValue- Returns:
- the string representation of the content item
-
-