Class OffsetOfTheNextDirectoryRecord

All Implemented Interfaces:
AttributesWrapper, DataElementWrapper, BytesDataElementWrapper, IntDataElementWrapper, UnsignedLongWrapper

public class OffsetOfTheNextDirectoryRecord extends AbstractDataElementWrapper implements UnsignedLongWrapper
Name: Offset of the Next Directory Record
Keyword: OffsetOfTheNextDirectoryRecord
Tag: (0004,1400)
Value Representation: UL
Value Multiplicity: 1
  • Described in the contexts: as follows:
    Attribute Name: Offset of the Next Directory Record
    Type: 1
    Attribute Description:

    Offset of the first byte (of the Item Data Element) of the next Directory Record of the same Directory Entity. This Offset is an unsigned integer representing a number of bytes starting with the first byte of the File Meta-information. A zero offset shall be used to mean that there is no other Directory Record in this Directory Entity.

    This Offset may be used to keep an inactive Record (0004,1410) chained with the next Directory Record of the same Directory Entity.

    Note

    This offset includes the File Preamble and the DICM Prefix.


  • Field Details

  • Constructor Details

    • OffsetOfTheNextDirectoryRecord

      public OffsetOfTheNextDirectoryRecord(org.dcm4che3.data.Attributes attributes)
      Creates a new Offset of the Next Directory Record object which wraps the provided attributes.
      Parameters:
      attributes - The Attributes object to be wrapped.
    • OffsetOfTheNextDirectoryRecord

      public OffsetOfTheNextDirectoryRecord()
      Creates a new Offset of the Next Directory Record object which wraps a new and empty Attributes object.
  • Method Details

    • copy

      Returns a new Offset of the Next Directory Record which wraps a copy of the Attributes wrapped in this Offset of the Next Directory Record. (see Attributes(Attributes)
      Returns:
      a new Offset of the Next Directory Record which wraps a copy of the Attributes wrapped in this Offset of the Next Directory Record.
    • getPrivateCreator

      public String getPrivateCreator()
      Specified by:
      getPrivateCreator in interface DataElementWrapper
      Returns:
      The DICOM Private Creator of the wrapped DICOM attributes. null if not private
    • getTag

      public int getTag()
      Specified by:
      getTag in interface DataElementWrapper
      Returns:
      The DICOM Tag of the wrapped DICOM attributes.