|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
javax.xml.registry.infomodel Interface PersonName
public interface PersonName
Represents a person's name.
- 作者:
- Farrukh S. Najmi
方法摘要 | |
---|---|
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. |
方法详细信息 |
---|
getLastName
String getLastName() throws JAXRException
- Gets the last name (surname) for this Person.
Default is a NULL String.
- Capability Level: 1
- 返回:
- the person's last name
- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
setLastName
void setLastName(String lastName) throws JAXRException
- Sets the last name (surname) for this Person.
- Capability Level: 1
- 参数:
lastName
- the person's last name- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
getFirstName
String getFirstName() throws JAXRException
- Gets the first name for this Person.
Default is an empty String.
- Capability Level: 1
- 返回:
- the person's first name
- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
setFirstName
void setFirstName(String firstName) throws JAXRException
- Sets the first name for this Person.
- Capability Level: 1
- 参数:
firstName
- the person's first name- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
getMiddleName
String getMiddleName() throws JAXRException
- Gets the middle name for this Person.
Default is an empty String.
- Capability Level: 1
- 返回:
- the person's middle name
- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
setMiddleName
void setMiddleName(String middleName) throws JAXRException
- Sets the middle name for this Person.
- Capability Level: 1
- 参数:
middleName
- the person's middle name- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
getFullName
String getFullName() throws JAXRException
- Gets the fully formatted name for this person.
Default is an empty String.
- Capability Level: 0
- 返回:
- the person's full name
- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
setFullName
void setFullName(String fullName) throws JAXRException
- Sets the fully formatted name for this person.
- Capability Level: 0
- 参数:
fullName
- the person's full name- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.