Ruddi™ UDDI Client API
1.0

inspireit.uddi.collections
Class ServiceInfos

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

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

Collection of ServiceInfos.

Author:
Bertrand Fontaine
See Also:
Serialized Form

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

serviceInfos

protected java.util.Vector serviceInfos
Vector containing the service informations (ServiceInfo objects).

Constructor Detail

ServiceInfos

public ServiceInfos()
ServiceInfos constructor.

Method Detail

add

public boolean add(ServiceInfo serviceInfo)
Adds a ServiceInfo to this ServiceInfo set.

Parameters:
serviceInfo - The ServiceInfo to add to this ServiceInfo set.

remove

public boolean remove(ServiceInfo serviceInfo)
Removes a ServiceInfo from this ServiceInfo set.

Parameters:
serviceInfo - The ServiceInfo to remove from this ServiceInfo set.

iterator

public ServiceInfoIterator iterator()
Gets an iterator to browse through the various ServiceInfo elements.

Returns:
an iterator to browse through the various ServiceInfo elements

toArray

public ServiceInfo[] toArray()
Gets the ServiceInfo elements of this collection as an array.

Returns:
the ServiceInfo elements of this collection as an array

size

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

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