com.ibm.uddi.datatypes
Class AddressList

java.lang.Object
  |
  +--com.ibm.uddi.datatypes.AddressList
All Implemented Interfaces:
java.io.Serializable

public class AddressList
extends java.lang.Object
implements java.io.Serializable

Corresponds to UDDI v2.0 sequence of 'address' elements. Encapsulates a Vector of Address objects.

See Also:
Serialized Form

Field Summary
static java.lang.String java_copyright
           
 
Constructor Summary
AddressList()
          Constructs a new, empty AddressList.
AddressList(int initialSize)
          Constructs a new, empty AddressList, with the initial capacity specified.
 
Method Summary
 void add(Address address)
          Adds an Address to the AddressLineList.
 Address get(int index)
          Returns the Address at the specified index.
 int size()
          Returns the number of Address objects in the AddressList.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

java_copyright

public static final java.lang.String java_copyright
Constructor Detail

AddressList

public AddressList()
Constructs a new, empty AddressList.

AddressList

public AddressList(int initialSize)
Constructs a new, empty AddressList, with the initial capacity specified.
Parameters:
initialSize - the initial capacity of the AddressList.
Method Detail

add

public void add(Address address)
Adds an Address to the AddressLineList.
Parameters:
address - the Address to be added.

get

public Address get(int index)
Returns the Address at the specified index.
Parameters:
index - the index of the addressLine to be retrieved.
Returns:
the Address at the specified index.

size

public int size()
Returns the number of Address objects in the AddressList.
Returns:
the number of Address objects in the AddressLineList.