com.ibm.uddi.datatypes
Class CategoryBag
- java.lang.Object
-
- com.ibm.uddi.datatypes.CategoryBag
-
- All Implemented Interfaces:
- java.io.Serializable
Deprecated.Deprecated as of WAS 6.0. No replacement.
public class CategoryBag extends java.lang.Object implements java.io.Serializable
Corresponds to UDDI v2.0 'categoryBag' element.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors 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
Methods Modifier and Type Method and Description void
add(KeyedReference category)
Deprecated.Adds aKeyedReference
to the CategoryBag.KeyedReference
get(int index)
Deprecated.Returns theKeyedReference
at the specified index.int
size()
Deprecated.Returns the number ofKeyedReference
objects in the CategoryBag.
-
-
-
Constructor Detail
-
CategoryBag
public CategoryBag()
Deprecated.Constructs a new, empty CategoryBag.
-
CategoryBag
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
public void add(KeyedReference category)
Deprecated.Adds aKeyedReference
to the CategoryBag.- Parameters:
category
- the KeyedReference to be added.
-
get
public KeyedReference get(int index)
Deprecated.Returns theKeyedReference
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()
Deprecated.Returns the number ofKeyedReference
objects in the CategoryBag.- Returns:
- the number of KeyedReference objects in the CategoryBag.
-
-