public class EmailAddressImpl extends Object implements EmailAddress, Serializable
User,
Serialized Form| Constructor and Description |
|---|
EmailAddressImpl()
Default constructor
|
EmailAddressImpl(String address)
Utility constructor
|
EmailAddressImpl(String address,
String type)
Utility constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAddress()
Returns the email address for this object.
|
String |
getType()
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.
|
public EmailAddressImpl()
public EmailAddressImpl(String address)
public String getAddress() throws JAXRException
getAddress in interface EmailAddressJAXRException - If the JAXR provider encounters an internal errorpublic void setAddress(String address) throws JAXRException
setAddress in interface EmailAddressaddress - the actual email address (e.g. john.doe@acme.com)JAXRException - If the JAXR provider encounters an internal errorpublic String getType() throws JAXRException
getType in interface EmailAddressJAXRException - If the JAXR provider encounters an internal errorpublic void setType(String type) throws JAXRException
setType in interface EmailAddresstype - the usage type for this object which is an arbitrary value (e.g. "Home" or "Office")JAXRException - If the JAXR provider encounters an internal errorCopyright © 2005–2017 Oracle Corporation. All rights reserved.