public interface PersonName
Modifier and Type | Method and Description |
---|---|
String |
getFirstName()
Gets the first name for this Person.
|
String |
getFullName()
Gets the fully formatted name for this person.
|
String |
getLastName()
Gets the last name (surname) for this Person.
|
String |
getMiddleName()
Gets the middle name for this Person.
|
void |
setFirstName(String firstName)
Sets the first name for this Person.
|
void |
setFullName(String fullName)
Sets the fully formatted name for this person.
|
void |
setLastName(String lastName)
Sets the last name (surname) for this Person.
|
void |
setMiddleName(String middleName)
Sets the middle name for this Person.
|
String getLastName() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorvoid setLastName(String lastName) throws JAXRException
lastName
- the person's last nameJAXRException
- If the JAXR provider encounters an internal errorString getFirstName() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorvoid setFirstName(String firstName) throws JAXRException
firstName
- the person's first nameJAXRException
- If the JAXR provider encounters an internal errorString getMiddleName() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorvoid setMiddleName(String middleName) throws JAXRException
middleName
- the person's middle nameJAXRException
- If the JAXR provider encounters an internal errorString getFullName() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorvoid setFullName(String fullName) throws JAXRException
fullName
- the person's full nameJAXRException
- If the JAXR provider encounters an internal errorCopyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.