Interface ImageSetsSequence.Holder

All Superinterfaces:
AttributesWrapper
All Known Subinterfaces:
HangingProtocolDefinitionModule
All Known Implementing Classes:
HangingProtocolIOD
Enclosing class:
ImageSetsSequence

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

    • wrap

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

      default ImageSetsSequence getImageSetsSequence()
      Returns:
      the Image Sets Sequence (see ImageSetsSequence)
    • newImageSetsSequence

      default ImageSetsSequence newImageSetsSequence(int initialCapacity)
      Adds a new Image Sets Sequence. (see ImageSetsSequence)
      Parameters:
      initialCapacity - the initial capacity for the new Image Sets Sequence
    • ensureImageSetsSequence

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

      default ImageSetsSequence ensureImageSetsSequence()
      Adds a new Image Sets Sequence (see ImageSetsSequence) with initial capacity 1 (see ensureImageSetsSequence(int)) if it does not already exist.
      Returns:
      Either the already existing Image Sets Sequence (see ImageSetsSequence) or a new one with capacity 1.
    • containsImageSetsSequence

      default boolean containsImageSetsSequence()
      Returns:
      Whether it contains the Image Sets Sequence (see ImageSetsSequence)
    • removeImageSetsSequence

      default void removeImageSetsSequence()
      Removes the Image Sets Sequence (see ImageSetsSequence