Interface IonBeamSequence.Holder

All Superinterfaces:
AttributesWrapper
All Known Subinterfaces:
RTIonBeamsModule
All Known Implementing Classes:
RTIonPlanIOD
Enclosing class:
IonBeamSequence

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

    • wrap

      static IonBeamSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - An attributes object containing the Ion Beam Sequence (see IonBeamSequence)
      Returns:
      A wrapper object implementing the IonBeamSequence.Holder interface.
    • getIonBeamSequence

      default IonBeamSequence getIonBeamSequence()
      Returns:
      the Ion Beam Sequence (see IonBeamSequence)
    • newIonBeamSequence

      default IonBeamSequence newIonBeamSequence(int initialCapacity)
      Adds a new Ion Beam Sequence. (see IonBeamSequence)
      Parameters:
      initialCapacity - the initial capacity for the new Ion Beam Sequence
    • ensureIonBeamSequence

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

      default IonBeamSequence ensureIonBeamSequence()
      Adds a new Ion Beam Sequence (see IonBeamSequence) with initial capacity 1 (see ensureIonBeamSequence(int)) if it does not already exist.
      Returns:
      Either the already existing Ion Beam Sequence (see IonBeamSequence) or a new one with capacity 1.
    • containsIonBeamSequence

      default boolean containsIonBeamSequence()
      Returns:
      Whether it contains the Ion Beam Sequence (see IonBeamSequence)
    • removeIonBeamSequence

      default void removeIonBeamSequence()
      Removes the Ion Beam Sequence (see IonBeamSequence