com.ibm.uddi.datatypes
Class ContactList
- java.lang.Object
-
- com.ibm.uddi.datatypes.ContactList
-
- All Implemented Interfaces:
- java.io.Serializable
Deprecated.Deprecated as of WAS 6.0. No replacement.
public class ContactList extends java.lang.Object implements java.io.Serializable
Corresponds to UDDI v2.0 sequence of 'contact' elements. Encapsulates a Vector ofContact
objects.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description ContactList()
Deprecated.Constructs a new, empty ContactList.ContactList(int initialSize)
Deprecated.Constructs a new, empty ContactList, with the initial capacity specified.
-
-
-
Constructor Detail
-
ContactList
public ContactList()
Deprecated.Constructs a new, empty ContactList.
-
ContactList
public ContactList(int initialSize)
Deprecated.Constructs a new, empty ContactList, with the initial capacity specified.- Parameters:
initialSize
- the initial capacity of the ContactList.
-
-
Method Detail
-
add
public void add(Contact contact)
Deprecated.Adds aContact
to the ContactList.- Parameters:
contact
- the Contact to be added.
-
get
public Contact get(int index)
Deprecated.Returns theContact
at the specified index.- Parameters:
int
- the index of the Contact to be retrieved.- Returns:
- the Contact at the specified index.
-
size
public int size()
Deprecated.Returns the number ofContact
objects in the ContactList.- Returns:
- the number of Contact objects in the ContactList.
-
-