Interface ApprovalSequence.Holder

All Superinterfaces:
AttributesWrapper
All Known Subinterfaces:
ProtocolApprovalModule
All Known Implementing Classes:
ProtocolApprovalIOD
Enclosing class:
ApprovalSequence

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

    • wrap

      static ApprovalSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - An attributes object containing the Approval Sequence (see ApprovalSequence)
      Returns:
      A wrapper object implementing the ApprovalSequence.Holder interface.
    • getApprovalSequence

      default ApprovalSequence getApprovalSequence()
      Returns:
      the Approval Sequence (see ApprovalSequence)
    • newApprovalSequence

      default ApprovalSequence newApprovalSequence(int initialCapacity)
      Adds a new Approval Sequence. (see ApprovalSequence)
      Parameters:
      initialCapacity - the initial capacity for the new Approval Sequence
    • ensureApprovalSequence

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

      default ApprovalSequence ensureApprovalSequence()
      Adds a new Approval Sequence (see ApprovalSequence) with initial capacity 1 (see ensureApprovalSequence(int)) if it does not already exist.
      Returns:
      Either the already existing Approval Sequence (see ApprovalSequence) or a new one with capacity 1.
    • containsApprovalSequence

      default boolean containsApprovalSequence()
      Returns:
      Whether it contains the Approval Sequence (see ApprovalSequence)
    • removeApprovalSequence

      default void removeApprovalSequence()
      Removes the Approval Sequence (see ApprovalSequence