EmailAddress (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.xml.registry.infomodel Interface EmailAddress


public interface EmailAddress

Represents an email address.

作者:
Farrukh S. Najmi
另请参见:
User

方法摘要
 String getAddress()
          Returns the email address for this object.
 String getType()
          Gets the type for this object.
 void setAddress(String address)
          Sets the email address for this object.
 void setType(String type)
          Sets the type for this object.
 

方法详细信息

getAddress

String getAddress()
                  throws JAXRException
Returns the email address for this object. Default is a NULL String.

Capability Level: 0

返回:
the actual email address (e.g. [email protected])
抛出异常:
JAXRException - If the JAXR provider encounters an internal error

setAddress

void setAddress(String address)
                throws JAXRException
Sets the email address for this object.

Capability Level: 0

参数:
address - the actual email address (e.g. [email protected])
抛出异常:
JAXRException - If the JAXR provider encounters an internal error

getType

String getType()
               throws JAXRException
Gets the type for this object. Default is a NULL String.

Capability Level: 0

返回:
the usage type for this object which is an arbitrary value (e.g. "Home" or "Office")
抛出异常:
JAXRException - If the JAXR provider encounters an internal error

setType

void setType(String type)
             throws JAXRException
Sets the type for this object.

Capability Level: 0

参数:
type - the usage type for this object which is an arbitrary value (e.g. "Home" or "Office")
抛出异常:
JAXRException - If the JAXR provider encounters an internal error

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.