|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pixelmed.dicom.CodedSequenceItem
public class CodedSequenceItem
A class to encapsulate the attributes contained within a Sequence Item that represents a Coded Sequence item.
| Field Summary | |
|---|---|
protected AttributeList |
list
|
| Constructor Summary | |
|---|---|
CodedSequenceItem(AttributeList l)
Construct a CodedSequenceItem from a list of attributes. |
|
CodedSequenceItem(String codeValue,
String codingSchemeDesignator,
String codeMeaning)
Construct a CodedSequenceItem from string values for code value, scheme and meaning. |
|
CodedSequenceItem(String codeValue,
String codingSchemeDesignator,
String codingSchemeVersion,
String codeMeaning)
Construct a CodedSequenceItem from string values for code value, scheme, version and meaning. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
static CodedSequenceItem[] |
getArrayOfCodedSequenceItemsOrNull(Attribute a)
Extract the items of a coded sequence attribute. |
static CodedSequenceItem[] |
getArrayOfCodedSequenceItemsOrNull(AttributeList list,
AttributeTag tag)
Extract the items of a coded sequence attribute contained within a list of attributes. |
AttributeList |
getAttributeList()
Get the list of attributes in the CodedSequenceItem. |
String |
getCodeMeaning()
Get the code meaning. |
String |
getCodeValue()
Get the code value. |
String |
getCodingSchemeDesignator()
Get the coding scheme designator. |
String |
getCodingSchemeVersion()
Get the coding scheme version. |
static CodedSequenceItem |
getSingleCodedSequenceItemOrNull(Attribute a)
Extract the first (hopefully only) item of a coded sequence attribute. |
static CodedSequenceItem |
getSingleCodedSequenceItemOrNull(AttributeList list,
AttributeTag tag)
Extract the first (hopefully only) item of a coded sequence attribute contained within a list of attributes. |
int |
hashCode()
|
String |
toString()
Get a String representation of the contents of the CodedSequenceItem. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected AttributeList list
| Constructor Detail |
|---|
public CodedSequenceItem(AttributeList l)
Construct a CodedSequenceItem from a list of attributes.
l - the list of attributes to include in the item
public CodedSequenceItem(String codeValue,
String codingSchemeDesignator,
String codeMeaning)
throws DicomException
Construct a CodedSequenceItem from string values for code value, scheme and meaning.
codeValue - codingSchemeDesignator - codeMeaning -
DicomException
public CodedSequenceItem(String codeValue,
String codingSchemeDesignator,
String codingSchemeVersion,
String codeMeaning)
throws DicomException
Construct a CodedSequenceItem from string values for code value, scheme, version and meaning.
codeValue - codingSchemeDesignator - codingSchemeVersion - codeMeaning -
DicomException| Method Detail |
|---|
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic AttributeList getAttributeList()
Get the list of attributes in the CodedSequenceItem.
CodedSequenceItempublic String getCodeValue()
Get the code value.
public String getCodingSchemeDesignator()
Get the coding scheme designator.
public String getCodingSchemeVersion()
Get the coding scheme version.
public String getCodeMeaning()
Get the code meaning.
public String toString()
Get a String representation of the contents of the CodedSequenceItem.
toString in class Object
public static CodedSequenceItem getSingleCodedSequenceItemOrNull(AttributeList list,
AttributeTag tag)
Extract the first (hopefully only) item of a coded sequence attribute contained within a list of attributes.
list - the list in which to look for the Sequence attributetag - the tag of the Sequence attribute to extract
public static CodedSequenceItem getSingleCodedSequenceItemOrNull(Attribute a)
Extract the first (hopefully only) item of a coded sequence attribute.
a - the attribute
public static CodedSequenceItem[] getArrayOfCodedSequenceItemsOrNull(AttributeList list,
AttributeTag tag)
Extract the items of a coded sequence attribute contained within a list of attributes.
list - the list in which to look for the Sequence attributetag - the tag of the Sequence attribute to extract
public static CodedSequenceItem[] getArrayOfCodedSequenceItemsOrNull(Attribute a)
Extract the items of a coded sequence attribute.
a - the attribute
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||