Interface CompensatorShapeFabricationCodeSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
CompensatorShapeFabricationCodeSequence.SimpleHolder,CompensatorShapeSequence.Item
- Enclosing class:
- CompensatorShapeFabricationCodeSequence
public static interface CompensatorShapeFabricationCodeSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Compensator Shape Fabrication Code Sequence" (seeCompensatorShapeFabricationCodeSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCompensatorShapeFabricationCodeSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static CompensatorShapeFabricationCodeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Compensator Shape Fabrication Code Sequence (seeCompensatorShapeFabricationCodeSequence)- Returns:
- a wrapper object implementing the
CompensatorShapeFabricationCodeSequence.Holderinterface.
-
builder
static CompensatorShapeFabricationCodeSequence.Holder.Builder 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
default CompensatorShapeFabricationCodeSequence 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- Returns:
- the newly created CompensatorShapeFabricationCodeSequence.
-
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
default CompensatorShapeFabricationCodeSequence 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
-
-