Ruddi™ UDDI Client API
1.0

inspireit.uddi.response.base
Class SharedRelationships

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

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

SharedRelationships holds information about relationships shared between BusinessEntitys.

Since:
UDDI V2.0
Author:
Bertrand Fontaine, INSPIRE IT $Revision: 1.2 $
See Also:
Serialized Form

Field Summary
protected  java.lang.String direction
          The relationship direction.
static java.lang.String FROMKEY_DIRECTION
          The fromKey relationship direction.
protected  KeyedReferences keyedReferences
          A list of KeyedReference.
static java.lang.String TOKEY_DIRECTION
          The toKey relationship direction.
 
Constructor Summary
SharedRelationships(java.lang.String direction)
          SharedRelationships default constructor for a SharedRelationships holding an empty KeyedReference collection.
SharedRelationships(java.lang.String direction, KeyedReferences keyedReferences)
          SharedRelationships constructor.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getDirection()
          Gets the relationship direction.
 KeyedReferences getKeyedReferences()
          Gets the KeyedReferences.
 java.lang.Object visit(inspireit.uddi.util.visitors.UDDIVisitor visitor)
          Visits this CategoryBag.
 
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.


FROMKEY_DIRECTION

public static final java.lang.String FROMKEY_DIRECTION
The fromKey relationship direction.

See Also:
Constant Field Values

TOKEY_DIRECTION

public static final java.lang.String TOKEY_DIRECTION
The toKey relationship direction.

See Also:
Constant Field Values

direction

protected java.lang.String direction
The relationship direction.

Constructor Detail

SharedRelationships

public SharedRelationships(java.lang.String direction,
                           KeyedReferences keyedReferences)
SharedRelationships constructor.

Parameters:
direction - The relationship direction.
keyedReferences - A list of KeyedReference.

SharedRelationships

public SharedRelationships(java.lang.String direction)
SharedRelationships default constructor for a SharedRelationships holding an empty KeyedReference collection.

Parameters:
direction - The relationship direction.
Method Detail

getDirection

public java.lang.String getDirection()
Gets the relationship direction.

Returns:
the relationship direction

getKeyedReferences

public KeyedReferences getKeyedReferences()
Gets the KeyedReferences.

Returns:
the KeyedReferences

visit

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

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

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

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.