Ruddi™ UDDI Client API
1.0

inspireit.uddi.collections
Class DiscoveryURLs

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

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

Collection of DiscoveryURLs.

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

Field Summary
protected  java.util.Vector discoveryURLs
          Vector containing the binding templates (DiscoveryURL objects).
 
Constructor Summary
DiscoveryURLs(DiscoveryURL discoveryURL)
          DiscoveryURLs constructor.
 
Method Summary
 boolean add(DiscoveryURL discoveryURL)
          Adds a DiscoveryURL to this DiscoveryURL set.
 boolean equals(java.lang.Object o)
          Two DiscoveryURLs are equal if and only if they list the same set of URL.
 DiscoveryURLIterator iterator()
          Gets a DiscoveryURL iterator.
 boolean remove(DiscoveryURL discoveryURL)
          Removes a DiscoveryURL from this DiscoveryURL set.
 int size()
          Gets the number of Contacts part of this collection.
 DiscoveryURL[] toArray()
          Gets the DiscoveryURL 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

discoveryURLs

protected java.util.Vector discoveryURLs
Vector containing the binding templates (DiscoveryURL objects).

Constructor Detail

DiscoveryURLs

public DiscoveryURLs(DiscoveryURL discoveryURL)
DiscoveryURLs constructor.

Parameters:
discoveryURL - The first DiscoveryURL of the collection.
Method Detail

add

public boolean add(DiscoveryURL discoveryURL)
Adds a DiscoveryURL to this DiscoveryURL set.

Parameters:
discoveryURL - The DiscoveryURL to add to this DiscoveryURL set.

remove

public boolean remove(DiscoveryURL discoveryURL)
Removes a DiscoveryURL from this DiscoveryURL set.


iterator

public DiscoveryURLIterator iterator()
Gets a DiscoveryURL iterator.

Returns:
a DiscoveryURL iterator

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.

toArray

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

Returns:
the DiscoveryURL elements of this collection as an array

size

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

Returns:
the number of Contacts part of this collection

equals

public boolean equals(java.lang.Object o)
Two DiscoveryURLs are equal if and only if they list the same set of URL. As a result, two different DiscoveryURLs instances might be equal.

Overrides:
equals in class java.lang.Object
Parameters:
o - The object to test for equality
Returns:
true if o is equal to this object, 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.