com.ibm.uddi.datatypes
Class BusinessEntityList

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

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

Corresponds to UDDI v2.0 sequence of 'businessEntity' elements. Encapsulates a Vector of BusinessEntity objects.

See Also:
Serialized Form

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

BusinessEntityList

public BusinessEntityList()
Constructs a new, empty BusinessEntityList.

BusinessEntityList

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

add

public void add(BusinessEntity businessEntity)
Adds a BusinessEntity to the BusinessEntityList.
Parameters:
businessEntity - the BusinessEntity to be added.

get

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

size

public int size()
Returns the number of BusinessEntity objects in the BusinessEntityList.
Returns:
the number of BusinessEntity objects in the BusinessEntityList.