Interface UsedSegmentsSequence.Holder

All Superinterfaces:
AttributesWrapper
All Known Implementing Classes:
RegistrationSequence.Item
Enclosing class:
UsedSegmentsSequence

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

    • wrap

      static UsedSegmentsSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - An attributes object containing the Used Segments Sequence (see UsedSegmentsSequence)
      Returns:
      A wrapper object implementing the UsedSegmentsSequence.Holder interface.
    • getUsedSegmentsSequence

      default UsedSegmentsSequence getUsedSegmentsSequence()
      Returns:
      the Used Segments Sequence (see UsedSegmentsSequence)
    • newUsedSegmentsSequence

      default UsedSegmentsSequence newUsedSegmentsSequence(int initialCapacity)
      Adds a new Used Segments Sequence. (see UsedSegmentsSequence)
      Parameters:
      initialCapacity - the initial capacity for the new Used Segments Sequence
    • ensureUsedSegmentsSequence

      default UsedSegmentsSequence ensureUsedSegmentsSequence(int initialCapacity)
      Adds a new Used Segments Sequence if it does not already exist. (see UsedSegmentsSequence)
      Parameters:
      initialCapacity - the initial capacity if a new Used Segments Sequence is created
    • containsUsedSegmentsSequence

      default boolean containsUsedSegmentsSequence()
      Returns:
      Whether it contains the Used Segments Sequence (see UsedSegmentsSequence)
    • removeUsedSegmentsSequence

      default void removeUsedSegmentsSequence()
      Removes the Used Segments Sequence (see UsedSegmentsSequence