Interface DisplaySetsSequence.Holder

All Superinterfaces:
AttributesWrapper
All Known Subinterfaces:
HangingProtocolDisplayModule
All Known Implementing Classes:
HangingProtocolIOD
Enclosing class:
DisplaySetsSequence

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

    • wrap

      static DisplaySetsSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - An attributes object containing the Display Sets Sequence (see DisplaySetsSequence)
      Returns:
      A wrapper object implementing the DisplaySetsSequence.Holder interface.
    • getDisplaySetsSequence

      default DisplaySetsSequence getDisplaySetsSequence()
      Returns:
      the Display Sets Sequence (see DisplaySetsSequence)
    • newDisplaySetsSequence

      default DisplaySetsSequence newDisplaySetsSequence(int initialCapacity)
      Adds a new Display Sets Sequence. (see DisplaySetsSequence)
      Parameters:
      initialCapacity - the initial capacity for the new Display Sets Sequence
    • ensureDisplaySetsSequence

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

      default DisplaySetsSequence ensureDisplaySetsSequence()
      Adds a new Display Sets Sequence (see DisplaySetsSequence) with initial capacity 1 (see ensureDisplaySetsSequence(int)) if it does not already exist.
      Returns:
      Either the already existing Display Sets Sequence (see DisplaySetsSequence) or a new one with capacity 1.
    • containsDisplaySetsSequence

      default boolean containsDisplaySetsSequence()
      Returns:
      Whether it contains the Display Sets Sequence (see DisplaySetsSequence)
    • removeDisplaySetsSequence

      default void removeDisplaySetsSequence()
      Removes the Display Sets Sequence (see DisplaySetsSequence