Interface PatientSupportDevicesSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
EnhancedRTImageDeviceModule,RTDeliveryDeviceCommonModule,RTPatientPositionAcquisitionDeviceModule
- All Known Implementing Classes:
CArmPhotonElectronRadiationIOD,CArmPhotonElectronRadiationRecordIOD,EnhancedContinuousRTImageIOD,EnhancedRTImageDeviceModule.SimpleWrapper,EnhancedRTImageIOD,RoboticArmRadiationIOD,RoboticArmRadiationRecordIOD,RTDeliveryDeviceCommonModule.SimpleWrapper,RTPatientPositionAcquisitionDeviceModule.SimpleWrapper,RTPatientPositionAcquisitionInstructionIOD,RTRadiationSalvageRecordIOD,TomotherapeuticRadiationIOD,TomotherapeuticRadiationRecordIOD
- Enclosing class:
- PatientSupportDevicesSequence
public static interface PatientSupportDevicesSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Patient Support Devices Sequence" (seePatientSupportDevicesSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPatientSupportDevicesSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static PatientSupportDevicesSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Patient Support Devices Sequence (seePatientSupportDevicesSequence)- Returns:
- a wrapper object implementing the
PatientSupportDevicesSequence.Holderinterface.
-
builder
static PatientSupportDevicesSequence.Holder.Builder builder()
- Returns:
- a
PatientSupportDevicesSequence.Holder.Builderto create Patient Support Devices Sequence Items with a fluent API.
-
builder
static PatientSupportDevicesSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by thePatientSupportDevicesSequence.Holder.Builder.- Returns:
- a
PatientSupportDevicesSequence.Holder.Builderto create Patient Support Devices Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getPatientSupportDevicesSequence
default PatientSupportDevicesSequence getPatientSupportDevicesSequence()
- Returns:
- the Patient Support Devices Sequence (see
PatientSupportDevicesSequence)
-
newPatientSupportDevicesSequence
default PatientSupportDevicesSequence newPatientSupportDevicesSequence(int initialCapacity)
Adds a new Patient Support Devices Sequence. (seePatientSupportDevicesSequence)- Parameters:
initialCapacity- the initial capacity for the new Patient Support Devices Sequence- Returns:
- the newly created PatientSupportDevicesSequence.
-
ensurePatientSupportDevicesSequence
default PatientSupportDevicesSequence ensurePatientSupportDevicesSequence(int initialCapacity)
Adds a new Patient Support Devices Sequence (seePatientSupportDevicesSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Patient Support Devices Sequence is created.- Returns:
- either the already existing Patient Support Devices Sequence (see
PatientSupportDevicesSequence) or a new one with capacityinitialCapacity.
-
ensurePatientSupportDevicesSequence
default PatientSupportDevicesSequence ensurePatientSupportDevicesSequence()
Adds a new Patient Support Devices Sequence (seePatientSupportDevicesSequence) with initial capacity 1 (seeensurePatientSupportDevicesSequence(int)) if it does not already exist.- Returns:
- either the already existing Patient Support Devices Sequence (see
PatientSupportDevicesSequence) or a new one with capacity 1.
-
containsPatientSupportDevicesSequence
default boolean containsPatientSupportDevicesSequence()
- Returns:
- whether it contains the Patient Support Devices Sequence (see
PatientSupportDevicesSequence)
-
removePatientSupportDevicesSequence
default void removePatientSupportDevicesSequence()
Removes the Patient Support Devices Sequence (seePatientSupportDevicesSequence
-
-