com.ibm.uddi.datatypes
Class BindingTemplateList

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

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

Corresponds to UDDI v2.0 sequence of 'bindingTemplate' elements. Encapsulates a Vector of BindingTemplate objects.

See Also:
Serialized Form

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

BindingTemplateList

public BindingTemplateList()
Constructs a new, empty BindingTemplateList.

BindingTemplateList

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

add

public void add(BindingTemplate bindingTemplate)
Adds a BindingTemplate to the BindingTemplateList.
Parameters:
bindingTemplate - the BindingTemplate to be added.

get

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

size

public int size()
Returns the number of BindingTemplate objects in the BindingTemplateList.
Returns:
the number of BindingTemplate objects in the BindingTemplateList.