Interface InstructionSequence.Holder

All Superinterfaces:
AttributesWrapper
All Known Subinterfaces:
InstructionsModule
All Known Implementing Classes:
CTDefinedProcedureProtocolIOD, CTPerformedProcedureProtocolIOD, XADefinedProcedureProtocolIOD, XAPerformedProcedureProtocolIOD
Enclosing class:
InstructionSequence

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

    • wrap

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

      default InstructionSequence getInstructionSequence()
      Returns:
      the Instruction Sequence (see InstructionSequence)
    • newInstructionSequence

      default InstructionSequence newInstructionSequence(int initialCapacity)
      Adds a new Instruction Sequence. (see InstructionSequence)
      Parameters:
      initialCapacity - the initial capacity for the new Instruction Sequence
    • ensureInstructionSequence

      default InstructionSequence ensureInstructionSequence(int initialCapacity)
      Adds a new Instruction Sequence if it does not already exist. (see InstructionSequence)
      Parameters:
      initialCapacity - the initial capacity if a new Instruction Sequence is created
    • containsInstructionSequence

      default boolean containsInstructionSequence()
      Returns:
      Whether it contains the Instruction Sequence (see InstructionSequence)
    • removeInstructionSequence

      default void removeInstructionSequence()
      Removes the Instruction Sequence (see InstructionSequence