com.ibm.uddi.datatypes
Class AddressLineList

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

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

Corresponds to UDDI v2.0 sequence of 'addressLine' elements. Encapsulates a Vector of addressLine Strings.

See Also:
Serialized Form

Field Summary
static java.lang.String java_copyright
           
 
Constructor Summary
AddressLineList()
          Constructs a new, empty AddressLineList.
AddressLineList(int initialSize)
          Constructs a new, empty AddressLineList, with the initial capacity specified.
 
Method Summary
 void add(java.lang.String addressLine)
          Adds an addressLine to the AddressLineList.
 java.lang.String get(int index)
          Returns the addressLine at the specified index.
 int size()
          Returns the number of addressLines in the AddressLineList.
 
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

AddressLineList

public AddressLineList()
Constructs a new, empty AddressLineList.

AddressLineList

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

add

public void add(java.lang.String addressLine)
Adds an addressLine to the AddressLineList.
Parameters:
addressLine - the addressLine to be added.

get

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

size

public int size()
Returns the number of addressLines in the AddressLineList.
Returns:
the number of addressLines in the AddressLineList.