|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dicom4j.data.elements.support.DataElement
org.dicom4j.data.elements.support.StringElement
org.dicom4j.data.elements.UniqueIdentifier
public class UniqueIdentifier
A concrete class specializing
Attribute for Unique Identifier
(UI) attributes.
Though an instance of this class may be created using its constructors, there
is also a factory class,
AttributeFactory.
DataElement,
DataElementFactory| Constructor Summary | |
|---|---|
UniqueIdentifier(DicomTag t)
Construct an (empty) attribute. |
|
UniqueIdentifier(DicomTag t,
long vl,
DicomInputStream i)
Read an attribute from an input stream. |
|
UniqueIdentifier(DicomTag t,
String aValue)
|
|
| Method Summary | |
|---|---|
ValueRepresentation |
getValueRepresentation()
Return the ValueRepresentation of this element |
byte[] |
getVR()
Get the value representation of this attribute (UI). |
void |
setValue(String aValue)
|
| Methods inherited from class org.dicom4j.data.elements.support.StringElement |
|---|
addValue, clear, getPaddedVL, getStringValues, getValueLength, getValueMultiplicity, read, toString, write |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UniqueIdentifier(DicomTag t)
Construct an (empty) attribute.
t - the tag of the attribute
public UniqueIdentifier(DicomTag t,
long vl,
DicomInputStream i)
throws IOException,
DicomException
Read an attribute from an input stream.
t - the tag of the attributevl - the value length of the attributei - the input stream
IOException
DicomException
public UniqueIdentifier(DicomTag t,
String aValue)
| Method Detail |
|---|
public ValueRepresentation getValueRepresentation()
DataElementValueRepresentation of this element
getValueRepresentation in class DataElementValueRepresentationpublic byte[] getVR()
Get the value representation of this attribute (UI).
public void setValue(String aValue)
setValue in class StringElement
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||