Interface MREchoSequence.Holder

All Superinterfaces:
AttributesWrapper
All Known Implementing Classes:
MREchoSequence.SimpleHolder
Enclosing class:
MREchoSequence

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

    • wrap

      static MREchoSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - An attributes object containing the MR Echo Sequence (see MREchoSequence)
      Returns:
      A wrapper object implementing the MREchoSequence.Holder interface.
    • builder

      Returns:
      a MREchoSequence.Holder.Builder to create MR Echo Sequence Items with a fluent API.
    • builder

      static MREchoSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - The Attributes to be wrapped by the MREchoSequence.Holder.Builder.
      Returns:
      a MREchoSequence.Holder.Builder to create MR Echo Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
    • getMREchoSequence

      default MREchoSequence getMREchoSequence()
      Returns:
      the MR Echo Sequence (see MREchoSequence)
    • newMREchoSequence

      default MREchoSequence newMREchoSequence(int initialCapacity)
      Adds a new MR Echo Sequence. (see MREchoSequence)
      Parameters:
      initialCapacity - the initial capacity for the new MR Echo Sequence
    • ensureMREchoSequence

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

      default MREchoSequence ensureMREchoSequence()
      Adds a new MR Echo Sequence (see MREchoSequence) with initial capacity 1 (see ensureMREchoSequence(int)) if it does not already exist.
      Returns:
      Either the already existing MR Echo Sequence (see MREchoSequence) or a new one with capacity 1.
    • containsMREchoSequence

      default boolean containsMREchoSequence()
      Returns:
      Whether it contains the MR Echo Sequence (see MREchoSequence)
    • removeMREchoSequence

      default void removeMREchoSequence()
      Removes the MR Echo Sequence (see MREchoSequence