Package javax.xml.registry.infomodel
Interface PersonName
public interface PersonName
Represents a person's name.
- Author:
- Farrukh S. Najmi
-
Method Summary
Modifier and TypeMethodDescriptionGets the first name for this Person.Gets the fully formatted name for this person.Gets the last name (surname) for this Person.Gets the middle name for this Person.voidsetFirstName(String firstName) Sets the first name for this Person.voidsetFullName(String fullName) Sets the fully formatted name for this person.voidsetLastName(String lastName) Sets the last name (surname) for this Person.voidsetMiddleName(String middleName) Sets the middle name for this Person.
-
Method Details
-
getLastName
Gets the last name (surname) for this Person. Default is a NULL String.- Capability Level: 1
- Returns:
- the person's last name
- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error
-
setLastName
Sets the last name (surname) for this Person.- Capability Level: 1
- Parameters:
lastName- the person's last name- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error
-
getFirstName
Gets the first name for this Person. Default is an empty String.- Capability Level: 1
- Returns:
- the person's first name
- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error
-
setFirstName
Sets the first name for this Person.- Capability Level: 1
- Parameters:
firstName- the person's first name- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error
-
getMiddleName
Gets the middle name for this Person. Default is an empty String.- Capability Level: 1
- Returns:
- the person's middle name
- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error
-
setMiddleName
Sets the middle name for this Person.- Capability Level: 1
- Parameters:
middleName- the person's middle name- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error
-
getFullName
Gets the fully formatted name for this person. Default is an empty String.- Capability Level: 0
- Returns:
- the person's full name
- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error
-
setFullName
Sets the fully formatted name for this person.- Capability Level: 0
- Parameters:
fullName- the person's full name- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error
-