public class UL extends DicomValue
| Modifier and Type | Method and Description |
|---|---|
void |
dumpDICOMInfo(IDicomStream objIDicomStream)
Dumps the value of Attribute in redable form.
|
long |
getMaxLength()
Retrieves the max length for UL DataType
|
int |
getValueLength()
Retrieves the actual value length of UL
|
boolean |
read(IDicomStream objIDicomStream,
int iLength)
Reads the UL DataType structure from underlying stream
|
void |
setValue(java.lang.Object objValue)
Sets the value in the DicomValue after performing validation on the value.
|
java.lang.String |
toString()
This function returns the String value of UL Data Type.
|
boolean |
validate()
Validates UL DataType according to the rules specified in the DICOM Standard
|
boolean |
validate(java.lang.Object objToValidate)
Validates UL DataType according to the rules specified in the DICOM Standard
|
int |
write(IDicomStream objIDicomStream)
This function writes the Data Value to the Stream
|
clone, getIVRType, getValue, getValueMultiplicity, setIVRTypepublic long getMaxLength()
public boolean read(IDicomStream objIDicomStream, int iLength) throws InvalidDataTypeException, java.io.IOException
read in interface IDicomValueread in class DicomValueobjIDicomStream - stream from which the DataType is to be writteniLength - length of the DicomValue to be read from the streamInvalidDataTypeException - If data type validation fails.java.io.IOException - If Input/Output operation fails.public int write(IDicomStream objIDicomStream) throws java.io.IOException
write in interface IDicomValuewrite in class DicomValueobjIDicomStream - stream onto which the FD DataType is to serializedjava.io.IOException - If Input/Output operation fails.public boolean validate(java.lang.Object objToValidate)
validate in interface IDicomValuevalidate in class DicomValueobjToValidate - instance of base Object class.public boolean validate()
validate in interface IDicomValuevalidate in class DicomValuepublic int getValueLength()
getValueLength in interface IDicomValuegetValueLength in class DicomValuepublic void setValue(java.lang.Object objValue)
throws InvalidDataTypeException
setValue in interface IDicomValuesetValue in class DicomValueobjValue - value that is to be set into the DicomValueInvalidDataTypeException - If DataType validation fails.public java.lang.String toString()
toString in class java.lang.Objectpublic void dumpDICOMInfo(IDicomStream objIDicomStream) throws java.io.IOException
objIDicomStream - - the Stream on which the Data is to be written.java.io.IOException - - Exception is thrown indicating runtime failure of writing operation.