Interface PatientPhysiologicalStateSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
PatientPhysiologicalStateSequence.SimpleHolder
- Enclosing class:
- PatientPhysiologicalStateSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Patient Physiological State Sequence" (see
PatientPhysiologicalStateSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new Patient Physiological State Sequence (seePatientPhysiologicalStateSequence) with initial capacity 1 (seeensurePatientPhysiologicalStateSequence(int)) if it does not already exist.ensurePatientPhysiologicalStateSequence(int initialCapacity) Adds a new Patient Physiological State Sequence (seePatientPhysiologicalStateSequence) if it does not already exist.newPatientPhysiologicalStateSequence(int initialCapacity) Adds a new Patient Physiological State Sequence.default voidRemoves the Patient Physiological State Sequence (seePatientPhysiologicalStateSequencewrap(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 Physiological State Sequence (seePatientPhysiologicalStateSequence)- Returns:
- A wrapper object implementing the
PatientPhysiologicalStateSequence.Holderinterface.
-
builder
- Returns:
- a
PatientPhysiologicalStateSequence.Holder.Builderto create Patient Physiological State Sequence Items with a fluent API.
-
builder
static PatientPhysiologicalStateSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by thePatientPhysiologicalStateSequence.Holder.Builder.- Returns:
- a
PatientPhysiologicalStateSequence.Holder.Builderto create Patient Physiological State Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getPatientPhysiologicalStateSequence
- Returns:
- the Patient Physiological State Sequence (see
PatientPhysiologicalStateSequence)
-
newPatientPhysiologicalStateSequence
Adds a new Patient Physiological State Sequence. (seePatientPhysiologicalStateSequence)- Parameters:
initialCapacity- the initial capacity for the new Patient Physiological State Sequence
-
ensurePatientPhysiologicalStateSequence
default PatientPhysiologicalStateSequence ensurePatientPhysiologicalStateSequence(int initialCapacity) Adds a new Patient Physiological State Sequence (seePatientPhysiologicalStateSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Patient Physiological State Sequence is created.- Returns:
- Either the already existing Patient Physiological State Sequence (see
PatientPhysiologicalStateSequence) or a new one with capacityinitialCapacity.
-
ensurePatientPhysiologicalStateSequence
Adds a new Patient Physiological State Sequence (seePatientPhysiologicalStateSequence) with initial capacity 1 (seeensurePatientPhysiologicalStateSequence(int)) if it does not already exist.- Returns:
- Either the already existing Patient Physiological State Sequence (see
PatientPhysiologicalStateSequence) or a new one with capacity 1.
-
containsPatientPhysiologicalStateSequence
default boolean containsPatientPhysiologicalStateSequence()- Returns:
- Whether it contains the Patient Physiological State Sequence (see
PatientPhysiologicalStateSequence)
-
removePatientPhysiologicalStateSequence
default void removePatientPhysiologicalStateSequence()Removes the Patient Physiological State Sequence (seePatientPhysiologicalStateSequence
-