Package com.pixelmed.dicom
Class ContentItemFactory.TextContentItem
- java.lang.Object
-
- com.pixelmed.dicom.ContentItem
-
- com.pixelmed.dicom.ContentItemWithValue
-
- com.pixelmed.dicom.ContentItemFactory.StringContentItem
-
- com.pixelmed.dicom.ContentItemFactory.TextContentItem
-
- All Implemented Interfaces:
javax.swing.tree.TreeNode
- Enclosing class:
- ContentItemFactory
public class ContentItemFactory.TextContentItem extends ContentItemFactory.StringContentItem
-
-
Field Summary
-
Fields inherited from class com.pixelmed.dicom.ContentItemFactory.StringContentItem
stringValue
-
Fields inherited from class com.pixelmed.dicom.ContentItemWithValue
conceptName, referencedContentItemIdentifier, valueType
-
Fields inherited from class com.pixelmed.dicom.ContentItem
observationDateTime, observationUID, relationshipType
-
-
Constructor Summary
Constructors Constructor Description TextContentItem(ContentItem parent, AttributeList list)
TextContentItem(ContentItem parent, java.lang.String relationshipType, CodedSequenceItem conceptName, java.lang.String textValue)
TextContentItem(ContentItem parent, java.lang.String relationshipType, CodedSequenceItem conceptName, java.lang.String textValue, java.lang.String observationDateTime, java.lang.String observationUID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setConceptValue(java.lang.String textValue)
-
Methods inherited from class com.pixelmed.dicom.ContentItemFactory.StringContentItem
getConceptValue, setConceptValue, toString
-
Methods inherited from class com.pixelmed.dicom.ContentItemWithValue
contentItemNameMatchesCodeValueAndCodingSchemeDesignator, getConceptName, getConceptNameAndValue, getConceptNameCodeMeaning, getConceptNameCodeValue, getConceptNameCodingSchemeDesignator, getValueType
-
Methods inherited from class com.pixelmed.dicom.ContentItem
addChild, addSibling, children, contentItemNameMatchesCodeValueAndCodingSchemeDesignator, getAllowsChildren, getAttributeList, getChildAt, getChildCount, getGraphicData, getGraphicType, getIndex, getNamedChild, getNamedChild, getObservationDateTime, getObservationUID, getParent, getParentAsContentItem, getPositionInTreeToUseAsReferencedContentItemIdentifier, getReferencedContentItemIdentifier, getReferencedContentItemIdentifierArray, getReferencedSOPClassUID, getReferencedSOPInstanceUID, getRelationshipType, getSingleStringValueOrNull, getSingleStringValueOrNullOfNamedChild, getSingleStringValueOrNullOfNamedChild, isLeaf
-
-
-
-
Constructor Detail
-
TextContentItem
public TextContentItem(ContentItem parent, AttributeList list)
- Parameters:
parent
- parent content item to add tolist
- the list of attributes for this content item
-
TextContentItem
public TextContentItem(ContentItem parent, java.lang.String relationshipType, CodedSequenceItem conceptName, java.lang.String textValue, java.lang.String observationDateTime, java.lang.String observationUID) throws DicomException
- Parameters:
parent
- parent content item to add torelationshipType
- relationship typeconceptName
- coded concept nametextValue
- text valueobservationDateTime
- Observation DateTime (or null or empty if none)observationUID
- Observation UID (or null or empty if none)- Throws:
DicomException
- if error in DICOM encoding
-
TextContentItem
public TextContentItem(ContentItem parent, java.lang.String relationshipType, CodedSequenceItem conceptName, java.lang.String textValue) throws DicomException
- Parameters:
parent
- parent content item to add torelationshipType
- relationship typeconceptName
- coded concept nametextValue
- text value- Throws:
DicomException
- if error in DICOM encoding
-
-
Method Detail
-
setConceptValue
public void setConceptValue(java.lang.String textValue) throws DicomException
- Parameters:
textValue
- if null, removes the value- Throws:
DicomException
- if error in DICOM encoding
-
-