Ruddi™ UDDI Client API
1.0

inspireit.uddi.base
Class IdentifierBag

java.lang.Object
  |
  +--inspireit.uddi.base.IdentifierBag
All Implemented Interfaces:
java.io.Serializable, inspireit.uddi.util.visitors.UDDIElement

public class IdentifierBag
extends java.lang.Object
implements java.io.Serializable, inspireit.uddi.util.visitors.UDDIElement

IdentifierBag is a service element used in searching and categorization.

Author:
Bertrand Fontaine, INSPIRE IT $Revision: 1.2 $
See Also:
Serialized Form

Field Summary
protected  KeyedReferences keyedReferences
          A list of KeyedReference.
 
Constructor Summary
IdentifierBag()
          IdentifierBag default constructor for an IdentifierBag holding an empty KeyedReference collection.
IdentifierBag(KeyedReferences keyedReferences)
          IdentifierBag constructor.
 
Method Summary
 boolean addKeyedReference(KeyedReference keyedReference)
          Adds a KeyedReference.
 boolean equals(java.lang.Object o)
          Checks whether an object is equal to this HostingRedirector.
 KeyedReferences getKeyedReferences()
          Gets the KeyedReferences.
 boolean removeKeyedReference(KeyedReference keyedReference)
          Removes a KeyedReference.
 java.lang.Object visit(inspireit.uddi.util.visitors.UDDIVisitor visitor)
          Visits this IdentifierBag.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

keyedReferences

protected KeyedReferences keyedReferences
A list of KeyedReference.

Constructor Detail

IdentifierBag

public IdentifierBag(KeyedReferences keyedReferences)
IdentifierBag constructor.

Parameters:
keyedReferences - A list of KeyedReference.

IdentifierBag

public IdentifierBag()
IdentifierBag default constructor for an IdentifierBag holding an empty KeyedReference collection.

Method Detail

getKeyedReferences

public KeyedReferences getKeyedReferences()
Gets the KeyedReferences.

Returns:
the KeyedReferences

addKeyedReference

public boolean addKeyedReference(KeyedReference keyedReference)
Adds a KeyedReference.

Parameters:
keyedReference - The KeyedReference to add.

removeKeyedReference

public boolean removeKeyedReference(KeyedReference keyedReference)
Removes a KeyedReference.

Parameters:
keyedReference - The KeyedReference to remove.

visit

public java.lang.Object visit(inspireit.uddi.util.visitors.UDDIVisitor visitor)
Visits this IdentifierBag.

Specified by:
visit in interface inspireit.uddi.util.visitors.UDDIElement
Parameters:
visitor - The Visitor visiting this IdentifierBag.

equals

public boolean equals(java.lang.Object o)
Checks whether an object is equal to this HostingRedirector. Two HostingRedirectors are equal if they list the same KeyedReferences, whatever the order.

Overrides:
equals in class java.lang.Object
Parameters:
o - The object to test for equality.
Returns:
true if o and this HostingRedirector are equal; false otherwise

Ruddi™ UDDI Client API
1.0

Download now! | Submit a bug or feature
(c) 2003 INSPIRE IT
Bld Brand Whitlock 109
1200 Brussels, Belgium
All Rights Reserved.