Interface PatientPrimaryLanguageCodeSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
PatientDemographicModule
- All Known Implementing Classes:
PatientPrimaryLanguageCodeSequence.SimpleHolder,UnifiedProcedureStepIOD
- Enclosing class:
- PatientPrimaryLanguageCodeSequence
public static interface PatientPrimaryLanguageCodeSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Patient's Primary Language Code Sequence" (seePatientPrimaryLanguageCodeSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPatientPrimaryLanguageCodeSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static PatientPrimaryLanguageCodeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Patient's Primary Language Code Sequence (seePatientPrimaryLanguageCodeSequence)- Returns:
- a wrapper object implementing the
PatientPrimaryLanguageCodeSequence.Holderinterface.
-
builder
static PatientPrimaryLanguageCodeSequence.Holder.Builder builder()
- Returns:
- a
PatientPrimaryLanguageCodeSequence.Holder.Builderto create Patient's Primary Language Code Sequence Items with a fluent API.
-
builder
static PatientPrimaryLanguageCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by thePatientPrimaryLanguageCodeSequence.Holder.Builder.- Returns:
- a
PatientPrimaryLanguageCodeSequence.Holder.Builderto create Patient's Primary Language Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getPatientPrimaryLanguageCodeSequence
default PatientPrimaryLanguageCodeSequence getPatientPrimaryLanguageCodeSequence()
- Returns:
- the Patient's Primary Language Code Sequence (see
PatientPrimaryLanguageCodeSequence)
-
newPatientPrimaryLanguageCodeSequence
default PatientPrimaryLanguageCodeSequence newPatientPrimaryLanguageCodeSequence(int initialCapacity)
Adds a new Patient's Primary Language Code Sequence. (seePatientPrimaryLanguageCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Patient's Primary Language Code Sequence- Returns:
- the newly created PatientPrimaryLanguageCodeSequence.
-
ensurePatientPrimaryLanguageCodeSequence
default PatientPrimaryLanguageCodeSequence ensurePatientPrimaryLanguageCodeSequence(int initialCapacity)
Adds a new Patient's Primary Language Code Sequence (seePatientPrimaryLanguageCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Patient's Primary Language Code Sequence is created.- Returns:
- either the already existing Patient's Primary Language Code Sequence (see
PatientPrimaryLanguageCodeSequence) or a new one with capacityinitialCapacity.
-
ensurePatientPrimaryLanguageCodeSequence
default PatientPrimaryLanguageCodeSequence ensurePatientPrimaryLanguageCodeSequence()
Adds a new Patient's Primary Language Code Sequence (seePatientPrimaryLanguageCodeSequence) with initial capacity 1 (seeensurePatientPrimaryLanguageCodeSequence(int)) if it does not already exist.- Returns:
- either the already existing Patient's Primary Language Code Sequence (see
PatientPrimaryLanguageCodeSequence) or a new one with capacity 1.
-
containsPatientPrimaryLanguageCodeSequence
default boolean containsPatientPrimaryLanguageCodeSequence()
- Returns:
- whether it contains the Patient's Primary Language Code Sequence (see
PatientPrimaryLanguageCodeSequence)
-
removePatientPrimaryLanguageCodeSequence
default void removePatientPrimaryLanguageCodeSequence()
Removes the Patient's Primary Language Code Sequence (seePatientPrimaryLanguageCodeSequence
-
-