com.pixelmed.dicom
Class ContentItemFactory.CompositeContentItem

java.lang.Object
  extended by com.pixelmed.dicom.ContentItem
      extended by com.pixelmed.dicom.ContentItemWithValue
          extended by com.pixelmed.dicom.ContentItemFactory.CompositeContentItem
All Implemented Interfaces:
TreeNode
Direct Known Subclasses:
ContentItemFactory.ImageContentItem, ContentItemFactory.WaveformContentItem
Enclosing class:
ContentItemFactory

public class ContentItemFactory.CompositeContentItem
extends ContentItemWithValue


Field Summary
protected  String referencedSOPClassUID
           
protected  String referencedSOPInstanceUID
           
protected  AttributeList referencedSOPSequenceItemAttributeList
           
 
Fields inherited from class com.pixelmed.dicom.ContentItemWithValue
conceptName, referencedContentItemIdentifier, valueType
 
Fields inherited from class com.pixelmed.dicom.ContentItem
relationshipType
 
Constructor Summary
  ContentItemFactory.CompositeContentItem(ContentItem parent, AttributeList list)
           
  ContentItemFactory.CompositeContentItem(ContentItem parent, String relationshipType, CodedSequenceItem conceptName, String referencedSOPClassUID, String referencedSOPInstanceUID)
           
protected ContentItemFactory.CompositeContentItem(ContentItem parent, String valueType, String relationshipType, CodedSequenceItem conceptName, String referencedSOPClassUID, String referencedSOPInstanceUID)
           
 
Method Summary
protected  void doCommonConstructorStuff(String referencedSOPClassUID, String referencedSOPInstanceUID)
           
 String getConceptValue()
          Get a string representation of the value of the concept.
 String getReferencedSOPClassUID()
          Get the Referenced SOP Class UID of this content item, if present and applicable.
 String getReferencedSOPInstanceUID()
          Get the Referenced SOP Instance UID of this content item, if present and applicable.
 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, getRelationshipType, getSingleStringValueOrNull, getSingleStringValueOrNullOfNamedChild, getSingleStringValueOrNullOfNamedChild, isLeaf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

referencedSOPSequenceItemAttributeList

protected AttributeList referencedSOPSequenceItemAttributeList

referencedSOPClassUID

protected String referencedSOPClassUID

referencedSOPInstanceUID

protected String referencedSOPInstanceUID
Constructor Detail

ContentItemFactory.CompositeContentItem

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

ContentItemFactory.CompositeContentItem

public ContentItemFactory.CompositeContentItem(ContentItem parent,
                                               String relationshipType,
                                               CodedSequenceItem conceptName,
                                               String referencedSOPClassUID,
                                               String referencedSOPInstanceUID)
                                        throws DicomException
Parameters:
parent -
relationshipType -
conceptName -
referencedSOPClassUID -
referencedSOPInstanceUID -
Throws:
DicomException

ContentItemFactory.CompositeContentItem

protected ContentItemFactory.CompositeContentItem(ContentItem parent,
                                                  String valueType,
                                                  String relationshipType,
                                                  CodedSequenceItem conceptName,
                                                  String referencedSOPClassUID,
                                                  String referencedSOPInstanceUID)
                                           throws DicomException
Parameters:
parent -
valueType -
relationshipType -
conceptName -
referencedSOPClassUID -
referencedSOPInstanceUID -
Throws:
DicomException
Method Detail

doCommonConstructorStuff

protected void doCommonConstructorStuff(String referencedSOPClassUID,
                                        String referencedSOPInstanceUID)
                                 throws DicomException
Parameters:
referencedSOPClassUID -
referencedSOPInstanceUID -
Throws:
DicomException

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

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

getReferencedSOPClassUID

public String getReferencedSOPClassUID()
Description copied from class: ContentItem

Get the Referenced SOP Class UID of this content item, if present and applicable.

Overrides:
getReferencedSOPClassUID in class ContentItem
Returns:
the Referenced SOP Class UID, or null

getReferencedSOPInstanceUID

public String getReferencedSOPInstanceUID()
Description copied from class: ContentItem

Get the Referenced SOP Instance UID of this content item, if present and applicable.

Overrides:
getReferencedSOPInstanceUID in class ContentItem
Returns:
the Referenced SOP Instance UID, or null