com.ibm.uddi.datatypes
Class TModelBag

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

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

Corresponds to UDDI v2.0 'tModelBag' element.

See Also:
Serialized Form

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

TModelBag

public TModelBag()
Constructs a new, empty TModelBag.

TModelBag

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

add

public void add(java.lang.String tModelKey)
Adds a tModelKey to the TModelBag.
Parameters:
tModelKey - the tModelKey to be added.

get

public java.lang.String get(int index)
Returns the tModelKey at the specified index.
Parameters:
index - the index of the tModelKey to be retrieved.
Returns:
the tModelKey at the specified index.

size

public int size()
Returns the number of tModelKeys in the TModelBag.
Returns:
the number of tModelKeys in the TModelBag.