public interface IDicomValue
extends java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Create similar object of this class.
|
void |
dumpDICOMInfo(IDicomStream objIDicomStream)
Dumps the DICOM Data in readable form to the specified stream.
|
int |
getIVRType()
Retrieves the VR type of an element.
|
long |
getMaxLength()
Retrieves the maximum allowed value length.
|
java.lang.Object |
getValue()
Retrieves the value of DicomValue.
|
int |
getValueLength()
Retrieves the value length.
|
int |
getValueMultiplicity()
Retrieves the value multiplicity of the value in DicomValue
|
boolean |
read(IDicomStream objIDicomStream,
int iLength)
Reads the DicomValue from DicomStream.
|
void |
setIVRType(int iVRType)
Sets the VR type of an element.
|
void |
setValue(java.lang.Object objValue)
Sets the value of DicomValue.
|
boolean |
validate()
Validates the DicomValue.
|
boolean |
validate(java.lang.Object objToValidate)
Validates the DicomValue.
|
int |
write(IDicomStream objIDicomStream)
Writes the DicomValue from DicomStream.
|
java.lang.Object getValue()
void setValue(java.lang.Object objValue)
throws InvalidDataTypeException
objValue - instance of object.InvalidDataTypeException - if DataType validation fails.int getIVRType()
void setIVRType(int iVRType)
iVRType - integer value shows VR type.boolean read(IDicomStream objIDicomStream, int iLength) throws InvalidDataTypeException, java.io.IOException
objIDicomStream - instance of DicomStream.iLength - integer value of length.InvalidDataTypeException - if DataType validation fails.java.io.IOException - if Input/Output operation fails.int write(IDicomStream objIDicomStream) throws java.io.IOException
objIDicomStream - instance of DicomStream.java.io.IOException - if Input/Output operation fails.boolean validate(java.lang.Object objToValidate)
throws ValidationException
objToValidate - instance of object.ValidationException - if DataType validation fails.int getValueLength()
long getMaxLength()
int getValueMultiplicity()
boolean validate()
throws ValidationException
ValidationException - if DataType validation fails.java.lang.Object clone()
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.