Previous section   Next section
EmailAddress javax.xml.registry.infomodel

JAXR 1.0; JWSDP 1.0, J2EE 1.4
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( )


  Previous section   Next section