Class EmailAddressImpl

  • All Implemented Interfaces:
    Serializable, javax.xml.registry.infomodel.EmailAddress

    public class EmailAddressImpl
    extends Object
    implements javax.xml.registry.infomodel.EmailAddress, Serializable
    Implementation of EmailAddress interface
    Author:
    Farrukh S. Najmi
    See Also:
    User, Serialized Form
    • 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 javax.xml.registry.JAXRException
        Returns the email address for this object.
        Specified by:
        getAddress in interface javax.xml.registry.infomodel.EmailAddress
        Throws:
        javax.xml.registry.JAXRException
      • setAddress

        public void setAddress​(String address)
                        throws javax.xml.registry.JAXRException
        Sets the email address for this object.
        Specified by:
        setAddress in interface javax.xml.registry.infomodel.EmailAddress
        Throws:
        javax.xml.registry.JAXRException
      • getType

        public String getType()
                       throws javax.xml.registry.JAXRException
        The type for this object.
        Specified by:
        getType in interface javax.xml.registry.infomodel.EmailAddress
        Throws:
        javax.xml.registry.JAXRException
      • setType

        public void setType​(String type)
                     throws javax.xml.registry.JAXRException
        Sets the type for this object.
        Specified by:
        setType in interface javax.xml.registry.infomodel.EmailAddress
        Throws:
        javax.xml.registry.JAXRException