Ruddi™ UDDI Client API
1.0

inspireit.uddi.collections
Class BusinessKeys

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

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

Collection of BusinessKeys.

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

Field Summary
protected  java.util.Vector businessKeys
          Vector containing the binding keys (BusinessKey objects).
 
Constructor Summary
BusinessKeys()
          BusinessKeys constructor.
 
Method Summary
 boolean add(BusinessKey businessKey)
          Adds a BusinessKey to this BusinessKey collection.
 UUID[] getUUIDs()
          Gets the array of UUID identifiers corresponding to this BusinessKey collection.
 BusinessKeyIterator iterator()
          Gets a BusinessKey iterator.
 boolean remove(BusinessKey businessKey)
          Removes a BusinessKey from this BusinessKey collection.
 int size()
          Gets the number of BusinessInfos of this collection.
 BusinessKey[] toArray()
          Turns this BusinessKeys collection to a BusinessKey array.
 java.lang.Object visit(inspireit.uddi.util.visitors.UDDIVisitor visitor)
          Visits this UDDI element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

businessKeys

protected java.util.Vector businessKeys
Vector containing the binding keys (BusinessKey objects).

Constructor Detail

BusinessKeys

public BusinessKeys()
BusinessKeys constructor.

Method Detail

add

public boolean add(BusinessKey businessKey)
Adds a BusinessKey to this BusinessKey collection.

Parameters:
businessKey - The BusinessKey to add to this BusinessKey collection.

remove

public boolean remove(BusinessKey businessKey)
Removes a BusinessKey from this BusinessKey collection.

Parameters:
businessKey - The BusinessKey to remove from this BusinessKey collection.

toArray

public BusinessKey[] toArray()
Turns this BusinessKeys collection to a BusinessKey array.

Returns:
a BusinessKey array

getUUIDs

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

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

iterator

public BusinessKeyIterator iterator()
Gets a BusinessKey iterator.

Returns:
a BusinessKey iterator

size

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

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

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.