Interface DeliveryVerificationImageSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
BeamTaskSequence.Item,DeliveryVerificationImageSequence.SimpleHolder
- Enclosing class:
- DeliveryVerificationImageSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Delivery Verification Image Sequence" (see
DeliveryVerificationImageSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new Delivery Verification Image Sequence (seeDeliveryVerificationImageSequence) with initial capacity 1 (seeensureDeliveryVerificationImageSequence(int)) if it does not already exist.ensureDeliveryVerificationImageSequence(int initialCapacity) Adds a new Delivery Verification Image Sequence (seeDeliveryVerificationImageSequence) if it does not already exist.newDeliveryVerificationImageSequence(int initialCapacity) Adds a new Delivery Verification Image Sequence.default voidRemoves the Delivery Verification Image Sequence (seeDeliveryVerificationImageSequencewrap(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 Verification Image Sequence (seeDeliveryVerificationImageSequence)- Returns:
- A wrapper object implementing the
DeliveryVerificationImageSequence.Holderinterface.
-
builder
- Returns:
- a
DeliveryVerificationImageSequence.Holder.Builderto create Delivery Verification Image Sequence Items with a fluent API.
-
builder
static DeliveryVerificationImageSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theDeliveryVerificationImageSequence.Holder.Builder.- Returns:
- a
DeliveryVerificationImageSequence.Holder.Builderto create Delivery Verification Image Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getDeliveryVerificationImageSequence
- Returns:
- the Delivery Verification Image Sequence (see
DeliveryVerificationImageSequence)
-
newDeliveryVerificationImageSequence
Adds a new Delivery Verification Image Sequence. (seeDeliveryVerificationImageSequence)- Parameters:
initialCapacity- the initial capacity for the new Delivery Verification Image Sequence
-
ensureDeliveryVerificationImageSequence
default DeliveryVerificationImageSequence ensureDeliveryVerificationImageSequence(int initialCapacity) Adds a new Delivery Verification Image Sequence (seeDeliveryVerificationImageSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Delivery Verification Image Sequence is created.- Returns:
- Either the already existing Delivery Verification Image Sequence (see
DeliveryVerificationImageSequence) or a new one with capacityinitialCapacity.
-
ensureDeliveryVerificationImageSequence
Adds a new Delivery Verification Image Sequence (seeDeliveryVerificationImageSequence) with initial capacity 1 (seeensureDeliveryVerificationImageSequence(int)) if it does not already exist.- Returns:
- Either the already existing Delivery Verification Image Sequence (see
DeliveryVerificationImageSequence) or a new one with capacity 1.
-
containsDeliveryVerificationImageSequence
default boolean containsDeliveryVerificationImageSequence()- Returns:
- Whether it contains the Delivery Verification Image Sequence (see
DeliveryVerificationImageSequence)
-
removeDeliveryVerificationImageSequence
default void removeDeliveryVerificationImageSequence()Removes the Delivery Verification Image Sequence (seeDeliveryVerificationImageSequence
-