public interface IDataElement
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 contents of Data Element in readable form to the specified stream.
|
boolean |
equals(java.lang.Object objTempObject)
Check for the equality of two objects.
|
int |
getDataElementLength()
Retrieves the length of DataElement.
|
IDicomValue |
getDicomValue()
Retrieves the value part of the Data Element.
|
ITag |
getTag()
Retrieves the Tag part of the Data Element.
|
ITransferSyntax |
getTransferSyntax()
Retrieves the TransferSyntax set in the DataElement object.
|
java.lang.Object |
getValue()
This function will retrieve the value of dicom data of the Data Element.
|
int |
getValueLength()
Retrieves the length of value for a DataElement.
|
int |
getValueMultiplicity()
Retrieves the value multiplicity of the value in DataElement
|
int |
parse(IDicomStream objIDicomStream)
Parses the Data Element from the given Stream.
|
int |
serialize(IDicomStream objIDicomStream)
Serializes the Data Element from the given Stream
|
void |
setDicomValue(IDicomValue objIDicomValue)
Sets the DicomValue as a value in the DataElement
|
void |
setTag(int iGroupNumber,
int iElementNumber)
Sets the GroupNumber and ElementNumber of the Data Element.
|
void |
setTransferSyntax(ITransferSyntax objITransferSyntax)
Sets the transfer syntax in the DataElement object.
|
void |
setValueMultiplicity(int iVM)
Sets the value multiplicity of the value of DataElement
|
boolean |
validate()
Validates the DataElemnt according to the DICOM Rules
|
int serialize(IDicomStream objIDicomStream) throws InvalidDataTypeException, java.io.IOException
objIDicomStream - Stream on which the DICOM data is availableInvalidDataTypeException - If DataType validation fails.java.io.IOException - If Input/Output operation fails.int parse(IDicomStream objIDicomStream) throws InvalidDataElementException, java.io.IOException
objIDicomStream - Stream on which the DICOM data is available.InvalidDataElementException - If Data Element fails to satisfy Validation Criteria.java.io.IOException - If Input/Output operation fails.int getValueLength()
int getDataElementLength()
int getValueMultiplicity()
void setValueMultiplicity(int iVM)
iVM - value multiplicity of the valuevoid setTag(int iGroupNumber,
int iElementNumber)
iGroupNumber - specifies the Group Number.iElementNumber - specifies the Element Number.ITag getTag()
IDicomValue getDicomValue()
void setDicomValue(IDicomValue objIDicomValue)
objIDicomValue - object of DicomValue representing the value of DataElementvoid setTransferSyntax(ITransferSyntax objITransferSyntax)
objITransferSyntax - instance of Transfer Syntax.ITransferSyntax getTransferSyntax()
boolean validate()
throws InvalidDataElementException
InvalidDataElementException - If Data Element fails to satisfy Validation Criteria.boolean equals(java.lang.Object objTempObject)
equals in class java.lang.ObjectobjTempObject - the object to compare with.java.lang.Object getValue()
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.