com.sun.xml.registry.uddi.infomodel
Class EmailAddressImpl

java.lang.Object
  extended by 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
EmailAddressImpl()
          Default constructor
EmailAddressImpl(String address)
          Utility constructor
EmailAddressImpl(String address, String type)
          Utility constructor
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmailAddressImpl

public EmailAddressImpl()
Default constructor


EmailAddressImpl

public EmailAddressImpl(String address)
Utility constructor


EmailAddressImpl

public EmailAddressImpl(String address,
                        String type)
Utility constructor

Method Detail

getAddress

public String getAddress()
                  throws JAXRException
Returns the email address for this object.

Specified by:
getAddress in interface EmailAddress
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:
setAddress in interface EmailAddress
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:
getType in interface EmailAddress
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:
setType in interface EmailAddress
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


Copyright © 2005-2013 Oracle Corporation. All Rights Reserved.