|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.xml.registry.infomodel Interface PersonName
public interface PersonName
表示某个人的名字。
Represents a person's name.
- Author:
- Farrukh S. Najmi
Method Summary | |
---|---|
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. |
Method Detail |
---|
public String
getLastName() throws JAXRException
获取此 Person 的姓氏(姓)。默认值为 NULL 字符串。
- 功能级别:1
return | 某个人的姓氏 |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
getLastName
String getLastName() throws JAXRException
- 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 JAXR provider encounters an internal error
public void
setLastName(String lastName) throws JAXRException
设置此 Person 的姓氏(姓)。
- 功能级别:1
lastName | 某个人的姓氏 |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
setLastName
void setLastName(String lastName) throws JAXRException
- Sets the last name (surname) for this Person.
- Capability Level: 1
- Parameters:
lastName
- the person's last name- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public String
getFirstName() throws JAXRException
获取此 Person 的名。默认值为空字符串。
- 功能级别:1
return | 某个人的名 |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
getFirstName
String getFirstName() throws JAXRException
- 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 JAXR provider encounters an internal error
public void
setFirstName(String firstName) throws JAXRException
设置此 Person 的名。
- 功能级别:1
firstName | 某个人的名 |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
setFirstName
void setFirstName(String firstName) throws JAXRException
- Sets the first name for this Person.
- Capability Level: 1
- Parameters:
firstName
- the person's first name- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public String
getMiddleName() throws JAXRException
获取此 Person 的中间名。默认值为空字符串。
- 功能级别:1
return | 某个人的中间名 |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
getMiddleName
String getMiddleName() throws JAXRException
- 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 JAXR provider encounters an internal error
public void
setMiddleName(String middleName) throws JAXRException
设置此 Person 的中间名。
- 功能级别:1
middleName | 某个人的中间名 |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
setMiddleName
void setMiddleName(String middleName) throws JAXRException
- Sets the middle name for this Person.
- Capability Level: 1
- Parameters:
middleName
- the person's middle name- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public String
getFullName() throws JAXRException
获得此 Person 的全名。默认值为空字符串。
- 功能级别:0
return | 某个人的全名 |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
getFullName
String getFullName() throws JAXRException
- 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 JAXR provider encounters an internal error
public void
setFullName(String fullName) throws JAXRException
设置此 Person 的全名。
- 功能级别:0
fullName | 某个人的全名 |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
setFullName
void setFullName(String fullName) throws JAXRException
- Sets the fully formatted name for this person.
- Capability Level: 0
- Parameters:
fullName
- the person's full name- Throws:
JAXRException
- If the JAXR provider encounters an internal error
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!