com.ibm.uddi.datatypes
Class BusinessServiceList

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

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

Corresponds to UDDI v2.0 sequence of 'businessService' elements. Encapsulates a Vector of BusinessService objects.

See Also:
Serialized Form

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

BusinessServiceList

public BusinessServiceList()
Constructs a new, empty BusinessServiceList.

BusinessServiceList

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

add

public void add(BusinessService businessService)
Adds a BusinessService to the BusinessServiceList.
Parameters:
businessService - the BusinessService to be added.

get

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

size

public int size()
Returns the number of BusinessService objects in the BusinessServiceList.
Returns:
the number of BusinessService objects in the BusinessServiceList.