|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
javax.xml.registry.infomodel Interface User
- 所有父接口:
- ExtensibleObject, RegistryObject
public interface User
- extends RegistryObject
User instances are RegistryObjects that are used to provide information about registered users within the registry. Users are affiliated with Organizations. User objects are used in the audit trail for a RegistryObject.
- 作者:
- Farrukh S. Najmi
- 另请参见:
Organization
,AuditableEvent
方法摘要 | |
---|---|
Collection |
getEmailAddresses()
Gets the email addresses for this User. |
Organization |
getOrganization()
Gets the Organization that this User is affiliated with. |
PersonName |
getPersonName()
Returns the name of this User. |
Collection |
getPostalAddresses()
Gets the postal address for this User. |
Collection |
getTelephoneNumbers(String phoneType)
Gets the telephone numbers for this User that match the specified telephone number type. |
String |
getType()
Gets the type for this User. |
URL |
getUrl()
Gets the URL to the web page for this User. |
void |
setEmailAddresses(Collection emailAddresses)
Sets the Collection of EmailAddress instances for this User. |
void |
setPersonName(PersonName personName)
Sets the name of this User. |
void |
setPostalAddresses(Collection addresses)
Sets the addresses for this User. |
void |
setTelephoneNumbers(Collection phoneNumbers)
Sets the various telephone numbers for this user. |
void |
setType(String type)
Sets the type for this User. |
void |
setUrl(URL url)
Sets the URL to the web page for this User. |
Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject |
---|
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots |
方法详细信息 |
---|
getOrganization
Organization getOrganization() throws JAXRException
- Gets the Organization that this User is affiliated with.
- Capability Level: 0
- 返回:
- the Organization that this User is affiliated with
- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
getPersonName
PersonName getPersonName() throws JAXRException
- Returns the name of this User.
- Capability Level: 0
- 返回:
- the name of this User
- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
setPersonName
void setPersonName(PersonName personName) throws JAXRException
- Sets the name of this User.
- Capability Level: 0
- 参数:
personName
- the name of this User- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
getPostalAddresses
Collection getPostalAddresses() throws JAXRException
- Gets the postal address for this User.
- Capability Level: 0
- 返回:
- Collection of PostalAddress instances. The Collection may be empty but not null.
- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error- 另请参见:
PostalAddress
setPostalAddresses
void setPostalAddresses(Collection addresses) throws JAXRException
- Sets the addresses for this User.
- Capability Level: 0
- 参数:
addresses
- Is a Collection of PostAddress instances.- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
getUrl
URL getUrl() throws JAXRException
- Gets the URL to the web page for this User.
- Capability Level: 1
- 返回:
- the URL for this User's home page
- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
setUrl
void setUrl(URL url) throws JAXRException
- Sets the URL to the web page for this User.
- Capability Level: 1
- 参数:
url
- the URL for this User's home page- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
getTelephoneNumbers
Collection getTelephoneNumbers(String phoneType) throws JAXRException
- Gets the telephone numbers for this User that match the specified telephone number type.
- Capability Level: 0
- 参数:
phoneType
- specifies the type of phone numbers to be returned. If phoneType is null, return all telephoneNumbers- 返回:
- Collection of TelephoneNumber instances. The Collection may be empty but not null.
- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error- 另请参见:
TelephoneNumber
setTelephoneNumbers
void setTelephoneNumbers(Collection phoneNumbers) throws JAXRException
- Sets the various telephone numbers for this user.
- Capability Level: 0
- 参数:
phoneNumbers
- the Collection of TelephoneNumbers to be set- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
getEmailAddresses
Collection getEmailAddresses() throws JAXRException
- Gets the email addresses for this User.
- Capability Level: 0
- 返回:
- Collection of EmailAddress instances. The Collection may be empty but not null.
- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error- 另请参见:
EmailAddress
setEmailAddresses
void setEmailAddresses(Collection emailAddresses) throws JAXRException
- Sets the Collection of EmailAddress instances for this User.
- Capability Level: 0
- 参数:
emailAddresses
- the Collection of EmailAddresses to be set- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
getType
String getType() throws JAXRException
- Gets the type for this User.
Default is a NULL String.
- Capability Level: 0
- 返回:
- the type for this User, which is an arbitrary String
- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
setType
void setType(String type) throws JAXRException
- Sets the type for this User.
- Capability Level: 0
- 参数:
type
- the type for this User, which is an arbitrary String- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.