org.eclipse.ohf.bridge.type
Class PatientNameType
java.lang.Object
org.eclipse.ohf.bridge.type.PatientNameType
- All Implemented Interfaces:
- java.io.Serializable
public class PatientNameType
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
EMPTY_NAME
public static final PatientNameType EMPTY_NAME
PatientNameType
public PatientNameType()
getGivenName
public java.lang.String getGivenName()
- Returns:
- the firstName
setGivenName
public void setGivenName(java.lang.String firstName)
- Parameters:
firstName - the firstName to set
getFamilyName
public java.lang.String getFamilyName()
- Returns:
- the lastName
setFamilyName
public void setFamilyName(java.lang.String lastName)
- Parameters:
lastName - the lastName to set
getOtherName
public java.lang.String getOtherName()
- Returns:
- the otherNames
setOtherName
public void setOtherName(java.lang.String otherNames)
- Parameters:
otherNames - the otherNames to set
getPrefix
public java.lang.String getPrefix()
- Returns:
- the prefix
setPrefix
public void setPrefix(java.lang.String prefix)
- Parameters:
prefix - the prefix to set
getSuffix
public java.lang.String getSuffix()
- Returns:
- the suffix
setSuffix
public void setSuffix(java.lang.String suffix)
- Parameters:
suffix - the suffix to set
toString
public java.lang.String toString()
- Constructs a
String with all attributes in name = value format.
- Overrides:
toString in class java.lang.Object
- Returns:
- a
String representation of this object.
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object