Interface SourceSequence.Holder

All Superinterfaces:
AttributesWrapper
All Known Subinterfaces:
RTBrachyApplicationSetupsModule
All Known Implementing Classes:
RTPlanIOD
Enclosing class:
SourceSequence

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

    • wrap

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

      default SourceSequence getSourceSequence()
      Returns:
      the Source Sequence (see SourceSequence)
    • newSourceSequence

      default SourceSequence newSourceSequence(int initialCapacity)
      Adds a new Source Sequence. (see SourceSequence)
      Parameters:
      initialCapacity - the initial capacity for the new Source Sequence
    • ensureSourceSequence

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

      default SourceSequence ensureSourceSequence()
      Adds a new Source Sequence (see SourceSequence) with initial capacity 1 (see ensureSourceSequence(int)) if it does not already exist.
      Returns:
      Either the already existing Source Sequence (see SourceSequence) or a new one with capacity 1.
    • containsSourceSequence

      default boolean containsSourceSequence()
      Returns:
      Whether it contains the Source Sequence (see SourceSequence)
    • removeSourceSequence

      default void removeSourceSequence()
      Removes the Source Sequence (see SourceSequence