Ruddi™ UDDI Client API
1.0

inspireit.uddi.base
Class Name

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

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

Name class.

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

Field Summary
protected  UDDILocale locale
          The locale defining the language used for the name.
protected  java.lang.String name
          The name information.
 
Constructor Summary
Name(java.lang.String name)
          Name constructor.
Name(java.lang.String name, UDDILocale locale)
          Name constructor.
 
Method Summary
 boolean equals(java.lang.Object o)
          Checks whether an object is equal to this Name.
 UDDILocale getLocale()
          Gets the locale defining the language used for the name.
 java.lang.String toString()
          Gets a String representation of the Name.
 java.lang.Object visit(inspireit.uddi.util.visitors.UDDIVisitor visitor)
          Visits this Name.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected java.lang.String name
The name information.


locale

protected UDDILocale locale
The locale defining the language used for the name.

Constructor Detail

Name

public Name(java.lang.String name)
Name constructor.

Parameters:
name - The name information.

Name

public Name(java.lang.String name,
            UDDILocale locale)
Name constructor.

Parameters:
name - The name information.
locale - The locale defining the language used for the name.
Method Detail

getLocale

public UDDILocale getLocale()
Gets the locale defining the language used for the name.

Returns:
the locale defining the language used for the name; null if no locale was specified

visit

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

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

toString

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

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

equals

public boolean equals(java.lang.Object o)
Checks whether an object is equal to this Name.

Overrides:
equals in class java.lang.Object
Parameters:
o - The object to test for equality.
Returns:
true if o and this Name 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.