com.ibm.uddi.datatypes

Class CategoryBag

  1. java.lang.Object
  2. extended bycom.ibm.uddi.datatypes.CategoryBag
All implemented interfaces:
java.io.Serializable

Deprecated. Deprecated as of WAS 6.0. No replacement.
  1. public class CategoryBag
  2. extends java.lang.Object
  3. implements java.io.Serializable
Corresponds to UDDI v2.0 'categoryBag' element.
See Also:
Serialized Form

Constructor Summary

Constructor and Description
CategoryBag()
Deprecated. Constructs a new, empty CategoryBag.
CategoryBag(int initialSize)
Deprecated. Constructs a new, empty CategoryBag, with the initial capacity specified.

Method Summary

Modifier and Type Method and Description
  1. void
add(KeyedReference category)
Deprecated. Adds a KeyedReference to the CategoryBag.
  1. KeyedReference
get(int index)
Deprecated. Returns the KeyedReference at the specified index.
  1. int
size()
Deprecated. Returns the number of KeyedReference objects in the CategoryBag.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

CategoryBag

  1. public CategoryBag()
Deprecated.
Constructs a new, empty CategoryBag.

CategoryBag

  1. public CategoryBag(int initialSize)
Deprecated.
Constructs a new, empty CategoryBag, with the initial capacity specified.
Parameters:
initialSize - the initial capacity of the CategoryBag.

Method Detail

add

  1. public void add(KeyedReference category)
Deprecated.
Adds a KeyedReference to the CategoryBag.
Parameters:
category - the KeyedReference to be added.

get

  1. public KeyedReference get(int index)
Deprecated.
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

  1. public int size()
Deprecated.
Returns the number of KeyedReference objects in the CategoryBag.
Returns:
the number of KeyedReference objects in the CategoryBag.