Ruddi™ UDDI Client API
1.0

inspireit.uddi.collections
Class BusinessInfos

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

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

Collection of BusinessInfos.

Author:
Bertrand Fontaine
See Also:
Serialized Form

Field Summary
protected  java.util.Vector businessInfos
          Vector containing the service informations (BusinessInfo objects).
 
Constructor Summary
BusinessInfos()
          BusinessInfos constructor.
 
Method Summary
 boolean add(BusinessInfo businessInfo)
          Adds a BusinessInfo to this BusinessInfo set.
 boolean equals(java.lang.Object o)
          Tests an object for equality.
 BusinessInfoIterator iterator()
          Gets an iterator to browse through the various BusinessInfo elements.
 boolean remove(BusinessInfo businessInfo)
          Removes a BusinessInfo from this BusinessInfo set.
 int size()
          Gets the number of BusinessInfos of this collection.
 BusinessInfo[] toArray()
          Turns this BusinessInfos collection to a BusinessInfo 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

businessInfos

protected java.util.Vector businessInfos
Vector containing the service informations (BusinessInfo objects).

Constructor Detail

BusinessInfos

public BusinessInfos()
BusinessInfos constructor.

Method Detail

add

public boolean add(BusinessInfo businessInfo)
Adds a BusinessInfo to this BusinessInfo set.

Parameters:
businessInfo - The BusinessInfo to add to this BusinessInfo set.

remove

public boolean remove(BusinessInfo businessInfo)
Removes a BusinessInfo from this BusinessInfo set.

Parameters:
businessInfo - The BusinessInfo to remove from this BusinessInfo set.

iterator

public BusinessInfoIterator iterator()
Gets an iterator to browse through the various BusinessInfo elements.

Returns:
an iterator to browse through the various BusinessInfo elements

toArray

public BusinessInfo[] toArray()
Turns this BusinessInfos collection to a BusinessInfo array.

Returns:
a BusinessInfo array

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.

size

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

Returns:
the number of BusinessInfos of this collection

equals

public boolean equals(java.lang.Object o)
Tests an object for equality. Two BusinessInfos are equal if they list the same BusinessInfo 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.