Name

EmailAddress

Synopsis

public interface EmailAddress {
// Public Instance Methods
    public abstract String getAddress(  )
       throws javax.xml.registry.JAXRException;             //L0
    public abstract String getType(  )
       throws javax.xml.registry.JAXRException;             //L0
    public abstract void setAddress(String address)
       throws javax.xml.registry.JAXRException;             //L0
    public abstract void setType(String type)
       throws javax.xml.registry.JAXRException;             //L0
}

EmailAddress is a simple interface that is intended to designate a string value as the email address of a user. A User object in the registry may have one or more associated EmailAddress objects, created using the LifeCycleManager createEmailAddress( ) method and added as a group by calling setEmailAddresses( ). The actual address required to contact the user can be obtained by calling the getAddress( ) method, whereas the type attribute available from getType( ) is an arbitrary qualifier that might be used to indicate that the address reaches the person at home, in the office, and so on.

Returned By

javax.xml.registry.LifeCycleManager.createEmailAddress( )

Get Java Web Services in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.