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