com.ibm.uddi.datatypes
Class NameList
- java.lang.Object
-
- com.ibm.uddi.datatypes.NameList
-
- All Implemented Interfaces:
- java.io.Serializable
Deprecated.Deprecated as of WAS 6.0. No replacement.
public class NameList extends java.lang.Object implements java.io.Serializable
Corresponds to UDDI v2.0 sequence of 'name' elements. Encapsulates a Vector ofName
objects.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description NameList()
Deprecated.Constructs a new, empty NameList.NameList(int initialSize)
Deprecated.Constructs a new, empty NameList, with the initial capacity specified.NameList(Name initialName)
Deprecated.Construct a NameList with an initialName
.
-
-
-
Constructor Detail
-
NameList
public NameList()
Deprecated.Constructs a new, empty NameList.
-
NameList
public NameList(int initialSize)
Deprecated.Constructs a new, empty NameList, with the initial capacity specified.- Parameters:
initialSize
- the initial capacity of the NameList.
-
-
Method Detail
-
add
public void add(Name name)
Deprecated.Adds aName
to the NameList.- Parameters:
name
- the Name to be added.
-
get
public Name get(int index)
Deprecated.Returns theName
at the specified index.- Parameters:
int
- the index of the Name to be retrieved.- Returns:
- the Name at the specified index.
-
size
public int size()
Deprecated.Returns the number ofName
objects in the NameList.- Returns:
- the number of Name objects in the NameList.
-
-