public class HumanName extends Type implements ICompositeType
| Modifier and Type | Class and Description |
|---|---|
static class |
HumanName.NameUse |
static class |
HumanName.NameUseEnumFactory |
| Constructor and Description |
|---|
HumanName() |
addExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getId, getIdElement, hasExtension, hasId, hasIdElement, setId, setIdElementchildren, compareDeep, compareDeep, compareDeep, compareValues, compareValues, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasUserData, listChildrenByName, setUserData, setUserDataINNpublic Enumeration<HumanName.NameUse> getUseElement()
use (Identifies the purpose for this name.). This is the underlying object with id, value and extensions. The accessor "getUse" gives direct access to the valuepublic boolean hasUseElement()
public boolean hasUse()
public HumanName setUseElement(Enumeration<HumanName.NameUse> value)
value - use (Identifies the purpose for this name.). This is the underlying object with id, value and extensions. The accessor "getUse" gives direct access to the valuepublic HumanName.NameUse getUse()
public HumanName setUse(HumanName.NameUse value)
value - Identifies the purpose for this name.public StringType getTextElement()
text (A full text representation of the name.). This is the underlying object with id, value and extensions. The accessor "getText" gives direct access to the valuepublic boolean hasTextElement()
public boolean hasText()
public HumanName setTextElement(StringType value)
value - text (A full text representation of the name.). This is the underlying object with id, value and extensions. The accessor "getText" gives direct access to the valuepublic String getText()
public HumanName setText(String value)
value - A full text representation of the name.public List<StringType> getFamily()
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.)public boolean hasFamily()
public StringType addFamilyElement()
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.)public HumanName addFamily(String value)
value - 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.)public boolean hasFamily(String value)
value - 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.)public List<StringType> getGiven()
given (Given name.)public boolean hasGiven()
public StringType addGivenElement()
given (Given name.)public List<StringType> getPrefix()
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.)public boolean hasPrefix()
public StringType addPrefixElement()
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.)public HumanName addPrefix(String value)
value - 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.)public boolean hasPrefix(String value)
value - 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.)public List<StringType> getSuffix()
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.)public boolean hasSuffix()
public StringType addSuffixElement()
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.)public HumanName addSuffix(String value)
value - 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.)public boolean hasSuffix(String value)
value - 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.)public Period getPeriod()
period (Indicates the period of time when this name was valid for the named person.)public boolean hasPeriod()
public HumanName setPeriod(Period value)
value - period (Indicates the period of time when this name was valid for the named person.)public boolean equalsDeep(Base other)
equalsDeep in class Elementpublic boolean equalsShallow(Base other)
equalsShallow in class ElementCopyright © 2014–2015 University Health Network. All rights reserved.