Package com.pixelmed.dicom
Class ContentItemFactory.ImageContentItem
java.lang.Object
com.pixelmed.dicom.ContentItem
com.pixelmed.dicom.ContentItemWithValue
com.pixelmed.dicom.ContentItemFactory.CompositeContentItem
com.pixelmed.dicom.ContentItemFactory.ImageContentItem
- All Implemented Interfaces:
TreeNode
- Enclosing class:
- ContentItemFactory
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected String
protected String
protected String
protected int
protected int
Fields inherited from class com.pixelmed.dicom.ContentItemFactory.CompositeContentItem
referencedSOPClassUID, referencedSOPInstanceUID, referencedSOPSequenceItemAttributeList
Fields inherited from class com.pixelmed.dicom.ContentItemWithValue
conceptName, referencedContentItemIdentifier, valueType
Fields inherited from class com.pixelmed.dicom.ContentItem
observationDateTime, observationUID, relationshipType
-
Constructor Summary
ConstructorsConstructorDescriptionImageContentItem
(ContentItem parent, AttributeList list) ImageContentItem
(ContentItem parent, String relationshipType, CodedSequenceItem conceptName, String referencedSOPClassUID, String referencedSOPInstanceUID, int referencedFrameNumber, int referencedSegmentNumber, String presentationStateSOPClassUID, String presentationStateSOPInstanceUID, String realWorldValueMappingSOPClassUID, String realWorldValueMappingSOPInstanceUID) ImageContentItem
(ContentItem parent, String relationshipType, CodedSequenceItem conceptName, String referencedSOPClassUID, String referencedSOPInstanceUID, int referencedFrameNumber, int referencedSegmentNumber, String presentationStateSOPClassUID, String presentationStateSOPInstanceUID, String realWorldValueMappingSOPClassUID, String realWorldValueMappingSOPInstanceUID, String observationDateTime, String observationUID) -
Method Summary
Modifier and TypeMethodDescriptionint
int
toString()
Get a human-readable string representation of the content item.Methods inherited from class com.pixelmed.dicom.ContentItemFactory.CompositeContentItem
doCommonConstructorStuff, getConceptValue, getReferencedSOPClassUID, getReferencedSOPInstanceUID
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
-
referencedFrameNumber
protected int referencedFrameNumber -
referencedSegmentNumber
protected int referencedSegmentNumber -
presentationStateSOPClassUID
-
presentationStateSOPInstanceUID
-
realWorldValueMappingSOPClassUID
-
realWorldValueMappingSOPInstanceUID
-
-
Constructor Details
-
ImageContentItem
- Parameters:
parent
- parent content item to add tolist
- the list of attributes for this content item
-
ImageContentItem
public ImageContentItem(ContentItem parent, String relationshipType, CodedSequenceItem conceptName, String referencedSOPClassUID, String referencedSOPInstanceUID, int referencedFrameNumber, int referencedSegmentNumber, String presentationStateSOPClassUID, String presentationStateSOPInstanceUID, String realWorldValueMappingSOPClassUID, String realWorldValueMappingSOPInstanceUID, 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 UIDreferencedFrameNumber
- if < 1, not addedreferencedSegmentNumber
- if < 1, not addedpresentationStateSOPClassUID
- the SOP Class UID of the presentation state (or null or empty if none)presentationStateSOPInstanceUID
- the SOP Instance UID of the presentation state (or null or empty if none)realWorldValueMappingSOPClassUID
- the SOP Class UID of the RWV Map (or null or empty if none)realWorldValueMappingSOPInstanceUID
- the SOP Instance UID of the RWV Map (or null or empty if none)observationDateTime
- Observation DateTime (or null or empty if none)observationUID
- Observation UID (or null or empty if none)- Throws:
DicomException
- if error in DICOM encoding
-
ImageContentItem
public ImageContentItem(ContentItem parent, String relationshipType, CodedSequenceItem conceptName, String referencedSOPClassUID, String referencedSOPInstanceUID, int referencedFrameNumber, int referencedSegmentNumber, String presentationStateSOPClassUID, String presentationStateSOPInstanceUID, String realWorldValueMappingSOPClassUID, String realWorldValueMappingSOPInstanceUID) throws DicomException - Parameters:
parent
- parent content item to add torelationshipType
- relationship typeconceptName
- coded concept namereferencedSOPClassUID
- the SOP Class UIDreferencedSOPInstanceUID
- the SOP Instance UIDreferencedFrameNumber
- if < 1, not addedreferencedSegmentNumber
- if < 1, not addedpresentationStateSOPClassUID
- the SOP Class UID of the presentation state (or null or empty if none)presentationStateSOPInstanceUID
- the SOP Instance UID of the presentation state (or null or empty if none)realWorldValueMappingSOPClassUID
- the SOP Class UID of the RWV Map (or null or empty if none)realWorldValueMappingSOPInstanceUID
- the SOP Instance UID of the RWV Map (or null or empty if none)- Throws:
DicomException
- if error in DICOM encoding
-
-
Method Details
-
toString
Description copied from class:ContentItemWithValue
Get a human-readable string representation of the content item.
- Overrides:
toString
in classContentItemFactory.CompositeContentItem
- Returns:
- the string representation of the content item
-
getReferencedFrameNumber
public int getReferencedFrameNumber()- Returns:
- the frame number, or zero if none
-
getReferencedSegmentNumber
public int getReferencedSegmentNumber()- Returns:
- the segment number, or zero if none
-
getPresentationStateSOPClassUID
- Returns:
- the SOP Class UID of the presention state, if any
-
getPresentationStateSOPInstanceUID
- Returns:
- the SOP Instance UID of the presention state, if any
-
getRealWorldValueMappingSOPClassUID
- Returns:
- the SOP Class UID of the RWV Map, if any
-
getRealWorldValueMappingSOPInstanceUID
- Returns:
- the SOP Instance UID of the RWV Map, if any
-