Interface IonControlPointDeliverySequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
IonControlPointDeliverySequence.SimpleHolder,TreatmentSessionIonBeamSequence.Item
- Enclosing class:
- IonControlPointDeliverySequence
A class implementing this interface can hold attributes which contain the DICOM tag "Ion Control Point Delivery Sequence" (see
IonControlPointDeliverySequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault IonControlPointDeliverySequenceAdds a new Ion Control Point Delivery Sequence (seeIonControlPointDeliverySequence) with initial capacity 1 (seeensureIonControlPointDeliverySequence(int)) if it does not already exist.default IonControlPointDeliverySequenceensureIonControlPointDeliverySequence(int initialCapacity) Adds a new Ion Control Point Delivery Sequence (seeIonControlPointDeliverySequence) if it does not already exist.default IonControlPointDeliverySequencedefault IonControlPointDeliverySequencenewIonControlPointDeliverySequence(int initialCapacity) Adds a new Ion Control Point Delivery Sequence.default voidRemoves the Ion Control Point Delivery Sequence (seeIonControlPointDeliverySequencewrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
wrap
- Parameters:
attributes- An attributes object containing the Ion Control Point Delivery Sequence (seeIonControlPointDeliverySequence)- Returns:
- A wrapper object implementing the
IonControlPointDeliverySequence.Holderinterface.
-
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
- Returns:
- the Ion Control Point Delivery Sequence (see
IonControlPointDeliverySequence)
-
newIonControlPointDeliverySequence
Adds a new Ion Control Point Delivery Sequence. (seeIonControlPointDeliverySequence)- Parameters:
initialCapacity- the initial capacity for the new Ion Control Point Delivery Sequence
-
ensureIonControlPointDeliverySequence
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
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
-