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
Constructor Summary |
BusinessServiceList()
Constructs a new, empty BusinessServiceList. |
BusinessServiceList(int initialSize)
Constructs a new, empty BusinessServiceList, with the initial capacity specified. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
java_copyright
public static final java.lang.String java_copyright
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.
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.