Interface CompensatorShapeSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
CompensatorDefinitionSequence.Item
- Enclosing class:
- CompensatorShapeSequence
public static interface CompensatorShapeSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Compensator Shape Sequence" (seeCompensatorShapeSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCompensatorShapeSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static CompensatorShapeSequence.Holder.Builderbuilder()static CompensatorShapeSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsCompensatorShapeSequence()default CompensatorShapeSequenceensureCompensatorShapeSequence()Adds a new Compensator Shape Sequence (seeCompensatorShapeSequence) with initial capacity 1 (seeensureCompensatorShapeSequence(int)) if it does not already exist.default CompensatorShapeSequenceensureCompensatorShapeSequence(int initialCapacity)Adds a new Compensator Shape Sequence (seeCompensatorShapeSequence) if it does not already exist.default CompensatorShapeSequencegetCompensatorShapeSequence()default CompensatorShapeSequencenewCompensatorShapeSequence(int initialCapacity)Adds a new Compensator Shape Sequence.default voidremoveCompensatorShapeSequence()Removes the Compensator Shape Sequence (seeCompensatorShapeSequencestatic CompensatorShapeSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static CompensatorShapeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Compensator Shape Sequence (seeCompensatorShapeSequence)- Returns:
- a wrapper object implementing the
CompensatorShapeSequence.Holderinterface.
-
builder
static CompensatorShapeSequence.Holder.Builder builder()
- Returns:
- a
CompensatorShapeSequence.Holder.Builderto create Compensator Shape Sequence Items with a fluent API.
-
builder
static CompensatorShapeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theCompensatorShapeSequence.Holder.Builder.- Returns:
- a
CompensatorShapeSequence.Holder.Builderto create Compensator Shape Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getCompensatorShapeSequence
default CompensatorShapeSequence getCompensatorShapeSequence()
- Returns:
- the Compensator Shape Sequence (see
CompensatorShapeSequence)
-
newCompensatorShapeSequence
default CompensatorShapeSequence newCompensatorShapeSequence(int initialCapacity)
Adds a new Compensator Shape Sequence. (seeCompensatorShapeSequence)- Parameters:
initialCapacity- the initial capacity for the new Compensator Shape Sequence- Returns:
- the newly created CompensatorShapeSequence.
-
ensureCompensatorShapeSequence
default CompensatorShapeSequence ensureCompensatorShapeSequence(int initialCapacity)
Adds a new Compensator Shape Sequence (seeCompensatorShapeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Compensator Shape Sequence is created.- Returns:
- either the already existing Compensator Shape Sequence (see
CompensatorShapeSequence) or a new one with capacityinitialCapacity.
-
ensureCompensatorShapeSequence
default CompensatorShapeSequence ensureCompensatorShapeSequence()
Adds a new Compensator Shape Sequence (seeCompensatorShapeSequence) with initial capacity 1 (seeensureCompensatorShapeSequence(int)) if it does not already exist.- Returns:
- either the already existing Compensator Shape Sequence (see
CompensatorShapeSequence) or a new one with capacity 1.
-
containsCompensatorShapeSequence
default boolean containsCompensatorShapeSequence()
- Returns:
- whether it contains the Compensator Shape Sequence (see
CompensatorShapeSequence)
-
removeCompensatorShapeSequence
default void removeCompensatorShapeSequence()
Removes the Compensator Shape Sequence (seeCompensatorShapeSequence
-
-