Interface InstructionDescription.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
InstructionDescription.SimpleHolder,InstructionSequence.Item,PatientPositioningInstructionSequence.Item
- Enclosing class:
- InstructionDescription
A class implementing this interface can hold attributes which contain the DICOM tag "Instruction Description" (see
InstructionDescription)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault InstructionDescriptiondefault voidRemoves the Instruction Description (seeInstructionDescriptionwrap(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 Description (seeInstructionDescription)- Returns:
- A wrapper object implementing the
InstructionDescription.Holderinterface.
-
builder
- Returns:
- a
InstructionDescription.Holder.Builderto create Instruction Description Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theInstructionDescription.Holder.Builder.- Returns:
- a
InstructionDescription.Holder.Builderto create Instruction Description Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getInstructionDescription
- Returns:
- the Instruction Description (see
InstructionDescription)
-
containsInstructionDescription
default boolean containsInstructionDescription()- Returns:
- Whether it contains the Instruction Description (see
InstructionDescription)
-
removeInstructionDescription
default void removeInstructionDescription()Removes the Instruction Description (seeInstructionDescription
-