Interface FailedSOPSequence.Holder

All Superinterfaces:
AttributesWrapper
All Known Subinterfaces:
MediaCreationManagementModule, StorageCommitmentModule
All Known Implementing Classes:
MediaCreationManagementIOD, StorageCommitmentIOD
Enclosing class:
FailedSOPSequence

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

    • wrap

      static FailedSOPSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - An attributes object containing the Failed SOP Sequence (see FailedSOPSequence)
      Returns:
      A wrapper object implementing the FailedSOPSequence.Holder interface.
    • getFailedSOPSequence

      default FailedSOPSequence getFailedSOPSequence()
      Returns:
      the Failed SOP Sequence (see FailedSOPSequence)
    • newFailedSOPSequence

      default FailedSOPSequence newFailedSOPSequence(int initialCapacity)
      Adds a new Failed SOP Sequence. (see FailedSOPSequence)
      Parameters:
      initialCapacity - the initial capacity for the new Failed SOP Sequence
    • ensureFailedSOPSequence

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

      default FailedSOPSequence ensureFailedSOPSequence()
      Adds a new Failed SOP Sequence (see FailedSOPSequence) with initial capacity 1 (see ensureFailedSOPSequence(int)) if it does not already exist.
      Returns:
      Either the already existing Failed SOP Sequence (see FailedSOPSequence) or a new one with capacity 1.
    • containsFailedSOPSequence

      default boolean containsFailedSOPSequence()
      Returns:
      Whether it contains the Failed SOP Sequence (see FailedSOPSequence)
    • removeFailedSOPSequence

      default void removeFailedSOPSequence()
      Removes the Failed SOP Sequence (see FailedSOPSequence