Class HumanNameBuilder.Impl
- java.lang.Object
-
- com.babylonhealth.lit.core_java.builders.HumanNameBuilder.Impl
-
- All Implemented Interfaces:
ElementBuilder,HumanNameBuilder
- Enclosing interface:
- HumanNameBuilder
public static class HumanNameBuilder.Impl extends java.lang.Object implements HumanNameBuilder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.babylonhealth.lit.core_java.builders.HumanNameBuilder
HumanNameBuilder.Impl
-
-
Constructor Summary
Constructors Constructor Description Impl()Required fields forHumanName
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.babylonhealth.lit.core.model.HumanNamebuild()HumanNameBuilder.ImplwithExtension(@NonNull ExtensionBuilder... extension)HumanNameBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core.model.Extension... extension)HumanNameBuilder.ImplwithExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)HumanNameBuilder.ImplwithFamily(@NonNull java.lang.String family)HumanNameBuilder.ImplwithGiven(@NonNull java.lang.String... given)HumanNameBuilder.ImplwithGiven(@NonNull java.util.Collection<java.lang.String> given)HumanNameBuilder.ImplwithId(@NonNull java.lang.String id)HumanNameBuilder.ImplwithPeriod(@NonNull PeriodBuilder period)HumanNameBuilder.ImplwithPeriod(@NonNull com.babylonhealth.lit.core.model.Period period)HumanNameBuilder.ImplwithPrefix(@NonNull java.lang.String... prefix)HumanNameBuilder.ImplwithPrefix(@NonNull java.util.Collection<java.lang.String> prefix)HumanNameBuilder.ImplwithSuffix(@NonNull java.lang.String... suffix)HumanNameBuilder.ImplwithSuffix(@NonNull java.util.Collection<java.lang.String> suffix)HumanNameBuilder.ImplwithText(@NonNull java.lang.String text)HumanNameBuilder.ImplwithUse(@NonNull com.babylonhealth.lit.core.NAME_USE use)
-
-
-
Method Detail
-
withId
public HumanNameBuilder.Impl withId(@NonNull @NonNull java.lang.String id)
- Parameters:
id- - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
-
withUse
public HumanNameBuilder.Impl withUse(@NonNull @NonNull com.babylonhealth.lit.core.NAME_USE use)
- Parameters:
use- - Identifies the purpose for this name.
-
withText
public HumanNameBuilder.Impl withText(@NonNull @NonNull java.lang.String text)
- Parameters:
text- - Specifies the entire name as it should be displayed e.g. on an application UI. This may be provided instead of or as well as the specific parts.
-
withGiven
public HumanNameBuilder.Impl withGiven(@NonNull @NonNull java.lang.String... given)
- Parameters:
given- - Given name.
-
withGiven
public HumanNameBuilder.Impl withGiven(@NonNull @NonNull java.util.Collection<java.lang.String> given)
- Parameters:
given- - Given name.
-
withFamily
public HumanNameBuilder.Impl withFamily(@NonNull @NonNull java.lang.String family)
- Parameters:
family- - The part of a name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father.
-
withPrefix
public HumanNameBuilder.Impl withPrefix(@NonNull @NonNull java.lang.String... prefix)
- Parameters:
prefix- - Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name.
-
withPrefix
public HumanNameBuilder.Impl withPrefix(@NonNull @NonNull java.util.Collection<java.lang.String> prefix)
- Parameters:
prefix- - Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name.
-
withSuffix
public HumanNameBuilder.Impl withSuffix(@NonNull @NonNull java.lang.String... suffix)
- Parameters:
suffix- - Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name.
-
withSuffix
public HumanNameBuilder.Impl withSuffix(@NonNull @NonNull java.util.Collection<java.lang.String> suffix)
- Parameters:
suffix- - Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name.
-
withPeriod
public HumanNameBuilder.Impl withPeriod(@NonNull @NonNull com.babylonhealth.lit.core.model.Period period)
- Parameters:
period- - Indicates the period of time when this name was valid for the named person.
-
withPeriod
public HumanNameBuilder.Impl withPeriod(@NonNull @NonNull PeriodBuilder period)
-
withExtension
public HumanNameBuilder.Impl withExtension(@NonNull @NonNull com.babylonhealth.lit.core.model.Extension... extension)
- Parameters:
extension- - May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
-
withExtension
public HumanNameBuilder.Impl withExtension(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)
- Parameters:
extension- - May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
-
withExtension
public HumanNameBuilder.Impl withExtension(@NonNull @NonNull ExtensionBuilder... extension)
-
build
public com.babylonhealth.lit.core.model.HumanName build()
- Specified by:
buildin interfaceElementBuilder- Specified by:
buildin interfaceHumanNameBuilder
-
-