Interface PatientTreatmentPreparationDeviceSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
PatientTreatmentPreparationDeviceSequence.SimpleHolder,PatientTreatmentPreparationProcedureSequence.Item
- Enclosing class:
- PatientTreatmentPreparationDeviceSequence
public static interface PatientTreatmentPreparationDeviceSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Patient Treatment Preparation Device Sequence" (seePatientTreatmentPreparationDeviceSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPatientTreatmentPreparationDeviceSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static PatientTreatmentPreparationDeviceSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Patient Treatment Preparation Device Sequence (seePatientTreatmentPreparationDeviceSequence)- Returns:
- a wrapper object implementing the
PatientTreatmentPreparationDeviceSequence.Holderinterface.
-
builder
static PatientTreatmentPreparationDeviceSequence.Holder.Builder builder()
- Returns:
- a
PatientTreatmentPreparationDeviceSequence.Holder.Builderto create Patient Treatment Preparation Device Sequence Items with a fluent API.
-
builder
static PatientTreatmentPreparationDeviceSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by thePatientTreatmentPreparationDeviceSequence.Holder.Builder.- Returns:
- a
PatientTreatmentPreparationDeviceSequence.Holder.Builderto create Patient Treatment Preparation Device Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getPatientTreatmentPreparationDeviceSequence
default PatientTreatmentPreparationDeviceSequence getPatientTreatmentPreparationDeviceSequence()
- Returns:
- the Patient Treatment Preparation Device Sequence (see
PatientTreatmentPreparationDeviceSequence)
-
newPatientTreatmentPreparationDeviceSequence
default PatientTreatmentPreparationDeviceSequence newPatientTreatmentPreparationDeviceSequence(int initialCapacity)
Adds a new Patient Treatment Preparation Device Sequence. (seePatientTreatmentPreparationDeviceSequence)- Parameters:
initialCapacity- the initial capacity for the new Patient Treatment Preparation Device Sequence- Returns:
- the newly created PatientTreatmentPreparationDeviceSequence.
-
ensurePatientTreatmentPreparationDeviceSequence
default PatientTreatmentPreparationDeviceSequence ensurePatientTreatmentPreparationDeviceSequence(int initialCapacity)
Adds a new Patient Treatment Preparation Device Sequence (seePatientTreatmentPreparationDeviceSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Patient Treatment Preparation Device Sequence is created.- Returns:
- either the already existing Patient Treatment Preparation Device Sequence (see
PatientTreatmentPreparationDeviceSequence) or a new one with capacityinitialCapacity.
-
ensurePatientTreatmentPreparationDeviceSequence
default PatientTreatmentPreparationDeviceSequence ensurePatientTreatmentPreparationDeviceSequence()
Adds a new Patient Treatment Preparation Device Sequence (seePatientTreatmentPreparationDeviceSequence) with initial capacity 1 (seeensurePatientTreatmentPreparationDeviceSequence(int)) if it does not already exist.- Returns:
- either the already existing Patient Treatment Preparation Device Sequence (see
PatientTreatmentPreparationDeviceSequence) or a new one with capacity 1.
-
containsPatientTreatmentPreparationDeviceSequence
default boolean containsPatientTreatmentPreparationDeviceSequence()
- Returns:
- whether it contains the Patient Treatment Preparation Device Sequence (see
PatientTreatmentPreparationDeviceSequence)
-
removePatientTreatmentPreparationDeviceSequence
default void removePatientTreatmentPreparationDeviceSequence()
Removes the Patient Treatment Preparation Device Sequence (seePatientTreatmentPreparationDeviceSequence
-
-