Interface CompensatorShapeFabricationCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
CompensatorShapeFabricationCodeSequence.SimpleHolder,CompensatorShapeSequence.Item
- Enclosing class:
- CompensatorShapeFabricationCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Compensator Shape Fabrication Code Sequence" (see
CompensatorShapeFabricationCodeSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new Compensator Shape Fabrication Code Sequence (seeCompensatorShapeFabricationCodeSequence) with initial capacity 1 (seeensureCompensatorShapeFabricationCodeSequence(int)) if it does not already exist.ensureCompensatorShapeFabricationCodeSequence(int initialCapacity) Adds a new Compensator Shape Fabrication Code Sequence (seeCompensatorShapeFabricationCodeSequence) if it does not already exist.newCompensatorShapeFabricationCodeSequence(int initialCapacity) Adds a new Compensator Shape Fabrication Code Sequence.default voidRemoves the Compensator Shape Fabrication Code Sequence (seeCompensatorShapeFabricationCodeSequencewrap(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 Compensator Shape Fabrication Code Sequence (seeCompensatorShapeFabricationCodeSequence)- Returns:
- A wrapper object implementing the
CompensatorShapeFabricationCodeSequence.Holderinterface.
-
builder
- Returns:
- a
CompensatorShapeFabricationCodeSequence.Holder.Builderto create Compensator Shape Fabrication Code Sequence Items with a fluent API.
-
builder
static CompensatorShapeFabricationCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theCompensatorShapeFabricationCodeSequence.Holder.Builder.- Returns:
- a
CompensatorShapeFabricationCodeSequence.Holder.Builderto create Compensator Shape Fabrication Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getCompensatorShapeFabricationCodeSequence
- Returns:
- the Compensator Shape Fabrication Code Sequence (see
CompensatorShapeFabricationCodeSequence)
-
newCompensatorShapeFabricationCodeSequence
default CompensatorShapeFabricationCodeSequence newCompensatorShapeFabricationCodeSequence(int initialCapacity) Adds a new Compensator Shape Fabrication Code Sequence. (seeCompensatorShapeFabricationCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Compensator Shape Fabrication Code Sequence
-
ensureCompensatorShapeFabricationCodeSequence
default CompensatorShapeFabricationCodeSequence ensureCompensatorShapeFabricationCodeSequence(int initialCapacity) Adds a new Compensator Shape Fabrication Code Sequence (seeCompensatorShapeFabricationCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Compensator Shape Fabrication Code Sequence is created.- Returns:
- Either the already existing Compensator Shape Fabrication Code Sequence (see
CompensatorShapeFabricationCodeSequence) or a new one with capacityinitialCapacity.
-
ensureCompensatorShapeFabricationCodeSequence
Adds a new Compensator Shape Fabrication Code Sequence (seeCompensatorShapeFabricationCodeSequence) with initial capacity 1 (seeensureCompensatorShapeFabricationCodeSequence(int)) if it does not already exist.- Returns:
- Either the already existing Compensator Shape Fabrication Code Sequence (see
CompensatorShapeFabricationCodeSequence) or a new one with capacity 1.
-
containsCompensatorShapeFabricationCodeSequence
default boolean containsCompensatorShapeFabricationCodeSequence()- Returns:
- Whether it contains the Compensator Shape Fabrication Code Sequence (see
CompensatorShapeFabricationCodeSequence)
-
removeCompensatorShapeFabricationCodeSequence
default void removeCompensatorShapeFabricationCodeSequence()Removes the Compensator Shape Fabrication Code Sequence (seeCompensatorShapeFabricationCodeSequence
-