Interface DriveProbeSequence.Holder

All Superinterfaces:
AttributesWrapper
Enclosing class:
DriveProbeSequence

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

    • wrap

      static DriveProbeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - An attributes object containing the Drive Probe Sequence (see DriveProbeSequence)
      Returns:
      A wrapper object implementing the DriveProbeSequence.Holder interface.
    • getDriveProbeSequence

      default DriveProbeSequence getDriveProbeSequence()
      Returns:
      the Drive Probe Sequence (see DriveProbeSequence)
    • newDriveProbeSequence

      default DriveProbeSequence newDriveProbeSequence(int initialCapacity)
      Adds a new Drive Probe Sequence. (see DriveProbeSequence)
      Parameters:
      initialCapacity - the initial capacity for the new Drive Probe Sequence
    • ensureDriveProbeSequence

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

      default DriveProbeSequence ensureDriveProbeSequence()
      Adds a new Drive Probe Sequence (see DriveProbeSequence) with initial capacity 1 (see ensureDriveProbeSequence(int)) if it does not already exist.
      Returns:
      Either the already existing Drive Probe Sequence (see DriveProbeSequence) or a new one with capacity 1.
    • containsDriveProbeSequence

      default boolean containsDriveProbeSequence()
      Returns:
      Whether it contains the Drive Probe Sequence (see DriveProbeSequence)
    • removeDriveProbeSequence

      default void removeDriveProbeSequence()
      Removes the Drive Probe Sequence (see DriveProbeSequence