Ruddi™ UDDI Client API
1.0

inspireit.uddi.collections
Class KeyedReferences

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

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

Collection of KeyedReferences.

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

Field Summary
protected  java.util.Vector keyedReferences
          Vector containing the keyed references (KeyedReference objects).
 
Constructor Summary
KeyedReferences()
          KeyedReferences constructor.
 
Method Summary
 boolean add(KeyedReference keyedReference)
          Adds a KeyedReference to this KeyedReference set.
 boolean equals(java.lang.Object o)
          Tests an object for equality.
 KeyedReferenceIterator iterator()
          Gets a KeyedReference iterator.
 boolean remove(KeyedReference keyedReference)
          Removes a KeyedReference from this KeyedReference set.
 int size()
          Gets the number of KeyedReferences part of this collection.
 KeyedReference[] toArray()
          Turns this KeyedReferences collection to a KeyedReference 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

keyedReferences

protected java.util.Vector keyedReferences
Vector containing the keyed references (KeyedReference objects).

Constructor Detail

KeyedReferences

public KeyedReferences()
KeyedReferences constructor.

Method Detail

add

public boolean add(KeyedReference keyedReference)
Adds a KeyedReference to this KeyedReference set.

Parameters:
keyedReference - The KeyedReference to add to this KeyedReference set.

remove

public boolean remove(KeyedReference keyedReference)
Removes a KeyedReference from this KeyedReference set.

Parameters:
keyedReference - The KeyedReference to remove from this KeyedReference set.

iterator

public KeyedReferenceIterator iterator()
Gets a KeyedReference iterator.

Returns:
a KeyedReference iterator

toArray

public KeyedReference[] toArray()
Turns this KeyedReferences collection to a KeyedReference array.

Returns:
a KeyedReference array

size

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

Returns:
the number of KeyedReferences part 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 KeyedReferences are equal if they list the same KeyedReference 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.