Interface TreatmentDeviceIdentificationSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
RTDeliveryDeviceCommonModule,RTRadiationSetDeliveryInstructionModule
- All Known Implementing Classes:
CArmPhotonElectronRadiationIOD,CArmPhotonElectronRadiationRecordIOD,RoboticArmRadiationIOD,RoboticArmRadiationRecordIOD,RTRadiationSalvageRecordIOD,RTRadiationSetDeliveryInstructionIOD,TomotherapeuticRadiationIOD,TomotherapeuticRadiationRecordIOD,TreatmentDeviceIdentificationSequence.SimpleHolder
- Enclosing class:
- TreatmentDeviceIdentificationSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Treatment Device Identification Sequence" (see
TreatmentDeviceIdentificationSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new Treatment Device Identification Sequence (seeTreatmentDeviceIdentificationSequence) with initial capacity 1 (seeensureTreatmentDeviceIdentificationSequence(int)) if it does not already exist.ensureTreatmentDeviceIdentificationSequence(int initialCapacity) Adds a new Treatment Device Identification Sequence (seeTreatmentDeviceIdentificationSequence) if it does not already exist.newTreatmentDeviceIdentificationSequence(int initialCapacity) Adds a new Treatment Device Identification Sequence.default voidRemoves the Treatment Device Identification Sequence (seeTreatmentDeviceIdentificationSequencewrap(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 Treatment Device Identification Sequence (seeTreatmentDeviceIdentificationSequence)- Returns:
- A wrapper object implementing the
TreatmentDeviceIdentificationSequence.Holderinterface.
-
builder
- Returns:
- a
TreatmentDeviceIdentificationSequence.Holder.Builderto create Treatment Device Identification Sequence Items with a fluent API.
-
builder
static TreatmentDeviceIdentificationSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theTreatmentDeviceIdentificationSequence.Holder.Builder.- Returns:
- a
TreatmentDeviceIdentificationSequence.Holder.Builderto create Treatment Device Identification Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getTreatmentDeviceIdentificationSequence
- Returns:
- the Treatment Device Identification Sequence (see
TreatmentDeviceIdentificationSequence)
-
newTreatmentDeviceIdentificationSequence
default TreatmentDeviceIdentificationSequence newTreatmentDeviceIdentificationSequence(int initialCapacity) Adds a new Treatment Device Identification Sequence. (seeTreatmentDeviceIdentificationSequence)- Parameters:
initialCapacity- the initial capacity for the new Treatment Device Identification Sequence
-
ensureTreatmentDeviceIdentificationSequence
default TreatmentDeviceIdentificationSequence ensureTreatmentDeviceIdentificationSequence(int initialCapacity) Adds a new Treatment Device Identification Sequence (seeTreatmentDeviceIdentificationSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Treatment Device Identification Sequence is created.- Returns:
- Either the already existing Treatment Device Identification Sequence (see
TreatmentDeviceIdentificationSequence) or a new one with capacityinitialCapacity.
-
ensureTreatmentDeviceIdentificationSequence
Adds a new Treatment Device Identification Sequence (seeTreatmentDeviceIdentificationSequence) with initial capacity 1 (seeensureTreatmentDeviceIdentificationSequence(int)) if it does not already exist.- Returns:
- Either the already existing Treatment Device Identification Sequence (see
TreatmentDeviceIdentificationSequence) or a new one with capacity 1.
-
containsTreatmentDeviceIdentificationSequence
default boolean containsTreatmentDeviceIdentificationSequence()- Returns:
- Whether it contains the Treatment Device Identification Sequence (see
TreatmentDeviceIdentificationSequence)
-
removeTreatmentDeviceIdentificationSequence
default void removeTreatmentDeviceIdentificationSequence()Removes the Treatment Device Identification Sequence (seeTreatmentDeviceIdentificationSequence
-