Ruddi™ UDDI Client API
1.0

inspireit.uddi.collections
Class Addresses

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

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

Collection of Addresses.

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

Field Summary
protected  java.util.Vector addresses
          Vector containing the addresses (Address objects).
 
Constructor Summary
Addresses()
          Addresses constructor.
 
Method Summary
 boolean add(Address address)
          Adds an Address to this Address set.
 boolean equals(java.lang.Object o)
           
 AddressIterator iterator()
          Gets an Address iterator.
 boolean remove(Address address)
          Removes an Address from this Address set.
 int size()
          Gets the number of Addresses of this collection.
 Address[] toArray()
          Turns this Addresses collection to an Address 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

addresses

protected java.util.Vector addresses
Vector containing the addresses (Address objects).

Constructor Detail

Addresses

public Addresses()
Addresses constructor.

Method Detail

add

public boolean add(Address address)
Adds an Address to this Address set.

Parameters:
address - The Address to add to this description set.

remove

public boolean remove(Address address)
Removes an Address from this Address set.

Parameters:
address - The Address to remove from this Address set.

iterator

public AddressIterator iterator()
Gets an Address iterator.

Returns:
an Address iterator

toArray

public Address[] toArray()
Turns this Addresses collection to an Address array.

Returns:
an Address array

size

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

Returns:
the number of Addresses 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)
Overrides:
equals in class java.lang.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.