public class ContentItemFactory.SpatialCoordinatesContentItem extends ContentItemWithValue
Modifier and Type | Field and Description |
---|---|
protected float[] |
graphicData |
protected java.lang.String |
graphicType |
conceptName, referencedContentItemIdentifier, valueType
relationshipType
Constructor and Description |
---|
SpatialCoordinatesContentItem(ContentItem parent,
AttributeList list) |
SpatialCoordinatesContentItem(ContentItem parent,
java.lang.String relationshipType,
CodedSequenceItem conceptName,
java.lang.String graphicType,
float[] graphicData) |
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, getParent, getParentAsContentItem, getPositionInTreeToUseAsReferencedContentItemIdentifier, getReferencedContentItemIdentifier, getReferencedContentItemIdentifierArray, getReferencedSOPClassUID, getReferencedSOPInstanceUID, getRelationshipType, getSingleStringValueOrNull, getSingleStringValueOrNullOfNamedChild, getSingleStringValueOrNullOfNamedChild, isLeaf
protected java.lang.String graphicType
protected float[] graphicData
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 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 java.lang.String toString()
ContentItemWithValue
Get a human-readable string representation of the content item.
toString
in class ContentItemWithValue
public java.lang.String getGraphicType()
ContentItem
Get the Graphic Type of this content item, if present and applicable.
getGraphicType
in class ContentItem
public float[] getGraphicData()
ContentItem
Get the Graphic Data of this content item, if present and applicable.
getGraphicData
in class ContentItem