com.ibm.uddi.datatypes
Class DescriptionList

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

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

Corresponds to UDDI v2.0 sequence of 'description' elements. Encapsulates a Vector of Description objects.

See Also:
Serialized Form

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

DescriptionList

public DescriptionList()
Constructs a new, empty DescriptionList.

DescriptionList

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

add

public void add(Description description)
Adds a Description to the DescriptionList.
Parameters:
description - the Description to be added.

get

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

size

public int size()
Returns the number of Description objects in the DescriptionList.
Returns:
the number of Description objects in the DescriptionList.