public class DirectoryInformationModule extends Module
| Modifier and Type | Field and Description |
|---|---|
static ISingleCollection<ITag> |
objSingleCollection
The object of single collection.
|
| Constructor and Description |
|---|
DirectoryInformationModule(IDataSet objIDataSet)
Instantiates a new Directory Information Module.
|
| Modifier and Type | Method and Description |
|---|---|
DirectoryRecordSequence |
getDirectoryRecordSequence()
Retrieves pre-initialized object of Directory Record Sequence.If the module contains the sequence object
it returns the same otherwise it creates the sequence adds to the module with proper initialization
and then returns the object of sequence
|
short |
getFileSetConsistencyFlag()
Retrieves File Set Consistency Flag.
|
int |
getOffsetOfFirstDirectoryRecordOfRootDirectoryEntity()
Retrieves Offset of the first byte (of the Item Data Element) of the first
Directory Record of the Root Directory Entity.
|
int |
getOffsetOfLastDirectoryRecordOfRootDirectoryEntity()
Retrieves Offset of the first byte (of the Item Data Element) of the last
Directory Record of the Root Directory Entity.
|
ISingleCollection<ITag> |
getVectorOfKeys()
This method returns the custom collection containing the list of DataElements belonging to the CT
Image Module specified by DICOM Standard.
|
void |
setFileSetConsistencyFlag(EnumFileSetConsistencyFlag enumFileSetConsistencyFlag)
This Flag indicates that an inconsistency within the Directory or
between the Directory and the Files of the File-set may exist.
|
void |
setOffsetOfFirstDirectoryRecordOfRootDirectoryEntity(int iOffsetOfFirstDirectoryRecordOfRootDirectory)
Sets Offset of the first byte (of the Item Data Element) of the first
Directory Record of the Root Directory Entity.
|
void |
setOffsetOfLastDirectoryRecordOfRootDirectoryEntity(int iOffsetOfLastDirectoryRecordOfRootDirectory)
Sets Offset of the Last Directory Record of the Root Directory Entity
Offset of the first byte (of the Item Data Element) of the last Directory Record of the Root Directory Entity.
|
boolean |
validateModule()
This method validates each Attribute in the Module according to the Type
of the Attribute.Attributes are of 5 types.
|
add, dumpDICOMInfo, getDictionaryReader, getTransferSyntax, isPresent, isPresent, iterator, removepublic static ISingleCollection<ITag> objSingleCollection
public DirectoryInformationModule(IDataSet objIDataSet)
objIDataSet - Object of Data Set.public void setOffsetOfFirstDirectoryRecordOfRootDirectoryEntity(int iOffsetOfFirstDirectoryRecordOfRootDirectory)
iOffsetOfFirstDirectoryRecordOfRootDirectory - int value of Offset of the First Directory Record of the Root Directory.public int getOffsetOfFirstDirectoryRecordOfRootDirectoryEntity()
public void setOffsetOfLastDirectoryRecordOfRootDirectoryEntity(int iOffsetOfLastDirectoryRecordOfRootDirectory)
iOffsetOfLastDirectoryRecordOfRootDirectory - int value of Offset of the Last Directory Record of the Root Directory.public int getOffsetOfLastDirectoryRecordOfRootDirectoryEntity()
public void setFileSetConsistencyFlag(EnumFileSetConsistencyFlag enumFileSetConsistencyFlag)
shFileSetConsistencyFlag - short value of File Set Consistency Flag.public short getFileSetConsistencyFlag()
public DirectoryRecordSequence getDirectoryRecordSequence()
public boolean validateModule()
throws InvalidModuleException
validateModule in interface IModulevalidateModule in class ModuleInvalidModuleException - - If validation of Module failspublic ISingleCollection<ITag> getVectorOfKeys()
getVectorOfKeys in class Module