protected abstract class ContentItemFactory.StringContentItem extends ContentItemWithValue
Modifier and Type | Field and Description |
---|---|
protected String |
stringValue |
conceptName, referencedContentItemIdentifier, valueType
relationshipType
Constructor and Description |
---|
ContentItemFactory.StringContentItem(ContentItem parent,
AttributeList list,
AttributeTag tag) |
ContentItemFactory.StringContentItem(ContentItem parent,
String valueType,
String relationshipType,
CodedSequenceItem conceptName,
AttributeTag tagForValue,
String stringValue) |
Modifier and Type | Method and Description |
---|---|
String |
getConceptValue()
Get a string representation of the value of the concept.
|
void |
setConceptValue(AttributeTag tagForValue,
String stringValue) |
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, getGraphicData, getGraphicType, getIndex, getNamedChild, getNamedChild, getParent, getParentAsContentItem, getReferencedContentItemIdentifier, getReferencedContentItemIdentifierArray, getReferencedSOPClassUID, getReferencedSOPInstanceUID, getRelationshipType, getSingleStringValueOrNull, getSingleStringValueOrNullOfNamedChild, getSingleStringValueOrNullOfNamedChild, isLeaf
protected String stringValue
public ContentItemFactory.StringContentItem(ContentItem parent, AttributeList list, AttributeTag tag)
parent
- list
- tag
- public ContentItemFactory.StringContentItem(ContentItem parent, String valueType, String relationshipType, CodedSequenceItem conceptName, AttributeTag tagForValue, String stringValue) throws DicomException
parent
- valueType
- relationshipType
- conceptName
- tagForValue
- stringValue
- DicomException
public 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 void setConceptValue(AttributeTag tagForValue, String stringValue) throws DicomException
tagForValue
- stringValue
- if null, removes the valueDicomException
public String toString()
ContentItemWithValue
Get a human-readable string representation of the content item.
toString
in class ContentItemWithValue