Class Name<T extends 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 Type>
-
Field Summary
Fields inherited from class org.openehealth.ipf.commons.ihe.xds.core.metadata.Hl7v2Based
MESSAGE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Copy all name properties from the given name to this object.boolean
abstract String
abstract String
abstract String
abstract String
abstract String
abstract String
int
hashCode()
abstract void
abstract void
setFamilyName
(String value) abstract void
setGivenName
(String value) abstract void
abstract void
abstract void
toString()
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
-
-
getFamilyName
-
getGivenName
-
getSecondAndFurtherGivenNames
-
getSuffix
-
getPrefix
-
getDegree
-
setFamilyName
-
setGivenName
-
setSecondAndFurtherGivenNames
-
setSuffix
-
setPrefix
-
setDegree
-
equals
-
hashCode
public int hashCode() -
toString
-