Interface DICOMStorageSequence.Holder

All Superinterfaces:
AttributesWrapper
All Known Implementing Classes:
OutputDestinationSequence.Item, OutputInformationSequence.Item
Enclosing class:
DICOMStorageSequence

public static interface DICOMStorageSequence.Holder extends AttributesWrapper
A class implementing this interface can hold attributes which contain the DICOM tag "DICOM Storage Sequence" (see DICOMStorageSequence)
  • Method Details

    • wrap

      static DICOMStorageSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - An attributes object containing the DICOM Storage Sequence (see DICOMStorageSequence)
      Returns:
      A wrapper object implementing the DICOMStorageSequence.Holder interface.
    • getDICOMStorageSequence

      default DICOMStorageSequence getDICOMStorageSequence()
      Returns:
      the DICOM Storage Sequence (see DICOMStorageSequence)
    • newDICOMStorageSequence

      default DICOMStorageSequence newDICOMStorageSequence(int initialCapacity)
      Adds a new DICOM Storage Sequence. (see DICOMStorageSequence)
      Parameters:
      initialCapacity - the initial capacity for the new DICOM Storage Sequence
    • ensureDICOMStorageSequence

      default DICOMStorageSequence ensureDICOMStorageSequence(int initialCapacity)
      Adds a new DICOM Storage Sequence (see DICOMStorageSequence) if it does not already exist. (see Attributes.ensureSequence(int, int)
      Parameters:
      initialCapacity - The initial capacity (see ArrayList(int)) if a new DICOM Storage Sequence is created.
      Returns:
      Either the already existing DICOM Storage Sequence (see DICOMStorageSequence) or a new one with capacity initialCapacity.
    • ensureDICOMStorageSequence

      default DICOMStorageSequence ensureDICOMStorageSequence()
      Adds a new DICOM Storage Sequence (see DICOMStorageSequence) with initial capacity 1 (see ensureDICOMStorageSequence(int)) if it does not already exist.
      Returns:
      Either the already existing DICOM Storage Sequence (see DICOMStorageSequence) or a new one with capacity 1.
    • containsDICOMStorageSequence

      default boolean containsDICOMStorageSequence()
      Returns:
      Whether it contains the DICOM Storage Sequence (see DICOMStorageSequence)
    • removeDICOMStorageSequence

      default void removeDICOMStorageSequence()
      Removes the DICOM Storage Sequence (see DICOMStorageSequence