|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pixelmed.dicom.ContentItem
com.pixelmed.dicom.ContentItemWithReference
public class ContentItemWithReference
An abstract class for representing a node in an internal representation of a structured reporting
tree (an instance of StructuredReport).
The constructor is protected. Instances of specific types of content items should normally be created by using
the ContentItemFactory.
ContentItem,
ContentItemFactory,
ContentItemWithValue,
StructuredReport,
StructuredReportBrowser| Field Summary | |
|---|---|
protected String |
referencedContentItemIdentifier
|
| Fields inherited from class com.pixelmed.dicom.ContentItem |
|---|
relationshipType |
| Constructor Summary | |
|---|---|
protected |
ContentItemWithReference(ContentItem p,
AttributeList l)
Construct a content item for a list of attributes, and add it as a child of the specified parent. |
|
ContentItemWithReference(ContentItem p,
String relationshipType,
String referencedContentItemIdentifier)
Construct a content item of a specified type and relationship, creating a new AttributeList, and add it as a child of the specified parent. |
| Method Summary | |
|---|---|
boolean |
contentItemNameMatchesCodeValueAndCodingSchemeDesignator(String cvWanted,
String csdWanted)
Test if the coded concept name of the content item matches the specified code value and coding scheme designator. |
String |
getConceptValue()
Get a string representation of the value of the concept. |
String |
getReferencedContentItemIdentifier()
Get the Referenced Content Item Identifier, if present. |
int[] |
getReferencedContentItemIdentifierArray()
Get the Referenced Content Item Identifier, if present. |
String |
toString()
Get a human-readable string representation of the content item. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String referencedContentItemIdentifier
| Constructor Detail |
|---|
protected ContentItemWithReference(ContentItem p,
AttributeList l)
Construct a content item for a list of attributes, and add it as a child of the specified parent.
The constructor is protected. Instances of specific types of content items should normally be created by using
the ContentItemFactory.
p - the parentl - the list of attributes
public ContentItemWithReference(ContentItem p,
String relationshipType,
String referencedContentItemIdentifier)
throws DicomException
Construct a content item of a specified type and relationship, creating a new AttributeList, and add it as a child of the specified parent.
p - the parentrelationshipType - added only if not null or zero lengthreferencedContentItemIdentifier -
DicomException| Method Detail |
|---|
public String getConceptValue()
Get a string representation of the value of the concept.
Always returns an empty string for a ContentItemWithReference.
getConceptValue in class ContentItempublic String getReferencedContentItemIdentifier()
Get the Referenced Content Item Identifier, if present.
getReferencedContentItemIdentifier in class ContentItempublic int[] getReferencedContentItemIdentifierArray()
Get the Referenced Content Item Identifier, if present.
getReferencedContentItemIdentifierArray in class ContentItempublic String toString()
Get a human-readable string representation of the content item.
toString in class Object
public boolean contentItemNameMatchesCodeValueAndCodingSchemeDesignator(String cvWanted,
String csdWanted)
contentItemNameMatchesCodeValueAndCodingSchemeDesignator in class ContentItemcsdWanted - cvWanted -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||