Ruddi™ UDDI Client API
1.0

inspireit.uddi.collections
Class EntityKeys

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

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

Collection of EntityKeys.

Author:
Bertrand Fontaine
See Also:
Serialized Form

Field Summary
protected  java.util.Vector entityKeys
          Vector containing the collection of EntityKey objects.
 
Constructor Summary
EntityKeys()
          EntityKeys constructor.
 
Method Summary
 boolean add(EntityKey entityKey)
          Adds a EntityKey to this EntityKey set.
 boolean contains(EntityKey entityKey)
           
 boolean equals(java.lang.Object o)
          Tests an object for equality.
 EntityKeyIterator iterator()
           
 boolean remove(EntityKey entityKey)
          Removes a EntityKey from this EntityKey set.
 int size()
          Gets the number of EntityKeys of this collection.
 EntityKey[] toArray()
          Removes all EntityKeys from this EntityKey set.
 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

entityKeys

protected java.util.Vector entityKeys
Vector containing the collection of EntityKey objects.

Constructor Detail

EntityKeys

public EntityKeys()
EntityKeys constructor.

Method Detail

add

public boolean add(EntityKey entityKey)
Adds a EntityKey to this EntityKey set.

Parameters:
entityKey - The EntityKey to add to this EntityKey set.

remove

public boolean remove(EntityKey entityKey)
Removes a EntityKey from this EntityKey set.


toArray

public EntityKey[] toArray()
Removes all EntityKeys from this EntityKey set.


iterator

public EntityKeyIterator iterator()

contains

public boolean contains(EntityKey entityKey)

size

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

Returns:
the number of EntityKeys 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)
Tests an object for equality. Two EntityKeys are equal if they list the same EntityKey set.

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