Class EmailAddressImpl

    • 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