Class UserImpl

    • Constructor Detail

      • UserImpl

        public UserImpl()
        Default constructor
    • Method Detail

      • getOrganization

        public Organization getOrganization()
                                     throws JAXRException
        Gets the submitting organization
        Specified by:
        getOrganization in interface User
        Returns:
        the Organization that this User is affiliated with
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • setPersonName

        public void setPersonName​(PersonName personName)
                           throws JAXRException
        Sets Name of contact person.
        Specified by:
        setPersonName in interface User
        Parameters:
        personName - the name of this User
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getPostalAddresses

        public Collection getPostalAddresses()
                                      throws JAXRException
        The postal addresses for this Contact.
        Specified by:
        getPostalAddresses in interface User
        Returns:
        Collection of PostalAddress instances. The Collection may be empty but not null.
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
        See Also:
        PostalAddress
      • setPostalAddresses

        public void setPostalAddresses​(Collection addresses)
                                throws JAXRException
        Sets the addresses. Treat null parameter as empty collection.
        Specified by:
        setPostalAddresses in interface User
        Parameters:
        addresses - Is a Collection of PostAddress instances.
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getTelephoneNumbers

        public Collection getTelephoneNumbers​(String phoneType)
                                       throws JAXRException
        Gets the telephone numbers for this User that match the specified telephone number type. If phoneType is null return all telephoneNumbers
        Specified by:
        getTelephoneNumbers in interface User
        Parameters:
        phoneType - specifies the type of phone numbers to be returned. If phoneType is null, return all telephoneNumbers
        Returns:
        Collection of TelephoneNumber instances. The Collection may be empty but not null.
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
        See Also:
        TelephoneNumber
      • setTelephoneNumbers

        public void setTelephoneNumbers​(Collection phoneNumbers)
                                 throws JAXRException
        Set the various telephone numbers for this user. Treat null param as an empty collection.
        Specified by:
        setTelephoneNumbers in interface User
        Parameters:
        phoneNumbers - the Collection of TelephoneNumbers to be set
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getEmailAddresses

        public Collection getEmailAddresses()
                                     throws JAXRException
        Get the user email addresses
        Specified by:
        getEmailAddresses in interface User
        Returns:
        Collection of EmailAddress instances. The Collection may be empty but not null.
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
        See Also:
        EmailAddress
      • setEmailAddresses

        public void setEmailAddresses​(Collection addresses)
                               throws JAXRException
        Set the user email addresses. Treat null param as an empty collection.
        Specified by:
        setEmailAddresses in interface User
        Parameters:
        addresses - the Collection of EmailAddresses to be set
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getType

        public String getType()
                       throws JAXRException
        Get user type
        Specified by:
        getType in interface User
        Returns:
        the type for this User, which is an arbitrary String
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • setType

        public void setType​(String type)
                     throws JAXRException
        Set user type
        Specified by:
        setType in interface User
        Parameters:
        type - the type for this User, which is an arbitrary String
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getUrl

        public URL getUrl()
                   throws JAXRException
        Level 1 method
        Specified by:
        getUrl in interface User
        Returns:
        the URL for this User's home page
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • setUrl

        public void setUrl​(URL url)
                    throws JAXRException
        Sets the URL to the web page for this contact.
        Specified by:
        setUrl in interface User
        Parameters:
        url - the URL for this User's home page
        Throws:
        JAXRException - If the JAXR provider encounters an internal error