com.ibm.uddi.datatypes
Class TModels

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

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

Corresponds to UDDI v2.0 sequence of 'tModel' elements. Encapsulates a Vector of TModel objects.

See Also:
Serialized Form

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

TModels

public TModels()
Constructs a new, empty TModels.

TModels

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

add

public void add(TModel tModel)
Adds a TModel to the TModels.
Parameters:
tModel - the TModel to be added.

get

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

size

public int size()
Returns the number of TModel objects in the TModels.
Returns:
the number of TModel objects in the TModels.