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