public class PersonNameImpl extends java.lang.Object implements PersonName
PersonName
.Constructor and Description |
---|
PersonNameImpl(javax.xml.registry.infomodel.PersonName jaxrPersonName)
Constructs a new object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFirstName()
Gets the first name for this Person.
|
java.lang.String |
getFullName()
Gets the fully formatted name for this person.
|
javax.xml.registry.infomodel.PersonName |
getJaxrPersonName()
Get the the javax.xml.registry.infomodel.PersonName instance wrapped by
this object.
|
java.lang.String |
getLastName()
Gets the last name (surname) for this Person.
|
java.lang.String |
getMiddleName()
Gets the middle name for this Person.
|
void |
setFirstName(java.lang.String firstName)
Sets the first name for this Person.
|
void |
setFullName(java.lang.String fullName)
Sets the fully formatted name for this person.
|
void |
setLastName(java.lang.String lastName)
Sets the last name (surname) for this Person.
|
void |
setMiddleName(java.lang.String middleName)
Sets the middle name for this Person.
|
public PersonNameImpl(javax.xml.registry.infomodel.PersonName jaxrPersonName)
jaxrPersonName
- the JAXR person name.public java.lang.String getFirstName() throws CSAppFrameworkException
PersonName
getFirstName
in interface PersonName
CSAppFrameworkException
- if an internal error occurs on getting the first name.public void setFirstName(java.lang.String firstName) throws CSAppFrameworkException
PersonName
setFirstName
in interface PersonName
firstName
- the first name for this Person.CSAppFrameworkException
- if an internal error occurs on getting the first name.public java.lang.String getFullName() throws CSAppFrameworkException
PersonName
getFullName
in interface PersonName
CSAppFrameworkException
- if an internal error occurs on getting the full name.public void setFullName(java.lang.String fullName) throws CSAppFrameworkException
PersonName
setFullName
in interface PersonName
fullName
- the fully formatted name.CSAppFrameworkException
- if an internal error occurs on setting the full name.public java.lang.String getLastName() throws CSAppFrameworkException
PersonName
getLastName
in interface PersonName
CSAppFrameworkException
- if an internal error occurs on getting the last name.public void setLastName(java.lang.String lastName) throws CSAppFrameworkException
PersonName
setLastName
in interface PersonName
lastName
- the last name (surname) for this Person.CSAppFrameworkException
- if an internal error occurs on setting the last name.public java.lang.String getMiddleName() throws CSAppFrameworkException
PersonName
getMiddleName
in interface PersonName
CSAppFrameworkException
- if an internal error occurs on getting the middle name.public void setMiddleName(java.lang.String middleName) throws CSAppFrameworkException
PersonName
setMiddleName
in interface PersonName
middleName
- the middle name for this Person.CSAppFrameworkException
- if an internal error occurs on setting the middle name.public javax.xml.registry.infomodel.PersonName getJaxrPersonName()