protected abstract class ContentItemFactory.StringContentItem extends ContentItemWithValue
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
stringValue |
conceptName, referencedContentItemIdentifier, valueTyperelationshipType| Constructor and Description |
|---|
ContentItemFactory.StringContentItem(ContentItem parent,
AttributeList list,
AttributeTag tag) |
ContentItemFactory.StringContentItem(ContentItem parent,
java.lang.String valueType,
java.lang.String relationshipType,
CodedSequenceItem conceptName,
AttributeTag tagForValue,
java.lang.String stringValue) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getConceptValue()
Get a string representation of the value of the concept.
|
void |
setConceptValue(AttributeTag tagForValue,
java.lang.String stringValue) |
java.lang.String |
toString()
Get a human-readable string representation of the content item.
|
contentItemNameMatchesCodeValueAndCodingSchemeDesignator, getConceptName, getConceptNameAndValue, getConceptNameCodeMeaning, getConceptNameCodeValue, getConceptNameCodingSchemeDesignator, getValueTypeaddChild, addSibling, children, contentItemNameMatchesCodeValueAndCodingSchemeDesignator, getAllowsChildren, getAttributeList, getChildAt, getChildCount, getGraphicData, getGraphicType, getIndex, getNamedChild, getNamedChild, getParent, getParentAsContentItem, getReferencedContentItemIdentifier, getReferencedContentItemIdentifierArray, getReferencedSOPClassUID, getReferencedSOPInstanceUID, getRelationshipType, getSingleStringValueOrNull, getSingleStringValueOrNullOfNamedChild, getSingleStringValueOrNullOfNamedChild, isLeafpublic ContentItemFactory.StringContentItem(ContentItem parent, AttributeList list, AttributeTag tag)
parent - list - tag - public ContentItemFactory.StringContentItem(ContentItem parent, java.lang.String valueType, java.lang.String relationshipType, CodedSequenceItem conceptName, AttributeTag tagForValue, java.lang.String stringValue) throws DicomException
parent - valueType - relationshipType - conceptName - tagForValue - stringValue - DicomExceptionpublic java.lang.String getConceptValue()
ContentItemWithValueGet 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 ContentItemWithValuepublic void setConceptValue(AttributeTag tagForValue, java.lang.String stringValue) throws DicomException
tagForValue - stringValue - if null, removes the valueDicomExceptionpublic java.lang.String toString()
ContentItemWithValueGet a human-readable string representation of the content item.
toString in class ContentItemWithValue