com.pixelmed.dicom
Class ContentItemFactory.CodeContentItem
java.lang.Object
com.pixelmed.dicom.ContentItem
com.pixelmed.dicom.ContentItemFactory.CodeContentItem
- All Implemented Interfaces:
- TreeNode
- Enclosing class:
- ContentItemFactory
public class ContentItemFactory.CodeContentItem
- extends ContentItem
| Methods inherited from class com.pixelmed.dicom.ContentItem |
addChild, addSibling, children, getAllowsChildren, getAttributeList, getChildAt, getChildCount, getConceptName, getConceptNameAndValue, getConceptNameCodeMeaning, getConceptNameCodeValue, getConceptNameCodingSchemeDesignator, getGraphicData, getGraphicType, getIndex, getNamedChild, getParent, getParentAsContentItem, getReferencedContentItemIdentifier, getReferencedContentItemIdentifierArray, getReferencedSOPClassUID, getReferencedSOPInstanceUID, getRelationshipType, getValueType, isLeaf |
conceptCode
protected CodedSequenceItem conceptCode
ContentItemFactory.CodeContentItem
public ContentItemFactory.CodeContentItem(ContentItem parent,
AttributeList list)
- Parameters:
parent - list -
ContentItemFactory.CodeContentItem
public ContentItemFactory.CodeContentItem(ContentItem parent,
String relationshipType,
CodedSequenceItem conceptName,
CodedSequenceItem conceptCode)
throws DicomException
- Parameters:
parent - relationshipType - conceptName - conceptCode -
- Throws:
DicomException
getConceptValue
public String getConceptValue()
- Description copied from class:
ContentItem
Get a string representation of the value of the concept.
The exact form of the returned string is specific to the type of ContentItem.
- Specified by:
getConceptValue in class ContentItem
- Returns:
- a String representation of the name and value, or an empty string
toString
public String toString()
- Description copied from class:
ContentItem
Get a human-readable string representation of the content item.
- Overrides:
toString in class ContentItem
- Returns:
- the string representation of the content item
getConceptCode
public CodedSequenceItem getConceptCode()