Trispark JDT
2.50.13

com.archimed.dicom.dir
Interface DicomDirBuilder


public interface DicomDirBuilder

Factory class for creating DicomDir, DirectoryRecord and FilesetIdentification object.


Method Summary
 DicomDir newDicomDir()
          creates an empty new DicomDir object
 DirectoryRecord newDirectoryRecord(DirectoryRecordType directoryRecordType)
          creates an empty new DirectoryRecord object with the specified type (status of the 'in-use flag' will be false)
 DirectoryRecord newDirectoryRecord(DirectoryRecordType directoryRecordType, boolean inUse)
          creates an empty new DirectoryRecord object with the specified type and in-use flag
 FilesetIdentification newFilesetIdentification()
          creates an empty new FilesetIdentification object
 DirectoryRecord newJITDirectoryRecord(DirectoryRecordType directoryRecordType)
          creates an empty new DirectoryRecord object with the specified type for appending to an existing DICOMDIR on file
 

Method Detail

newDicomDir

DicomDir newDicomDir()
creates an empty new DicomDir object

Returns:
an empty DicomDir

newDirectoryRecord

DirectoryRecord newDirectoryRecord(DirectoryRecordType directoryRecordType)
creates an empty new DirectoryRecord object with the specified type (status of the 'in-use flag' will be false)

Parameters:
directoryRecordType - the type of the created DirectoryRecord
Returns:
an empty DirectoryRecord
See Also:
DicomDir.setRootDirectoryRecord(DirectoryRecord), DirectoryRecord.setChild(DirectoryRecord), DirectoryRecord.setNext(DirectoryRecord)

newDirectoryRecord

DirectoryRecord newDirectoryRecord(DirectoryRecordType directoryRecordType,
                                   boolean inUse)
creates an empty new DirectoryRecord object with the specified type and in-use flag

Parameters:
directoryRecordType - the type of the created DirectoryRecord
inUse - status of the Record in-use flag (0004,1410)
Returns:
an empty DirectoryRecord
See Also:
DicomDir.setRootDirectoryRecord(DirectoryRecord), DirectoryRecord.setChild(DirectoryRecord), DirectoryRecord.setNext(DirectoryRecord)

newFilesetIdentification

FilesetIdentification newFilesetIdentification()
creates an empty new FilesetIdentification object

Returns:
an empty FilesetIdentification
See Also:
DicomDir.setFilesetIdentification(FilesetIdentification), DicomDir.getFilesetIdentification()

newJITDirectoryRecord

DirectoryRecord newJITDirectoryRecord(DirectoryRecordType directoryRecordType)
creates an empty new DirectoryRecord object with the specified type for appending to an existing DICOMDIR on file

Parameters:
directoryRecordType - the type of the created DirectoryRecord
Returns:
an empty DirectoryRecord

Trispark JDT
2.50.13

Copyright © 1999-2008 Trispark. All Rights Reserved.