Interface InstructionSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
InstructionsModule
- All Known Implementing Classes:
CTDefinedProcedureProtocolIOD,CTPerformedProcedureProtocolIOD,XADefinedProcedureProtocolIOD,XAPerformedProcedureProtocolIOD
- Enclosing class:
- InstructionSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Instruction Sequence" (see
InstructionSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault InstructionSequenceensureInstructionSequence(int initialCapacity) Adds a new Instruction Sequence if it does not already exist.default InstructionSequencedefault InstructionSequencenewInstructionSequence(int initialCapacity) Adds a new Instruction Sequence.default voidRemoves the Instruction Sequence (seeInstructionSequencestatic InstructionSequence.Holderwrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
wrap
- Parameters:
attributes- An attributes object containing the Instruction Sequence (seeInstructionSequence)- Returns:
- A wrapper object implementing the
InstructionSequence.Holderinterface.
-
getInstructionSequence
- Returns:
- the Instruction Sequence (see
InstructionSequence)
-
newInstructionSequence
Adds a new Instruction Sequence. (seeInstructionSequence)- Parameters:
initialCapacity- the initial capacity for the new Instruction Sequence
-
ensureInstructionSequence
Adds a new Instruction Sequence if it does not already exist. (seeInstructionSequence)- 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 (seeInstructionSequence
-