Interface ControlPointDeliverySequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
ControlPointDeliverySequence.SimpleHolder,TreatmentSessionBeamSequence.Item
- Enclosing class:
- ControlPointDeliverySequence
A class implementing this interface can hold attributes which contain the DICOM tag "Control Point Delivery Sequence" (see
ControlPointDeliverySequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault ControlPointDeliverySequenceAdds a new Control Point Delivery Sequence (seeControlPointDeliverySequence) with initial capacity 1 (seeensureControlPointDeliverySequence(int)) if it does not already exist.default ControlPointDeliverySequenceensureControlPointDeliverySequence(int initialCapacity) Adds a new Control Point Delivery Sequence (seeControlPointDeliverySequence) if it does not already exist.default ControlPointDeliverySequencedefault ControlPointDeliverySequencenewControlPointDeliverySequence(int initialCapacity) Adds a new Control Point Delivery Sequence.default voidRemoves the Control Point Delivery Sequence (seeControlPointDeliverySequencewrap(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 Control Point Delivery Sequence (seeControlPointDeliverySequence)- Returns:
- A wrapper object implementing the
ControlPointDeliverySequence.Holderinterface.
-
builder
- Returns:
- a
ControlPointDeliverySequence.Holder.Builderto create Control Point Delivery Sequence Items with a fluent API.
-
builder
- 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
- Returns:
- the Control Point Delivery Sequence (see
ControlPointDeliverySequence)
-
newControlPointDeliverySequence
Adds a new Control Point Delivery Sequence. (seeControlPointDeliverySequence)- Parameters:
initialCapacity- the initial capacity for the new Control Point Delivery Sequence
-
ensureControlPointDeliverySequence
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
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
-