Interface PatientSupportDevicesSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
RTDeliveryDeviceCommonModule
- All Known Implementing Classes:
CArmPhotonElectronRadiationIOD,CArmPhotonElectronRadiationRecordIOD,PatientSupportDevicesSequence.SimpleHolder,RoboticArmRadiationIOD,RoboticArmRadiationRecordIOD,RTRadiationSalvageRecordIOD,TomotherapeuticRadiationIOD,TomotherapeuticRadiationRecordIOD
- Enclosing class:
- PatientSupportDevicesSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Patient Support Devices Sequence" (see
PatientSupportDevicesSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault PatientSupportDevicesSequenceAdds a new Patient Support Devices Sequence (seePatientSupportDevicesSequence) with initial capacity 1 (seeensurePatientSupportDevicesSequence(int)) if it does not already exist.default PatientSupportDevicesSequenceensurePatientSupportDevicesSequence(int initialCapacity) Adds a new Patient Support Devices Sequence (seePatientSupportDevicesSequence) if it does not already exist.default PatientSupportDevicesSequencedefault PatientSupportDevicesSequencenewPatientSupportDevicesSequence(int initialCapacity) Adds a new Patient Support Devices Sequence.default voidRemoves the Patient Support Devices Sequence (seePatientSupportDevicesSequencewrap(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 Patient Support Devices Sequence (seePatientSupportDevicesSequence)- Returns:
- A wrapper object implementing the
PatientSupportDevicesSequence.Holderinterface.
-
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
- Returns:
- the Patient Support Devices Sequence (see
PatientSupportDevicesSequence)
-
newPatientSupportDevicesSequence
Adds a new Patient Support Devices Sequence. (seePatientSupportDevicesSequence)- Parameters:
initialCapacity- the initial capacity for the new Patient Support Devices Sequence
-
ensurePatientSupportDevicesSequence
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
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
-