|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.xml.registry.infomodel Interface User
- All Superinterfaces:
- ExtensibleObject, RegistryObject
public interface User
- extends RegistryObject
Implements:
RegistryObject
User 实例是用于提供向注册表注册的用户信息的 RegistryObject。User 隶属于 Organization。User 对象用于对 RegistryObject 的审计追踪。
See also | javax.xml.registry.infomodel.Organization, javax.xml.registry.infomodel.AuditableEvent |
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.
- Author:
- Farrukh S. Najmi
- See Also:
Organization
,AuditableEvent
Method Summary | |
---|---|
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 |
Method Detail |
---|
public Organization
getOrganization() throws JAXRException
获取此 User 隶属的 Organization。
- 功能级别:0
return | 此 User 隶属的 Organization | |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 | |
supplierCardinality | 1 | |
associates | <{Organization}> | |
directed | ||
supplierRole |
| |
clientCardinality | 1..* |
getOrganization
Organization getOrganization() throws JAXRException
- Gets the Organization that this User is affiliated with.
- Capability Level: 0
- Returns:
- the Organization that this User is affiliated with
- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public PersonName
getPersonName() throws JAXRException
返回此 User 的名称。
- 功能级别:0
return | 此 User 的名称 |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
getPersonName
PersonName getPersonName() throws JAXRException
- Returns the name of this User.
- Capability Level: 0
- Returns:
- the name of this User
- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public void
setPersonName(PersonName personName) throws JAXRException
设置此 User 的名称。
- 功能级别:0
personName | 此 User 的名称 |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
setPersonName
void setPersonName(PersonName personName) throws JAXRException
- Sets the name of this User.
- Capability Level: 0
- Parameters:
personName
- the name of this User- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public java.util.Collection<E>
getPostalAddresses() throws JAXRException
获取此 User 的邮政地址。
- 功能级别:0
return | PostalAddress 实例所组成的 Collection。Collection 可以为空,但不能为 null。 | |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 | |
supplierCardinality | 1 | |
associates | <{PostalAddress}> | |
directed | ||
supplierRole |
| |
clientCardinality | 1..* | |
See also | javax.xml.registry.infomodel.PostalAddress |
getPostalAddresses
Collection getPostalAddresses() throws JAXRException
- Gets the postal address for this User.
- Capability Level: 0
- Returns:
- Collection of PostalAddress instances. The Collection may be empty but not null.
- Throws:
JAXRException
- If the JAXR provider encounters an internal error- See Also:
PostalAddress
public void
setPostalAddresses(java.util.Collection<E> addresses) throws JAXRException
设置此 User 的地址。
设置此 User 的地址。
- 功能级别:0
addresses | PostAddress 实例所组成的 Collection。 |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
setPostalAddresses
void setPostalAddresses(Collection addresses) throws JAXRException
- Sets the addresses for this User.
- Capability Level: 0
- Parameters:
addresses
- Is a Collection of PostAddress instances.- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public java.net.URL
getUrl() throws JAXRException
获取指向此 User 的 Web 页面的 URL。
- 功能级别:1
return | 此 User 主页的 URL |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
getUrl
URL getUrl() throws JAXRException
- Gets the URL to the web page for this User.
- Capability Level: 1
- Returns:
- the URL for this User's home page
- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public void
setUrl(java.net.URL url) throws JAXRException
设置指向此 User 的 Web 页面的 URL。
- 功能级别:1
url | 此 User 主页的 URL |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
setUrl
void setUrl(URL url) throws JAXRException
- Sets the URL to the web page for this User.
- Capability Level: 1
- Parameters:
url
- the URL for this User's home page- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public java.util.Collection<E>
getTelephoneNumbers(String phoneType) throws JAXRException
获取此 User 匹配指定电话号码类型的电话号码。
- 功能级别:0
return | TelephoneNumber 实例所组成的 Collection。Collection 可以为空,但不能为 null。 | |
phoneType | 指定要返回的电话号码的类型。如果 phoneType 为 null,则返回所有 telephoneNumber | |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 | |
supplierCardinality | 1 | |
associates | <{TelephoneNumber}> | |
directed | ||
supplierRole |
| |
clientCardinality | 1..* | |
See also | javax.xml.registry.infomodel.TelephoneNumber |
getTelephoneNumbers
Collection getTelephoneNumbers(String phoneType) throws JAXRException
- Gets the telephone numbers for this User that match the specified telephone number type.
- Capability Level: 0
- Parameters:
phoneType
- specifies the type of phone numbers to be returned. If phoneType is null, return all telephoneNumbers- Returns:
- Collection of TelephoneNumber instances. The Collection may be empty but not null.
- Throws:
JAXRException
- If the JAXR provider encounters an internal error- See Also:
TelephoneNumber
public void
setTelephoneNumbers(java.util.Collection<E> phoneNumbers) throws JAXRException
为此用户设置各种电话号码。
为此用户设置各种电话号码。
- 功能级别:0
phoneNumbers | 将设置的 TelephoneNumber 所组成的 Collection |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
setTelephoneNumbers
void setTelephoneNumbers(Collection phoneNumbers) throws JAXRException
- Sets the various telephone numbers for this user.
- Capability Level: 0
- Parameters:
phoneNumbers
- the Collection of TelephoneNumbers to be set- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public java.util.Collection<E>
getEmailAddresses() throws JAXRException
获取此 User 的电子邮件地址。
- 功能级别:0
return | EmailAddress 实例所组成的 Collection。Collection 可以为空,但不能为 null。 | |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 | |
supplierCardinality | 1 | |
associates | <{EmailAddress}> | |
directed | ||
supplierRole |
| |
clientCardinality | 0..* | |
See also | javax.xml.registry.infomodel.EmailAddress |
getEmailAddresses
Collection getEmailAddresses() throws JAXRException
- Gets the email addresses for this User.
- Capability Level: 0
- Returns:
- Collection of EmailAddress instances. The Collection may be empty but not null.
- Throws:
JAXRException
- If the JAXR provider encounters an internal error- See Also:
EmailAddress
public void
setEmailAddresses(java.util.Collection<E> emailAddresses) throws JAXRException
设置此 User 的 EmailAddress 实例所组成的 Collection。
设置此 User 的 EmailAddress 实例所组成的 Collection。
- 功能级别:0
emailAddresses | 将设置的 EmailAddress 所组成的 Collection |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
setEmailAddresses
void setEmailAddresses(Collection emailAddresses) throws JAXRException
- Sets the Collection of EmailAddress instances for this User.
- Capability Level: 0
- Parameters:
emailAddresses
- the Collection of EmailAddresses to be set- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public String
getType() throws JAXRException
获取此 User 的类型。默认值为 NULL 字符串。
- 功能级别:0
return | 此 User 的类型,它是任意 String |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
getType
String getType() throws JAXRException
- Gets the type for this User.
Default is a NULL String.
- Capability Level: 0
- Returns:
- the type for this User, which is an arbitrary String
- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public void
setType(String type) throws JAXRException
设置此 User 的类型。
- 功能级别:0
type | 此 User 的类型,它是任意 String |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
setType
void setType(String type) throws JAXRException
- Sets the type for this User.
- Capability Level: 0
- Parameters:
type
- the type for this User, which is an arbitrary String- 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 : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!