Interface ImageBoxesSequence.Holder

All Superinterfaces:
AttributesWrapper
All Known Implementing Classes:
DisplaySetsSequence.Item
Enclosing class:
ImageBoxesSequence

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

    • wrap

      static ImageBoxesSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - An attributes object containing the Image Boxes Sequence (see ImageBoxesSequence)
      Returns:
      A wrapper object implementing the ImageBoxesSequence.Holder interface.
    • getImageBoxesSequence

      default ImageBoxesSequence getImageBoxesSequence()
      Returns:
      the Image Boxes Sequence (see ImageBoxesSequence)
    • newImageBoxesSequence

      default ImageBoxesSequence newImageBoxesSequence(int initialCapacity)
      Adds a new Image Boxes Sequence. (see ImageBoxesSequence)
      Parameters:
      initialCapacity - the initial capacity for the new Image Boxes Sequence
    • ensureImageBoxesSequence

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

      default ImageBoxesSequence ensureImageBoxesSequence()
      Adds a new Image Boxes Sequence (see ImageBoxesSequence) with initial capacity 1 (see ensureImageBoxesSequence(int)) if it does not already exist.
      Returns:
      Either the already existing Image Boxes Sequence (see ImageBoxesSequence) or a new one with capacity 1.
    • containsImageBoxesSequence

      default boolean containsImageBoxesSequence()
      Returns:
      Whether it contains the Image Boxes Sequence (see ImageBoxesSequence)
    • removeImageBoxesSequence

      default void removeImageBoxesSequence()
      Removes the Image Boxes Sequence (see ImageBoxesSequence