Class Name<T extends ca.uhn.hl7v2.model.Composite>
java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.metadata.Hl7v2Based<T>
org.openehealth.ipf.commons.ihe.xds.core.metadata.Name<T>
- All Implemented Interfaces:
Serializable
This class represents a name.
It is derived from the HL7v2 data types XPN and XCN. It only contains naming related fields of these data types.
All members of this class are allowed to be null. When transforming
to HL7 this indicates that the values are empty. Trailing empty values are
removed from the HL7 string.
- Author:
- Jens Riemschneider, Dmytro Rud
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openehealth.ipf.commons.ihe.xds.core.metadata.Hl7v2Based
Hl7v2Based.Holder<T extends ca.uhn.hl7v2.model.Type> -
Field Summary
Fields inherited from class org.openehealth.ipf.commons.ihe.xds.core.metadata.Hl7v2Based
MESSAGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidCopy all name properties from the given name to this object.booleanabstract Stringabstract Stringabstract Stringabstract Stringabstract Stringabstract StringinthashCode()abstract voidabstract voidsetFamilyName(String value) abstract voidsetGivenName(String value) abstract voidabstract voidabstract voidtoString()Methods inherited from class org.openehealth.ipf.commons.ihe.xds.core.metadata.Hl7v2Based
getHapiObject, getIntegerValue, getLongValue, isEmpty, parse, rawRender, render, render, setAssigningAuthority, setValue, setValue
-
Constructor Details
-
Name
public Name() -
Name
-
-
Method Details
-
copyFrom
Copy all name properties from the given name to this object.- Parameters:
name- name to be copied
-
getFamilyName
-
getGivenName
-
getSecondAndFurtherGivenNames
-
getSuffix
-
getPrefix
-
getDegree
-
setFamilyName
-
setGivenName
-
setSecondAndFurtherGivenNames
-
setSuffix
-
setPrefix
-
setDegree
-
equals
-
hashCode
public int hashCode() -
toString
-