IBM WebSphere Application ServerTM
Release 8

com.ibm.uddi.datatypes
Class NameList

java.lang.Object
  extended by 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 of Name objects.

See Also:
Serialized Form

Constructor Summary
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 initial Name.
 
Method Summary
 void add(Name name)
          Deprecated. Adds a Name to the NameList.
 Name get(int index)
          Deprecated. Returns the Name at the specified index.
 int size()
          Deprecated. Returns the number of Name objects in the NameList.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.

NameList

public NameList(Name initialName)
Deprecated. 
Construct a NameList with an initial Name.

Parameters:
initialName - an initial Name to put into the NameList
Method Detail

add

public void add(Name name)
Deprecated. 
Adds a Name to the NameList.

Parameters:
name - the Name to be added.

get

public Name get(int index)
Deprecated. 
Returns the Name 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 of Name objects in the NameList.

Returns:
the number of Name objects in the NameList.

IBM WebSphere Application ServerTM
Release 8