Interface DepthDoseParametersSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
IonBeamSequence.Item
- Enclosing class:
- DepthDoseParametersSequence
public static interface DepthDoseParametersSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Depth Dose Parameters Sequence" (seeDepthDoseParametersSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDepthDoseParametersSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static DepthDoseParametersSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Depth Dose Parameters Sequence (seeDepthDoseParametersSequence)- Returns:
- a wrapper object implementing the
DepthDoseParametersSequence.Holderinterface.
-
builder
static DepthDoseParametersSequence.Holder.Builder builder()
- Returns:
- a
DepthDoseParametersSequence.Holder.Builderto create Depth Dose Parameters Sequence Items with a fluent API.
-
builder
static DepthDoseParametersSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theDepthDoseParametersSequence.Holder.Builder.- Returns:
- a
DepthDoseParametersSequence.Holder.Builderto create Depth Dose Parameters Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getDepthDoseParametersSequence
default DepthDoseParametersSequence getDepthDoseParametersSequence()
- Returns:
- the Depth Dose Parameters Sequence (see
DepthDoseParametersSequence)
-
newDepthDoseParametersSequence
default DepthDoseParametersSequence newDepthDoseParametersSequence(int initialCapacity)
Adds a new Depth Dose Parameters Sequence. (seeDepthDoseParametersSequence)- Parameters:
initialCapacity- the initial capacity for the new Depth Dose Parameters Sequence- Returns:
- the newly created DepthDoseParametersSequence.
-
ensureDepthDoseParametersSequence
default DepthDoseParametersSequence ensureDepthDoseParametersSequence(int initialCapacity)
Adds a new Depth Dose Parameters Sequence (seeDepthDoseParametersSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Depth Dose Parameters Sequence is created.- Returns:
- either the already existing Depth Dose Parameters Sequence (see
DepthDoseParametersSequence) or a new one with capacityinitialCapacity.
-
ensureDepthDoseParametersSequence
default DepthDoseParametersSequence ensureDepthDoseParametersSequence()
Adds a new Depth Dose Parameters Sequence (seeDepthDoseParametersSequence) with initial capacity 1 (seeensureDepthDoseParametersSequence(int)) if it does not already exist.- Returns:
- either the already existing Depth Dose Parameters Sequence (see
DepthDoseParametersSequence) or a new one with capacity 1.
-
containsDepthDoseParametersSequence
default boolean containsDepthDoseParametersSequence()
- Returns:
- whether it contains the Depth Dose Parameters Sequence (see
DepthDoseParametersSequence)
-
removeDepthDoseParametersSequence
default void removeDepthDoseParametersSequence()
Removes the Depth Dose Parameters Sequence (seeDepthDoseParametersSequence
-
-