Interface PatientPrimaryLanguageCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
PatientDemographicModule
- All Known Implementing Classes:
UnifiedProcedureStepIOD
- Enclosing class:
- PatientPrimaryLanguageCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Patient's Primary Language Code Sequence" (see
PatientPrimaryLanguageCodeSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanAdds a new Patient's Primary Language Code Sequence (seePatientPrimaryLanguageCodeSequence) with initial capacity 1 (seeensurePatientPrimaryLanguageCodeSequence(int)) if it does not already exist.ensurePatientPrimaryLanguageCodeSequence(int initialCapacity) Adds a new Patient's Primary Language Code Sequence (seePatientPrimaryLanguageCodeSequence) if it does not already exist.newPatientPrimaryLanguageCodeSequence(int initialCapacity) Adds a new Patient's Primary Language Code Sequence.default voidRemoves the Patient's Primary Language Code Sequence (seePatientPrimaryLanguageCodeSequencewrap(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's Primary Language Code Sequence (seePatientPrimaryLanguageCodeSequence)- Returns:
- A wrapper object implementing the
PatientPrimaryLanguageCodeSequence.Holderinterface.
-
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
-
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
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
-