Interface TreatmentDeviceIdentificationSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
RTDeliveryDeviceCommonModule,RTRadiationSetDeliveryInstructionModule
- All Known Implementing Classes:
CArmPhotonElectronRadiationIOD,CArmPhotonElectronRadiationRecordIOD,RoboticArmRadiationIOD,RoboticArmRadiationRecordIOD,RTRadiationSalvageRecordIOD,RTRadiationSetDeliveryInstructionIOD,TomotherapeuticRadiationIOD,TomotherapeuticRadiationRecordIOD
- Enclosing class:
- TreatmentDeviceIdentificationSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Treatment Device Identification Sequence" (see
TreatmentDeviceIdentificationSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault 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.
-
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
-