Interface AddOtherSequence.Holder

All Superinterfaces:
AttributesWrapper
All Known Implementing Classes:
SubjectiveRefractionLeftEyeSequence.Item, SubjectiveRefractionRightEyeSequence.Item
Enclosing class:
AddOtherSequence

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

    • wrap

      static AddOtherSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - An attributes object containing the Add Other Sequence (see AddOtherSequence)
      Returns:
      A wrapper object implementing the AddOtherSequence.Holder interface.
    • getAddOtherSequence

      default AddOtherSequence getAddOtherSequence()
      Returns:
      the Add Other Sequence (see AddOtherSequence)
    • newAddOtherSequence

      default AddOtherSequence newAddOtherSequence(int initialCapacity)
      Adds a new Add Other Sequence. (see AddOtherSequence)
      Parameters:
      initialCapacity - the initial capacity for the new Add Other Sequence
    • ensureAddOtherSequence

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

      default AddOtherSequence ensureAddOtherSequence()
      Adds a new Add Other Sequence (see AddOtherSequence) with initial capacity 1 (see ensureAddOtherSequence(int)) if it does not already exist.
      Returns:
      Either the already existing Add Other Sequence (see AddOtherSequence) or a new one with capacity 1.
    • containsAddOtherSequence

      default boolean containsAddOtherSequence()
      Returns:
      Whether it contains the Add Other Sequence (see AddOtherSequence)
    • removeAddOtherSequence

      default void removeAddOtherSequence()
      Removes the Add Other Sequence (see AddOtherSequence