com.ibm.uddi.datatypes
Class IdentifierBag

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

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

Corresponds to UDDI v2.0 'identifierBag' element.

See Also:
Serialized Form

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

IdentifierBag

public IdentifierBag()
Constructs a new, empty IdentifierBag.

IdentifierBag

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

add

public void add(KeyedReference identifier)
Adds a KeyedReference to the IdentifierBag.
Parameters:
identifier - the KeyedReference to be added.

get

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

size

public int size()
Returns the number of KeyedReference objects in the IdentifierBag.
Returns:
the number of KeyedReference objects in the IdentifierBag.