Ruddi™ UDDI Client API
1.0

inspireit.uddi.collections
Class Names

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

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

Collection of Names.

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

Field Summary
protected  java.util.Vector names
          Vector containing the names (Name objects).
 
Constructor Summary
Names()
          Names constructor.
 
Method Summary
 boolean add(Name name)
          Adds an Name to this Name set.
 boolean equals(java.lang.Object o)
           
 NameIterator iterator()
          Gets an Name iterator.
 boolean remove(Name name)
          Removes an Name from this Name set.
 int size()
          Gets the number of Names of this collection.
 Name[] toArray()
          Turns this Names collection to an Name array.
 java.lang.Object visit(inspireit.uddi.util.visitors.UDDIVisitor visitor)
          Visits this UDDI element.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

names

protected java.util.Vector names
Vector containing the names (Name objects).

Constructor Detail

Names

public Names()
Names constructor.

Method Detail

add

public boolean add(Name name)
Adds an Name to this Name set.

Parameters:
name - The Name to add to this description set.

remove

public boolean remove(Name name)
Removes an Name from this Name set.

Parameters:
name - The Name to remove from this Name set.

iterator

public NameIterator iterator()
Gets an Name iterator.

Returns:
an Name iterator

toArray

public Name[] toArray()
Turns this Names collection to an Name array.

Returns:
an Name array

size

public int size()
Gets the number of Names of this collection.

Returns:
the number of Names of this collection

visit

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

Specified by:
visit in interface inspireit.uddi.util.visitors.UDDIElement
Parameters:
visitor - The visiting UDDI object.

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

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.