Ruddi™ UDDI Client API
1.0

inspireit.uddi.base
Class EMail

java.lang.Object
  |
  +--inspireit.uddi.base.EMail
All Implemented Interfaces:
java.io.Serializable, inspireit.uddi.util.visitors.UDDIElement

public class EMail
extends java.lang.Object
implements java.io.Serializable, inspireit.uddi.util.visitors.UDDIElement

EMail class.

Author:
Bertrand Fontaine, INSPIRE IT $Revision: 1.3 $
See Also:
Serialized Form

Field Summary
protected  java.lang.String email
          The E-mail information.
protected  UseType useType
          Optional attribute that is used to for descriptive purpose.
 
Constructor Summary
EMail(java.lang.String email)
          EMail constructor.
 
Method Summary
 boolean equals(java.lang.Object o)
          Checks whether an object is equal to this EMail.
 UseType getUseType()
          Gets some descriptive information for the E-mail address.
 void setUseType(UseType useType)
          Sets some descriptive information for the E-mail address.
 java.lang.String toString()
          Gets a String representation of the EMail.
 java.lang.Object visit(inspireit.uddi.util.visitors.UDDIVisitor visitor)
          Visits this EMail.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

email

protected java.lang.String email
The E-mail information.


useType

protected UseType useType
Optional attribute that is used to for descriptive purpose. If more than one EMail element is saved, useType attributes are required on each.

Constructor Detail

EMail

public EMail(java.lang.String email)
EMail constructor.

Parameters:
email - The E-mail adress.
Method Detail

getUseType

public UseType getUseType()
Gets some descriptive information for the E-mail address.

Returns:
some descriptive information for the E-mail address

setUseType

public void setUseType(UseType useType)
Sets some descriptive information for the E-mail address.

Parameters:
useType - Some descriptive information for the E-mail address.

visit

public java.lang.Object visit(inspireit.uddi.util.visitors.UDDIVisitor visitor)
Visits this EMail.

Specified by:
visit in interface inspireit.uddi.util.visitors.UDDIElement
Parameters:
visitor - The Visitor visiting this EMail.

toString

public java.lang.String toString()
Gets a String representation of the EMail.

Overrides:
toString in class java.lang.Object
Returns:
a String representation of the EMail

equals

public boolean equals(java.lang.Object o)
Checks whether an object is equal to this EMail. Two EMails are equal if they represent the same E-mail address and are used for the same thing.

Overrides:
equals in class java.lang.Object
Parameters:
o - The object to test for equality.
Returns:
true if o and this EMail are equal; false otherwise

Ruddi™ UDDI Client API
1.0

Download now! | Submit a bug or feature
(c) 2003 INSPIRE IT
Bld Brand Whitlock 109
1200 Brussels, Belgium
All Rights Reserved.