Ruddi™ UDDI Client API
1.0

inspireit.uddi.collections
Class TModelKeys

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

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

Collection of TModelKeys.

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

Field Summary
protected  java.util.Vector tModelKeys
          Vector containing the TModel keys (TModelKey objects).
 
Constructor Summary
TModelKeys()
          TModelKeys constructor.
 
Method Summary
 boolean add(TModelKey tModelKey)
          Adds a TModelKey to this TModelKey set.
 boolean equals(java.lang.Object o)
          Tests an object for equality.
 UUID[] getUUIDs()
          Gets the array of UUID identifiers corresponding to this TModelKey collection.
 TModelKeyIterator iterator()
          Gets a TModelKey iterator.
 boolean remove(TModelKey tModelKey)
          Removes a TModelKey from this TModelKey set.
 int size()
          Gets the number of TModelKeys of this collection.
 TModelKey[] toArray()
          Turns this TModelKeys collection to a TModelKey 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

tModelKeys

protected java.util.Vector tModelKeys
Vector containing the TModel keys (TModelKey objects).

Constructor Detail

TModelKeys

public TModelKeys()
TModelKeys constructor.

Method Detail

add

public boolean add(TModelKey tModelKey)
Adds a TModelKey to this TModelKey set.

Parameters:
tModelKey - The TModelKey to add to this TModelKey set.

remove

public boolean remove(TModelKey tModelKey)
Removes a TModelKey from this TModelKey set.

Parameters:
tModelKey - The TModelKey to remove from this TModelKey set.

toArray

public TModelKey[] toArray()
Turns this TModelKeys collection to a TModelKey array.

Returns:
a TModelKey array

getUUIDs

public UUID[] getUUIDs()
Gets the array of UUID identifiers corresponding to this TModelKey collection.

Returns:
the array of UUID identifiers corresponding to this TModelKey collection.

iterator

public TModelKeyIterator iterator()
Gets a TModelKey iterator.

Returns:
a TModelKey iterator

size

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

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