Interface PatientSetupSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
RTPatientSetupModule
- All Known Implementing Classes:
GeneralMachineVerificationSequence.Item,PatientSetupSequence.SimpleHolder,RTBeamsTreatmentRecordIOD,RTBrachyTreatmentRecordIOD,RTIonBeamsTreatmentRecordIOD,RTIonPlanIOD,RTPlanIOD
- Enclosing class:
- PatientSetupSequence
public static interface PatientSetupSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Patient Setup Sequence" (seePatientSetupSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPatientSetupSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static PatientSetupSequence.Holder.Builderbuilder()static PatientSetupSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsPatientSetupSequence()default PatientSetupSequenceensurePatientSetupSequence()Adds a new Patient Setup Sequence (seePatientSetupSequence) with initial capacity 1 (seeensurePatientSetupSequence(int)) if it does not already exist.default PatientSetupSequenceensurePatientSetupSequence(int initialCapacity)Adds a new Patient Setup Sequence (seePatientSetupSequence) if it does not already exist.default PatientSetupSequencegetPatientSetupSequence()default PatientSetupSequencenewPatientSetupSequence(int initialCapacity)Adds a new Patient Setup Sequence.default voidremovePatientSetupSequence()Removes the Patient Setup Sequence (seePatientSetupSequencestatic PatientSetupSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static PatientSetupSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Patient Setup Sequence (seePatientSetupSequence)- Returns:
- a wrapper object implementing the
PatientSetupSequence.Holderinterface.
-
builder
static PatientSetupSequence.Holder.Builder builder()
- Returns:
- a
PatientSetupSequence.Holder.Builderto create Patient Setup Sequence Items with a fluent API.
-
builder
static PatientSetupSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by thePatientSetupSequence.Holder.Builder.- Returns:
- a
PatientSetupSequence.Holder.Builderto create Patient Setup Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getPatientSetupSequence
default PatientSetupSequence getPatientSetupSequence()
- Returns:
- the Patient Setup Sequence (see
PatientSetupSequence)
-
newPatientSetupSequence
default PatientSetupSequence newPatientSetupSequence(int initialCapacity)
Adds a new Patient Setup Sequence. (seePatientSetupSequence)- Parameters:
initialCapacity- the initial capacity for the new Patient Setup Sequence- Returns:
- the newly created PatientSetupSequence.
-
ensurePatientSetupSequence
default PatientSetupSequence ensurePatientSetupSequence(int initialCapacity)
Adds a new Patient Setup Sequence (seePatientSetupSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Patient Setup Sequence is created.- Returns:
- either the already existing Patient Setup Sequence (see
PatientSetupSequence) or a new one with capacityinitialCapacity.
-
ensurePatientSetupSequence
default PatientSetupSequence ensurePatientSetupSequence()
Adds a new Patient Setup Sequence (seePatientSetupSequence) with initial capacity 1 (seeensurePatientSetupSequence(int)) if it does not already exist.- Returns:
- either the already existing Patient Setup Sequence (see
PatientSetupSequence) or a new one with capacity 1.
-
containsPatientSetupSequence
default boolean containsPatientSetupSequence()
- Returns:
- whether it contains the Patient Setup Sequence (see
PatientSetupSequence)
-
removePatientSetupSequence
default void removePatientSetupSequence()
Removes the Patient Setup Sequence (seePatientSetupSequence
-
-