Ruddi™ UDDI Client API
1.0

inspireit.uddi
Class PublisherAssertion

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

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

PublisherAssertion represents a relationship assertion used, for example, to "link together" individual subsidiaries of a large enterprise or individual participants of a marketplace.

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

Field Summary
protected  FromKey fromKey
          Reference to the first BusinessEntity the assertion is made for.
protected  KeyedReference keyedReference
          The relationship type the assertion is made for.
protected  ToKey toKey
          Reference to the second BusinessEntity the assertion is made for.
 
Constructor Summary
PublisherAssertion(FromKey fromKey, ToKey toKey, KeyedReference keyedReference)
          PublisherAssertion constructor.
 
Method Summary
 boolean equals(java.lang.Object o)
          Checks whether an object is equal to this PublisherAssertion.
 FromKey getFromKey()
          Gets the reference to the first BusinessEntity the assertion is made for.
 KeyedReference getKeyedReference()
          Gets the relationship type the assertion is made for.
 ToKey getToKey()
          Gets the reference to the second BusinessEntity the assertion is made for.
 void setFromKey(FromKey fromKey)
          Sets the reference to the first BusinessEntity the assertion is made for.
 void setKeyedReference(KeyedReference keyedReference)
          Sets the relationship type the assertion is made for.
 void setToKey(ToKey toKey)
          Sets the reference to the second BusinessEntity the assertion is made for.
 java.lang.Object visit(inspireit.uddi.util.visitors.UDDIVisitor visitor)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fromKey

protected FromKey fromKey
Reference to the first BusinessEntity the assertion is made for.


toKey

protected ToKey toKey
Reference to the second BusinessEntity the assertion is made for.


keyedReference

protected KeyedReference keyedReference
The relationship type the assertion is made for.

Constructor Detail

PublisherAssertion

public PublisherAssertion(FromKey fromKey,
                          ToKey toKey,
                          KeyedReference keyedReference)
PublisherAssertion constructor.

Parameters:
fromKey - Reference to the first BusinessEntity the assertion is made for.
toKey - Reference to the second BusinessEntity the assertion is made for.
keyedReference - The relationship type the assertion is made for.
Method Detail

getFromKey

public FromKey getFromKey()
Gets the reference to the first BusinessEntity the assertion is made for.

Returns:
the BusinessKey of the first BusinessEntity the assertion is made for

setFromKey

public void setFromKey(FromKey fromKey)
Sets the reference to the first BusinessEntity the assertion is made for.

Parameters:
fromKey - The BusinessKey of the first BusinessEntity the assertion is made for

getToKey

public ToKey getToKey()
Gets the reference to the second BusinessEntity the assertion is made for.

Returns:
the BusinessKey of the second BusinessEntity the assertion is made for

setToKey

public void setToKey(ToKey toKey)
Sets the reference to the second BusinessEntity the assertion is made for.

Parameters:
toKey - The BusinessKey of the second BusinessEntity the assertion is made for

getKeyedReference

public KeyedReference getKeyedReference()
Gets the relationship type the assertion is made for.

Returns:
a KeyedReference representing the relationship type the assertion is made for

setKeyedReference

public void setKeyedReference(KeyedReference keyedReference)
Sets the relationship type the assertion is made for.

Parameters:
keyedReference - A KeyedReference representing the relationship type the assertion is made for

equals

public boolean equals(java.lang.Object o)
Checks whether an object is equal to this PublisherAssertion.

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

visit

public java.lang.Object visit(inspireit.uddi.util.visitors.UDDIVisitor visitor)
Specified by:
visit in interface inspireit.uddi.util.visitors.UDDIElement

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.