org.uddi4j.util
Class IdentifierBag

java.lang.Object
  extended byorg.uddi4j.UDDIElement
      extended byorg.uddi4j.util.IdentifierBag
All Implemented Interfaces:
java.io.Serializable

Deprecated. UDDI4J is deprecated as of WAS 6.0. Use the IBM UDDI v3 Client for Java (IBM UC4J) instead.

public class IdentifierBag
extends UDDIElement

Represents the identifierBag element within the UDDI version 2.0 schema. This class contains the following types of methods:

Typically, this class is used to construct parameters for, or interpret responses from, methods in the UDDIProxy class.

Element description:

Service element. Used when searching and categorizing.

Author:
David Melgar (dmelgar@us.ibm.com), Ozzy (ozzy@hursley.ibm.com)
See Also:
Serialized Form

Field Summary
static java.lang.String UDDI_TAG
          Deprecated.  
 
Fields inherited from class org.uddi4j.UDDIElement
GENERIC, SOAPNS, XMLNS
 
Constructor Summary
IdentifierBag()
          Deprecated. Default constructor.
IdentifierBag(org.w3c.dom.Element base)
          Deprecated. Construct the object from a DOM tree.
 
Method Summary
 void add(KeyedReference kr)
          Deprecated. Add a keyed reference to this collection
 KeyedReference get(int index)
          Deprecated. Retrieve the object at the specified index within the collection.
 java.util.Vector getKeyedReferenceVector()
          Deprecated. Get keyedReference
 boolean remove(KeyedReference kr)
          Deprecated. Remove the specified object from the collection.
 void saveToXML(org.w3c.dom.Element parent)
          Deprecated. Save an object to the DOM tree.
 void setKeyedReferenceVector(java.util.Vector s)
          Deprecated. Set keyedReference vector
 int size()
          Deprecated. Return current size of the collection.
 
Methods inherited from class org.uddi4j.UDDIElement
getChildElementsByTagName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UDDI_TAG

public static final java.lang.String UDDI_TAG
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

IdentifierBag

public IdentifierBag()
Deprecated. 
Default constructor.


IdentifierBag

public IdentifierBag(org.w3c.dom.Element base)
              throws UDDIException
Deprecated. 
Construct the object from a DOM tree. Used by UDDIProxy to construct an object from a received UDDI message.

Parameters:
base - Element with the name appropriate for this class.
Throws:
UDDIException - Thrown if DOM tree contains a SOAP fault or a disposition report indicating a UDDI error.
Method Detail

setKeyedReferenceVector

public void setKeyedReferenceVector(java.util.Vector s)
Deprecated. 
Set keyedReference vector

Parameters:
s - Vector of KeyedReference objects.

getKeyedReferenceVector

public java.util.Vector getKeyedReferenceVector()
Deprecated. 
Get keyedReference

Returns:
s Vector of KeyedReference objects.

add

public void add(KeyedReference kr)
Deprecated. 
Add a keyed reference to this collection

Parameters:
kr - KeyedReference

remove

public boolean remove(KeyedReference kr)
Deprecated. 
Remove the specified object from the collection.

Parameters:
kr - Keyed reference to remove
Returns:
True if object was removed, false if it was not found in the collection.

get

public KeyedReference get(int index)
Deprecated. 
Retrieve the object at the specified index within the collection.

Parameters:
index -
Returns:
KeyedReference

size

public int size()
Deprecated. 
Return current size of the collection.

Returns:
int

saveToXML

public void saveToXML(org.w3c.dom.Element parent)
Deprecated. 
Save an object to the DOM tree. Used to serialize an object to a DOM tree, usually to send a UDDI message.
Used by UDDIProxy.

Specified by:
saveToXML in class UDDIElement
Parameters:
parent - Object will serialize as a child element under the passed in parent element.