Interface ChannelSequence.Holder

All Superinterfaces:
AttributesWrapper
All Known Implementing Classes:
ApplicationSetupSequence.Item
Enclosing class:
ChannelSequence

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

    • wrap

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

      default ChannelSequence getChannelSequence()
      Returns:
      the Channel Sequence (see ChannelSequence)
    • newChannelSequence

      default ChannelSequence newChannelSequence(int initialCapacity)
      Adds a new Channel Sequence. (see ChannelSequence)
      Parameters:
      initialCapacity - the initial capacity for the new Channel Sequence
    • ensureChannelSequence

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

      default ChannelSequence ensureChannelSequence()
      Adds a new Channel Sequence (see ChannelSequence) with initial capacity 1 (see ensureChannelSequence(int)) if it does not already exist.
      Returns:
      Either the already existing Channel Sequence (see ChannelSequence) or a new one with capacity 1.
    • containsChannelSequence

      default boolean containsChannelSequence()
      Returns:
      Whether it contains the Channel Sequence (see ChannelSequence)
    • removeChannelSequence

      default void removeChannelSequence()
      Removes the Channel Sequence (see ChannelSequence