com.ibm.uddi.datatypes
Class EmailList

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

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

Corresponds to UDDI v2.0 sequence of 'email' elements. Encapsulates a Vector of Email objects.

See Also:
Serialized Form

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

EmailList

public EmailList()
Constructs a new, empty EmailList.

EmailList

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

add

public void add(Email email)
Adds a Email to the EmailList.
Parameters:
email - the Email to be added.

get

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

size

public int size()
Returns the number of Email objects in the EmailList.
Returns:
the number of Email objects in the EmailList.