Class EmailAddressImpl
- java.lang.Object
-
- com.sun.xml.registry.uddi.infomodel.EmailAddressImpl
-
- All Implemented Interfaces:
Serializable,EmailAddress
public class EmailAddressImpl extends Object implements EmailAddress, Serializable
Implementation of EmailAddress interface- Author:
- Farrukh S. Najmi
- See Also:
User, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EmailAddressImpl()Default constructorEmailAddressImpl(String address)Utility constructorEmailAddressImpl(String address, String type)Utility constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAddress()Returns the email address for this object.StringgetType()The type for this object.voidsetAddress(String address)Sets the email address for this object.voidsetType(String type)Sets the type for this object.
-
-
-
Method Detail
-
getAddress
public String getAddress() throws JAXRException
Returns the email address for this object.- Specified by:
getAddressin interfaceEmailAddress- Returns:
- the actual email address (e.g. john.doe@acme.com)
- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
setAddress
public void setAddress(String address) throws JAXRException
Sets the email address for this object.- Specified by:
setAddressin interfaceEmailAddress- Parameters:
address- the actual email address (e.g. john.doe@acme.com)- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
getType
public String getType() throws JAXRException
The type for this object.- Specified by:
getTypein interfaceEmailAddress- Returns:
- the usage type for this object which is an arbitrary value (e.g. "Home" or "Office")
- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
setType
public void setType(String type) throws JAXRException
Sets the type for this object.- Specified by:
setTypein interfaceEmailAddress- Parameters:
type- the usage type for this object which is an arbitrary value (e.g. "Home" or "Office")- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
-