public class ContentItemFactory.SpatialCoordinatesContentItem extends ContentItemWithValue
Modifier and Type | Field and Description |
---|---|
protected float[] |
graphicData |
protected java.lang.String |
graphicType |
conceptName, referencedContentItemIdentifier, valueType
observationDateTime, observationUID, relationshipType
Constructor and Description |
---|
SpatialCoordinatesContentItem(ContentItem parent,
AttributeList list) |
SpatialCoordinatesContentItem(ContentItem parent,
java.lang.String relationshipType,
CodedSequenceItem conceptName,
java.lang.String graphicType,
float[] graphicData) |
SpatialCoordinatesContentItem(ContentItem parent,
java.lang.String relationshipType,
CodedSequenceItem conceptName,
java.lang.String graphicType,
float[] graphicData,
java.lang.String observationDateTime,
java.lang.String observationUID) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getConceptValue()
Get a string representation of the value of the concept.
|
float[] |
getGraphicData()
Get the Graphic Data of this content item, if present and applicable.
|
java.lang.String |
getGraphicType()
Get the Graphic Type of this content item, if present and applicable.
|
java.lang.String |
toString()
Get a human-readable string representation of the content item.
|
contentItemNameMatchesCodeValueAndCodingSchemeDesignator, getConceptName, getConceptNameAndValue, getConceptNameCodeMeaning, getConceptNameCodeValue, getConceptNameCodingSchemeDesignator, getValueType
addChild, addSibling, children, contentItemNameMatchesCodeValueAndCodingSchemeDesignator, getAllowsChildren, getAttributeList, getChildAt, getChildCount, getIndex, getNamedChild, getNamedChild, getObservationDateTime, getObservationUID, getParent, getParentAsContentItem, getPositionInTreeToUseAsReferencedContentItemIdentifier, getReferencedContentItemIdentifier, getReferencedContentItemIdentifierArray, getReferencedSOPClassUID, getReferencedSOPInstanceUID, getRelationshipType, getSingleStringValueOrNull, getSingleStringValueOrNullOfNamedChild, getSingleStringValueOrNullOfNamedChild, isLeaf
protected float[] graphicData
protected java.lang.String graphicType
public SpatialCoordinatesContentItem(ContentItem parent, AttributeList list)
parent
- parent content item to add tolist
- the list of attributes for this content itempublic SpatialCoordinatesContentItem(ContentItem parent, java.lang.String relationshipType, CodedSequenceItem conceptName, java.lang.String graphicType, float[] graphicData) throws DicomException
parent
- parent content item to add torelationshipType
- relationship typeconceptName
- coded concept namegraphicType
- graphic typegraphicData
- graphic dataDicomException
- if error in DICOM encodingpublic SpatialCoordinatesContentItem(ContentItem parent, java.lang.String relationshipType, CodedSequenceItem conceptName, java.lang.String graphicType, float[] graphicData, java.lang.String observationDateTime, java.lang.String observationUID) throws DicomException
parent
- parent content item to add torelationshipType
- relationship typeconceptName
- coded concept namegraphicType
- graphic typegraphicData
- graphic dataobservationDateTime
- Observation DateTime (or null or empty if none)observationUID
- Observation UID (or null or empty if none)DicomException
- if error in DICOM encodingpublic java.lang.String getConceptValue()
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.
getConceptValue
in class ContentItemWithValue
public float[] getGraphicData()
ContentItem
Get the Graphic Data of this content item, if present and applicable.
getGraphicData
in class ContentItem
public java.lang.String getGraphicType()
ContentItem
Get the Graphic Type of this content item, if present and applicable.
getGraphicType
in class ContentItem
public java.lang.String toString()
ContentItemWithValue
Get a human-readable string representation of the content item.
toString
in class ContentItemWithValue