com.ibm.uddi.datatypes
Class RelatedBusinessInfoList

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

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

Corresponds to UDDI v2.0 sequence of 'relatedBusinessInfo' elements. Encapsulates a Vector of RelatedBusinessInfo objects.

See Also:
Serialized Form

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

RelatedBusinessInfoList

public RelatedBusinessInfoList()
Constructs a new, empty RelatedBusinessInfoList.

RelatedBusinessInfoList

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

add

public void add(RelatedBusinessInfo relatedBusinessInfo)
Adds a RelatedBusinessInfo to the RelatedBusinessInfoList.
Parameters:
relatedBusinessInfo - the RelatedBusinessInfo to be added.

get

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

size

public int size()
Returns the number of RelatedBusinessInfo objects in the RelatedBusinessInfoList.
Returns:
the number of RelatedBusinessInfo objects in the RelatedBusinessInfoList.