public class ContentItemFactory.CompositeContentItem extends ContentItemWithValue
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
referencedSOPClassUID |
protected java.lang.String |
referencedSOPInstanceUID |
protected AttributeList |
referencedSOPSequenceItemAttributeList |
conceptName, referencedContentItemIdentifier, valueTyperelationshipType| Modifier | Constructor and Description |
|---|---|
|
CompositeContentItem(ContentItem parent,
AttributeList list) |
|
CompositeContentItem(ContentItem parent,
java.lang.String relationshipType,
CodedSequenceItem conceptName,
java.lang.String referencedSOPClassUID,
java.lang.String referencedSOPInstanceUID) |
protected |
CompositeContentItem(ContentItem parent,
java.lang.String valueType,
java.lang.String relationshipType,
CodedSequenceItem conceptName,
java.lang.String referencedSOPClassUID,
java.lang.String referencedSOPInstanceUID) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doCommonConstructorStuff(java.lang.String referencedSOPClassUID,
java.lang.String referencedSOPInstanceUID) |
java.lang.String |
getConceptValue()
Get a string representation of the value of the concept.
|
java.lang.String |
getReferencedSOPClassUID()
Get the Referenced SOP Class UID of this content item, if present and applicable.
|
java.lang.String |
getReferencedSOPInstanceUID()
Get the Referenced SOP Instance UID 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, getValueTypeaddChild, addSibling, children, contentItemNameMatchesCodeValueAndCodingSchemeDesignator, getAllowsChildren, getAttributeList, getChildAt, getChildCount, getGraphicData, getGraphicType, getIndex, getNamedChild, getNamedChild, getParent, getParentAsContentItem, getPositionInTreeToUseAsReferencedContentItemIdentifier, getReferencedContentItemIdentifier, getReferencedContentItemIdentifierArray, getRelationshipType, getSingleStringValueOrNull, getSingleStringValueOrNullOfNamedChild, getSingleStringValueOrNullOfNamedChild, isLeafprotected AttributeList referencedSOPSequenceItemAttributeList
protected java.lang.String referencedSOPClassUID
protected java.lang.String referencedSOPInstanceUID
public CompositeContentItem(ContentItem parent, AttributeList list)
parent - parent content item to add tolist - the list of attributes for this content itempublic CompositeContentItem(ContentItem parent, java.lang.String relationshipType, CodedSequenceItem conceptName, java.lang.String referencedSOPClassUID, java.lang.String referencedSOPInstanceUID) throws DicomException
parent - parent content item to add torelationshipType - relationship typeconceptName - coded concept namereferencedSOPClassUID - the SOP Class UIDreferencedSOPInstanceUID - the SOP Instance UIDDicomException - if error in DICOM encodingprotected CompositeContentItem(ContentItem parent, java.lang.String valueType, java.lang.String relationshipType, CodedSequenceItem conceptName, java.lang.String referencedSOPClassUID, java.lang.String referencedSOPInstanceUID) throws DicomException
parent - parent content item to add tovalueType - the value typerelationshipType - relationship typeconceptName - coded concept namereferencedSOPClassUID - the SOP Class UIDreferencedSOPInstanceUID - the SOP Instance UIDDicomException - if error in DICOM encodingprotected void doCommonConstructorStuff(java.lang.String referencedSOPClassUID,
java.lang.String referencedSOPInstanceUID)
throws DicomException
referencedSOPClassUID - the SOP Class UIDreferencedSOPInstanceUID - the SOP Instance UIDDicomException - if error in DICOM encodingpublic 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 java.lang.String toString()
ContentItemWithValueGet a human-readable string representation of the content item.
toString in class ContentItemWithValuepublic java.lang.String getReferencedSOPClassUID()
ContentItemGet the Referenced SOP Class UID of this content item, if present and applicable.
getReferencedSOPClassUID in class ContentItempublic java.lang.String getReferencedSOPInstanceUID()
ContentItemGet the Referenced SOP Instance UID of this content item, if present and applicable.
getReferencedSOPInstanceUID in class ContentItem