Package com.pixelmed.dicom
Class ContentItemFactory.CompositeContentItem
java.lang.Object
com.pixelmed.dicom.ContentItem
com.pixelmed.dicom.ContentItemWithValue
com.pixelmed.dicom.ContentItemFactory.CompositeContentItem
- All Implemented Interfaces:
TreeNode
- Direct Known Subclasses:
ContentItemFactory.ImageContentItem
,ContentItemFactory.WaveformContentItem
- 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
ConstructorsModifierConstructorDescriptionCompositeContentItem
(ContentItem parent, AttributeList list) CompositeContentItem
(ContentItem parent, String relationshipType, CodedSequenceItem conceptName, String referencedSOPClassUID, String referencedSOPInstanceUID) CompositeContentItem
(ContentItem parent, String relationshipType, CodedSequenceItem conceptName, String referencedSOPClassUID, String referencedSOPInstanceUID, String observationDateTime, String observationUID) protected
CompositeContentItem
(ContentItem parent, String valueType, String relationshipType, CodedSequenceItem conceptName, String referencedSOPClassUID, String referencedSOPInstanceUID) protected
CompositeContentItem
(ContentItem parent, String valueType, String relationshipType, CodedSequenceItem conceptName, String referencedSOPClassUID, String referencedSOPInstanceUID, String observationDateTime, String observationUID) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
doCommonConstructorStuff
(String referencedSOPClassUID, String referencedSOPInstanceUID) Get a string representation of the value of the concept.Get the Referenced SOP Class UID of this content item, if present and applicable.Get the Referenced SOP Instance UID of this content item, if present and applicable.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, getRelationshipType, getSingleStringValueOrNull, getSingleStringValueOrNullOfNamedChild, getSingleStringValueOrNullOfNamedChild, isLeaf
-
Field Details
-
referencedSOPSequenceItemAttributeList
-
referencedSOPClassUID
-
referencedSOPInstanceUID
-
-
Constructor Details
-
CompositeContentItem
- Parameters:
parent
- parent content item to add tolist
- the list of attributes for this content item
-
CompositeContentItem
public CompositeContentItem(ContentItem parent, String relationshipType, CodedSequenceItem conceptName, String referencedSOPClassUID, String referencedSOPInstanceUID, String observationDateTime, String observationUID) throws DicomException - Parameters:
parent
- parent content item to add torelationshipType
- relationship typeconceptName
- coded concept namereferencedSOPClassUID
- the SOP Class UIDreferencedSOPInstanceUID
- the SOP Instance UIDobservationDateTime
- Observation DateTime (or null or empty if none)observationUID
- Observation UID (or null or empty if none)- Throws:
DicomException
- if error in DICOM encoding
-
CompositeContentItem
public CompositeContentItem(ContentItem parent, String relationshipType, CodedSequenceItem conceptName, String referencedSOPClassUID, String referencedSOPInstanceUID) throws DicomException - Parameters:
parent
- parent content item to add torelationshipType
- relationship typeconceptName
- coded concept namereferencedSOPClassUID
- the SOP Class UIDreferencedSOPInstanceUID
- the SOP Instance UID- Throws:
DicomException
- if error in DICOM encoding
-
CompositeContentItem
protected CompositeContentItem(ContentItem parent, String valueType, String relationshipType, CodedSequenceItem conceptName, String referencedSOPClassUID, String referencedSOPInstanceUID, String observationDateTime, String observationUID) throws DicomException - Parameters:
parent
- parent content item to add tovalueType
- the value typerelationshipType
- relationship typeconceptName
- coded concept namereferencedSOPClassUID
- the SOP Class UIDreferencedSOPInstanceUID
- the SOP Instance UIDobservationDateTime
- Observation DateTime (or null or empty if none)observationUID
- Observation UID (or null or empty if none)- Throws:
DicomException
- if error in DICOM encoding
-
CompositeContentItem
protected CompositeContentItem(ContentItem parent, String valueType, String relationshipType, CodedSequenceItem conceptName, String referencedSOPClassUID, String referencedSOPInstanceUID) throws DicomException - Parameters:
parent
- parent content item to add tovalueType
- the value typerelationshipType
- relationship typeconceptName
- coded concept namereferencedSOPClassUID
- the SOP Class UIDreferencedSOPInstanceUID
- the SOP Instance UID- Throws:
DicomException
- if error in DICOM encoding
-
-
Method Details
-
doCommonConstructorStuff
protected void doCommonConstructorStuff(String referencedSOPClassUID, String referencedSOPInstanceUID) throws DicomException - Parameters:
referencedSOPClassUID
- the SOP Class UIDreferencedSOPInstanceUID
- the SOP Instance UID- Throws:
DicomException
- if error in DICOM encoding
-
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
-
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
-
getReferencedSOPClassUID
Description copied from class:ContentItem
Get the Referenced SOP Class UID of this content item, if present and applicable.
- Overrides:
getReferencedSOPClassUID
in classContentItem
- Returns:
- the SOP Class UID
-
getReferencedSOPInstanceUID
Description copied from class:ContentItem
Get the Referenced SOP Instance UID of this content item, if present and applicable.
- Overrides:
getReferencedSOPInstanceUID
in classContentItem
- Returns:
- the SOP Instance UID
-