com.pixelmed.dicom
Class ContentItemFactory.ContainerContentItem

java.lang.Object
  extended by com.pixelmed.dicom.ContentItem
      extended by com.pixelmed.dicom.ContentItemWithValue
          extended by com.pixelmed.dicom.ContentItemFactory.ContainerContentItem
All Implemented Interfaces:
TreeNode
Enclosing class:
ContentItemFactory

public class ContentItemFactory.ContainerContentItem
extends ContentItemWithValue


Field Summary
protected  String continuityOfContent
           
protected  String templateIdentifier
           
protected  String templateMappingResource
           
 
Fields inherited from class com.pixelmed.dicom.ContentItemWithValue
conceptName, referencedContentItemIdentifier, valueType
 
Fields inherited from class com.pixelmed.dicom.ContentItem
relationshipType
 
Constructor Summary
ContentItemFactory.ContainerContentItem(ContentItem parent, AttributeList list)
           
ContentItemFactory.ContainerContentItem(ContentItem parent, String relationshipType, CodedSequenceItem conceptName)
           
ContentItemFactory.ContainerContentItem(ContentItem parent, String relationshipType, CodedSequenceItem conceptName, boolean continuityOfContentIsSeparate)
           
ContentItemFactory.ContainerContentItem(ContentItem parent, String relationshipType, CodedSequenceItem conceptName, boolean continuityOfContentIsSeparate, String templateMappingResource, String templateIdentifier)
           
 
Method Summary
 String getConceptValue()
          Get a string representation of the value of the concept.
 String getContinuityOfContent()
           
 String getTemplateIdentifier()
           
 String getTemplateMappingResource()
           
 String 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, getParent, getParentAsContentItem, getReferencedContentItemIdentifier, getReferencedContentItemIdentifierArray, getReferencedSOPClassUID, getReferencedSOPInstanceUID, getRelationshipType, getSingleStringValueOrNull, getSingleStringValueOrNullOfNamedChild, getSingleStringValueOrNullOfNamedChild, isLeaf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

continuityOfContent

protected String continuityOfContent

templateMappingResource

protected String templateMappingResource

templateIdentifier

protected String templateIdentifier
Constructor Detail

ContentItemFactory.ContainerContentItem

public ContentItemFactory.ContainerContentItem(ContentItem parent,
                                               AttributeList list)
Parameters:
parent -
list -

ContentItemFactory.ContainerContentItem

public ContentItemFactory.ContainerContentItem(ContentItem parent,
                                               String relationshipType,
                                               CodedSequenceItem conceptName,
                                               boolean continuityOfContentIsSeparate,
                                               String templateMappingResource,
                                               String templateIdentifier)
                                        throws DicomException
Parameters:
parent -
relationshipType -
conceptName -
continuityOfContentIsSeparate - true if SEPARATE, false if CONTINUOUS
templateMappingResource -
templateIdentifier -
Throws:
DicomException

ContentItemFactory.ContainerContentItem

public ContentItemFactory.ContainerContentItem(ContentItem parent,
                                               String relationshipType,
                                               CodedSequenceItem conceptName,
                                               boolean continuityOfContentIsSeparate)
                                        throws DicomException
Parameters:
parent -
relationshipType -
conceptName -
continuityOfContentIsSeparate - true if SEPARATE, false if CONTINUOUS
Throws:
DicomException

ContentItemFactory.ContainerContentItem

public ContentItemFactory.ContainerContentItem(ContentItem parent,
                                               String relationshipType,
                                               CodedSequenceItem conceptName)
                                        throws DicomException
Parameters:
parent -
relationshipType -
conceptName -
Throws:
DicomException
Method Detail

getConceptValue

public String 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 class ContentItemWithValue
Returns:
a String representation of the name and value, or an empty string

getContinuityOfContent

public String getContinuityOfContent()

getTemplateMappingResource

public String getTemplateMappingResource()

getTemplateIdentifier

public String getTemplateIdentifier()

toString

public String toString()
Description copied from class: ContentItemWithValue

Get a human-readable string representation of the content item.

Overrides:
toString in class ContentItemWithValue
Returns:
the string representation of the content item