Interface DeliveryRateUnitSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
CArmPhotonElectronControlPointSequence.Item,DeliveryRateUnitSequence.SimpleHolder,RoboticPathControlPointSequence.Item,TomotherapeuticControlPointSequence.Item
- Enclosing class:
- DeliveryRateUnitSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Delivery Rate Unit Sequence" (see
DeliveryRateUnitSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault DeliveryRateUnitSequenceAdds a new Delivery Rate Unit Sequence (seeDeliveryRateUnitSequence) with initial capacity 1 (seeensureDeliveryRateUnitSequence(int)) if it does not already exist.default DeliveryRateUnitSequenceensureDeliveryRateUnitSequence(int initialCapacity) Adds a new Delivery Rate Unit Sequence (seeDeliveryRateUnitSequence) if it does not already exist.default DeliveryRateUnitSequencedefault DeliveryRateUnitSequencenewDeliveryRateUnitSequence(int initialCapacity) Adds a new Delivery Rate Unit Sequence.default voidRemoves the Delivery Rate Unit Sequence (seeDeliveryRateUnitSequencewrap(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 Delivery Rate Unit Sequence (seeDeliveryRateUnitSequence)- Returns:
- A wrapper object implementing the
DeliveryRateUnitSequence.Holderinterface.
-
builder
- Returns:
- a
DeliveryRateUnitSequence.Holder.Builderto create Delivery Rate Unit Sequence Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theDeliveryRateUnitSequence.Holder.Builder.- Returns:
- a
DeliveryRateUnitSequence.Holder.Builderto create Delivery Rate Unit Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getDeliveryRateUnitSequence
- Returns:
- the Delivery Rate Unit Sequence (see
DeliveryRateUnitSequence)
-
newDeliveryRateUnitSequence
Adds a new Delivery Rate Unit Sequence. (seeDeliveryRateUnitSequence)- Parameters:
initialCapacity- the initial capacity for the new Delivery Rate Unit Sequence
-
ensureDeliveryRateUnitSequence
Adds a new Delivery Rate Unit Sequence (seeDeliveryRateUnitSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Delivery Rate Unit Sequence is created.- Returns:
- Either the already existing Delivery Rate Unit Sequence (see
DeliveryRateUnitSequence) or a new one with capacityinitialCapacity.
-
ensureDeliveryRateUnitSequence
Adds a new Delivery Rate Unit Sequence (seeDeliveryRateUnitSequence) with initial capacity 1 (seeensureDeliveryRateUnitSequence(int)) if it does not already exist.- Returns:
- Either the already existing Delivery Rate Unit Sequence (see
DeliveryRateUnitSequence) or a new one with capacity 1.
-
containsDeliveryRateUnitSequence
default boolean containsDeliveryRateUnitSequence()- Returns:
- Whether it contains the Delivery Rate Unit Sequence (see
DeliveryRateUnitSequence)
-
removeDeliveryRateUnitSequence
default void removeDeliveryRateUnitSequence()Removes the Delivery Rate Unit Sequence (seeDeliveryRateUnitSequence
-