Interface ConfirmationSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
RTRadiationRecordCommonModule
- All Known Implementing Classes:
CArmPhotonElectronRadiationRecordIOD,ConfirmationSequence.SimpleHolder,RoboticArmRadiationRecordIOD,RTRadiationSalvageRecordIOD,TomotherapeuticRadiationRecordIOD
- Enclosing class:
- ConfirmationSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Confirmation Sequence" (see
ConfirmationSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault ConfirmationSequenceAdds a new Confirmation Sequence (seeConfirmationSequence) with initial capacity 1 (seeensureConfirmationSequence(int)) if it does not already exist.default ConfirmationSequenceensureConfirmationSequence(int initialCapacity) Adds a new Confirmation Sequence (seeConfirmationSequence) if it does not already exist.default ConfirmationSequencedefault ConfirmationSequencenewConfirmationSequence(int initialCapacity) Adds a new Confirmation Sequence.default voidRemoves the Confirmation Sequence (seeConfirmationSequencestatic ConfirmationSequence.Holderwrap(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 Confirmation Sequence (seeConfirmationSequence)- Returns:
- A wrapper object implementing the
ConfirmationSequence.Holderinterface.
-
builder
- Returns:
- a
ConfirmationSequence.Holder.Builderto create Confirmation Sequence Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theConfirmationSequence.Holder.Builder.- Returns:
- a
ConfirmationSequence.Holder.Builderto create Confirmation Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getConfirmationSequence
- Returns:
- the Confirmation Sequence (see
ConfirmationSequence)
-
newConfirmationSequence
Adds a new Confirmation Sequence. (seeConfirmationSequence)- Parameters:
initialCapacity- the initial capacity for the new Confirmation Sequence
-
ensureConfirmationSequence
Adds a new Confirmation Sequence (seeConfirmationSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Confirmation Sequence is created.- Returns:
- Either the already existing Confirmation Sequence (see
ConfirmationSequence) or a new one with capacityinitialCapacity.
-
ensureConfirmationSequence
Adds a new Confirmation Sequence (seeConfirmationSequence) with initial capacity 1 (seeensureConfirmationSequence(int)) if it does not already exist.- Returns:
- Either the already existing Confirmation Sequence (see
ConfirmationSequence) or a new one with capacity 1.
-
containsConfirmationSequence
default boolean containsConfirmationSequence()- Returns:
- Whether it contains the Confirmation Sequence (see
ConfirmationSequence)
-
removeConfirmationSequence
default void removeConfirmationSequence()Removes the Confirmation Sequence (seeConfirmationSequence
-