Interface CountryOfResidence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
PatientDemographicModule
- All Known Implementing Classes:
CountryOfResidence.SimpleHolder,UnifiedProcedureStepIOD
- Enclosing class:
- CountryOfResidence
A class implementing this interface can hold attributes which contain the DICOM tag "Country of Residence" (see
CountryOfResidence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault CountryOfResidencedefault voidRemoves the Country of Residence (seeCountryOfResidencestatic CountryOfResidence.Holderwrap(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 Country of Residence (seeCountryOfResidence)- Returns:
- A wrapper object implementing the
CountryOfResidence.Holderinterface.
-
builder
- Returns:
- a
CountryOfResidence.Holder.Builderto create Country of Residence Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theCountryOfResidence.Holder.Builder.- Returns:
- a
CountryOfResidence.Holder.Builderto create Country of Residence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getCountryOfResidence
- Returns:
- the Country of Residence (see
CountryOfResidence)
-
containsCountryOfResidence
default boolean containsCountryOfResidence()- Returns:
- Whether it contains the Country of Residence (see
CountryOfResidence)
-
removeCountryOfResidence
default void removeCountryOfResidence()Removes the Country of Residence (seeCountryOfResidence
-