Ruddi™ UDDI Client API
1.0

inspireit.uddi.collections
Class PersonNames

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

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

Collection of PersonNames.

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

Field Summary
protected  java.util.Vector personNames
          Vector containing the person names (PersonName objects).
 
Constructor Summary
PersonNames()
          PersonNames constructor.
 
Method Summary
 boolean add(PersonName personName)
          Adds an PersonName to this PersonName set.
 boolean equals(java.lang.Object o)
           
 PersonNameIterator iterator()
          Gets an PersonName iterator.
 boolean remove(PersonName personName)
          Removes an PersonName from this PersonName set.
 int size()
          Gets the number of PersonNames of this collection.
 PersonName[] toArray()
          Turns this PersonNames collection to an PersonName 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

personNames

protected java.util.Vector personNames
Vector containing the person names (PersonName objects).

Constructor Detail

PersonNames

public PersonNames()
PersonNames constructor.

Method Detail

add

public boolean add(PersonName personName)
Adds an PersonName to this PersonName set.

Parameters:
personName - The PersonName to add to this PersonName set.

remove

public boolean remove(PersonName personName)
Removes an PersonName from this PersonName set.

Parameters:
personName - The PersonName to remove from this PersonName set.

iterator

public PersonNameIterator iterator()
Gets an PersonName iterator.

Returns:
an PersonName iterator

toArray

public PersonName[] toArray()
Turns this PersonNames collection to an PersonName array.

Returns:
an PersonName array

size

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

Returns:
the number of PersonNames 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.