Interface PatientPhysiologicalStateSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
CurrentFrameFunctionalGroupsSequence.Item,PerFrameFunctionalGroupsSequence.Item,SharedFunctionalGroupsSequence.Item
- Enclosing class:
- PatientPhysiologicalStateSequence
public static interface PatientPhysiologicalStateSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Patient Physiological State Sequence" (seePatientPhysiologicalStateSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPatientPhysiologicalStateSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static PatientPhysiologicalStateSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Patient Physiological State Sequence (seePatientPhysiologicalStateSequence)- Returns:
- a wrapper object implementing the
PatientPhysiologicalStateSequence.Holderinterface.
-
builder
static PatientPhysiologicalStateSequence.Holder.Builder 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
default PatientPhysiologicalStateSequence getPatientPhysiologicalStateSequence()
- Returns:
- the Patient Physiological State Sequence (see
PatientPhysiologicalStateSequence)
-
newPatientPhysiologicalStateSequence
default PatientPhysiologicalStateSequence newPatientPhysiologicalStateSequence(int initialCapacity)
Adds a new Patient Physiological State Sequence. (seePatientPhysiologicalStateSequence)- Parameters:
initialCapacity- the initial capacity for the new Patient Physiological State Sequence- Returns:
- the newly created PatientPhysiologicalStateSequence.
-
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
default PatientPhysiologicalStateSequence 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
-
-