com.ibm.uddi.datatypes
Class DiscoveryUrlList

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

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

Corresponds to UDDI v2.0 sequence of 'discoveryURL' elements. Encapsulates a Vector of DiscoveryUrl objects.

See Also:
Serialized Form

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

DiscoveryUrlList

public DiscoveryUrlList()
Constructs a new, empty DiscoveryUrlList.

DiscoveryUrlList

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

add

public void add(DiscoveryUrl discoveryURL)
Adds a DiscoveryUrl to the DiscoveryUrlList.
Parameters:
discoveryUrl - the DiscoveryUrl to be added.

get

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

size

public int size()
Returns the number of DiscoveryUrl objects in the DiscoveryUrlList.
Returns:
the number of DiscoveryUrl objects in the DiscoveryUrlList.