Interface ControlPointDeliverySequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
TreatmentSessionBeamSequence.Item
- Enclosing class:
- ControlPointDeliverySequence
public static interface ControlPointDeliverySequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Control Point Delivery Sequence" (seeControlPointDeliverySequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classControlPointDeliverySequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static ControlPointDeliverySequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Control Point Delivery Sequence (seeControlPointDeliverySequence)- Returns:
- a wrapper object implementing the
ControlPointDeliverySequence.Holderinterface.
-
builder
static ControlPointDeliverySequence.Holder.Builder builder()
- Returns:
- a
ControlPointDeliverySequence.Holder.Builderto create Control Point Delivery Sequence Items with a fluent API.
-
builder
static ControlPointDeliverySequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theControlPointDeliverySequence.Holder.Builder.- Returns:
- a
ControlPointDeliverySequence.Holder.Builderto create Control Point Delivery Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getControlPointDeliverySequence
default ControlPointDeliverySequence getControlPointDeliverySequence()
- Returns:
- the Control Point Delivery Sequence (see
ControlPointDeliverySequence)
-
newControlPointDeliverySequence
default ControlPointDeliverySequence newControlPointDeliverySequence(int initialCapacity)
Adds a new Control Point Delivery Sequence. (seeControlPointDeliverySequence)- Parameters:
initialCapacity- the initial capacity for the new Control Point Delivery Sequence- Returns:
- the newly created ControlPointDeliverySequence.
-
ensureControlPointDeliverySequence
default ControlPointDeliverySequence ensureControlPointDeliverySequence(int initialCapacity)
Adds a new Control Point Delivery Sequence (seeControlPointDeliverySequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Control Point Delivery Sequence is created.- Returns:
- either the already existing Control Point Delivery Sequence (see
ControlPointDeliverySequence) or a new one with capacityinitialCapacity.
-
ensureControlPointDeliverySequence
default ControlPointDeliverySequence ensureControlPointDeliverySequence()
Adds a new Control Point Delivery Sequence (seeControlPointDeliverySequence) with initial capacity 1 (seeensureControlPointDeliverySequence(int)) if it does not already exist.- Returns:
- either the already existing Control Point Delivery Sequence (see
ControlPointDeliverySequence) or a new one with capacity 1.
-
containsControlPointDeliverySequence
default boolean containsControlPointDeliverySequence()
- Returns:
- whether it contains the Control Point Delivery Sequence (see
ControlPointDeliverySequence)
-
removeControlPointDeliverySequence
default void removeControlPointDeliverySequence()
Removes the Control Point Delivery Sequence (seeControlPointDeliverySequence
-
-