IBM WebSphere Application ServerTM
Release 8

com.ibm.uddi.datatypes
Class PhoneList

java.lang.Object
  extended by 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 of Phone objects.

See Also:
Serialized Form

Constructor Summary
PhoneList()
          Deprecated. Constructs a new, empty PhoneList.
PhoneList(int initialSize)
          Deprecated. Constructs a new, empty PhoneList, with the initial capacity specified.
 
Method Summary
 void add(Phone phone)
          Deprecated. Adds a Phone to the PhoneList.
 Phone get(int index)
          Deprecated. Returns the Phone at the specified index.
 int size()
          Deprecated. Returns the number of Phone objects in the PhoneList.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 a Phone to the PhoneList.

Parameters:
phone - the Phone to be added.

get

public Phone get(int index)
Deprecated. 
Returns the Phone 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 of Phone objects in the PhoneList.

Returns:
the number of Phone objects in the PhoneList.

IBM WebSphere Application ServerTM
Release 8