Interface ExposureSequence.Holder

All Superinterfaces:
AttributesWrapper
All Known Subinterfaces:
RTImageModule
All Known Implementing Classes:
RTImageIOD
Enclosing class:
ExposureSequence

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

    • wrap

      static ExposureSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - An attributes object containing the Exposure Sequence (see ExposureSequence)
      Returns:
      A wrapper object implementing the ExposureSequence.Holder interface.
    • getExposureSequence

      default ExposureSequence getExposureSequence()
      Returns:
      the Exposure Sequence (see ExposureSequence)
    • newExposureSequence

      default ExposureSequence newExposureSequence(int initialCapacity)
      Adds a new Exposure Sequence. (see ExposureSequence)
      Parameters:
      initialCapacity - the initial capacity for the new Exposure Sequence
    • ensureExposureSequence

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

      default ExposureSequence ensureExposureSequence()
      Adds a new Exposure Sequence (see ExposureSequence) with initial capacity 1 (see ensureExposureSequence(int)) if it does not already exist.
      Returns:
      Either the already existing Exposure Sequence (see ExposureSequence) or a new one with capacity 1.
    • containsExposureSequence

      default boolean containsExposureSequence()
      Returns:
      Whether it contains the Exposure Sequence (see ExposureSequence)
    • removeExposureSequence

      default void removeExposureSequence()
      Removes the Exposure Sequence (see ExposureSequence