com.ibm.uddi.datatypes
Class BusinessInfoList
java.lang.Object
|
+--com.ibm.uddi.datatypes.BusinessInfoList
- All Implemented Interfaces:
- java.io.Serializable
- public class BusinessInfoList
- extends java.lang.Object
- implements java.io.Serializable
Corresponds to UDDI v2.0 sequence of 'businessInfo' elements.
Encapsulates a Vector of BusinessInfo
objects.
- See Also:
- Serialized Form
Constructor Summary |
BusinessInfoList()
Constructs a new, empty BusinessInfoList. |
BusinessInfoList(int initialSize)
Constructs a new, empty BusinessInfoList, 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
BusinessInfoList
public BusinessInfoList()
- Constructs a new, empty BusinessInfoList.
BusinessInfoList
public BusinessInfoList(int initialSize)
- Constructs a new, empty BusinessInfoList, with the initial capacity specified.
- Parameters:
initialSize
- the initial capacity of the BusinessInfoList.
add
public void add(BusinessInfo businessInfo)
- Adds a
BusinessInfo
to the BusinessInfoList.
- Parameters:
businessInfo
- the BusinessInfo to be added.
get
public BusinessInfo get(int index)
- Returns the
BusinessInfo
at the specified index.
- Parameters:
index
- the index of the BusinessInfo to be retrieved.- Returns:
- the BusinessInfo at the specified index.
size
public int size()
- Returns the number of
BusinessInfo
objects in the BusinessInfoList.
- Returns:
- the number of BusinessInfo objects in the BusinessInfoList.