Ruddi™ UDDI Client API
1.0

inspireit.uddi.response
Class PublisherAssertions

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

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

PublisherAssertions represents a publisherAssertions response message. PublisherAssertions is a response to get_publisherAssertions request and the set_publisherAssertions message. Contains all of the relationship assertions made by the requesting publisher. This one structure contains all of the relationships recorded by the publisher.

PublisherAssertions can also be used as a collection of PublisherAssertion items. In that context, invoking the getGeneric(), getOperator() and getAuthorizedName() method throw a RuntimeException.

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

Field Summary
protected  AuthorizedName authorizedName
           
protected  java.lang.String generic
          The UDDI version in use.
protected  boolean isAResponse
          Whether this is used as a collection or as a UDDI response.
protected  Operator operator
          The characteristics of the Operator Site.
protected  java.util.Vector publisherAssertions
          Vector containing the publisher assertions (PublisherAssertion objects).
 
Constructor Summary
PublisherAssertions()
          PublisherAssertions default constructor.
PublisherAssertions(java.lang.String generic, Operator operator, AuthorizedName authorizedName)
          Deprecated. as of UDDI V3.0
 
Method Summary
 boolean add(PublisherAssertion publisherAssertion)
          Adds a PublisherAssertion to this PublisherAssertion set.
 boolean equals(java.lang.Object o)
          Tests an object for equality.
 AuthorizedName getAuthorizedName()
          Deprecated. as of UDDI V3.0
 java.lang.String getGeneric()
          Deprecated. as of UDDI V3.0
 Operator getOperator()
          Deprecated. as of UDDI V3.0
 PublisherAssertionIterator iterator()
          Gets a PublisherAssertion iterator.
 boolean remove(PublisherAssertion publisherAssertion)
          Removes a PublisherAssertion from this PublisherAssertion set.
 int size()
          Gets the number of PublisherAssertions of this collection.
 PublisherAssertion[] toArray()
          Turns this PublisherAssertions collection to a PublisherAssertion array.
 java.lang.Object visit(inspireit.uddi.util.visitors.UDDIVisitor visitor)
          Visits this UDDI element.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

publisherAssertions

protected java.util.Vector publisherAssertions
Vector containing the publisher assertions (PublisherAssertion objects).


generic

protected java.lang.String generic
The UDDI version in use.


operator

protected Operator operator
The characteristics of the Operator Site.


authorizedName

protected AuthorizedName authorizedName

isAResponse

protected boolean isAResponse
Whether this is used as a collection or as a UDDI response.

Constructor Detail

PublisherAssertions

public PublisherAssertions()
PublisherAssertions default constructor.


PublisherAssertions

public PublisherAssertions(java.lang.String generic,
                           Operator operator,
                           AuthorizedName authorizedName)
Deprecated. as of UDDI V3.0

PublisherAssertions default constructor.

Method Detail

add

public boolean add(PublisherAssertion publisherAssertion)
Adds a PublisherAssertion to this PublisherAssertion set.

Parameters:
publisherAssertion - The PublisherAssertion to add to this PublisherAssertion set.

remove

public boolean remove(PublisherAssertion publisherAssertion)
Removes a PublisherAssertion from this PublisherAssertion set.

Parameters:
publisherAssertion - The PublisherAssertion to remove from this PublisherAssertion set.

iterator

public PublisherAssertionIterator iterator()
Gets a PublisherAssertion iterator.

Returns:
a PublisherAssertion iterator

toArray

public PublisherAssertion[] toArray()
Turns this PublisherAssertions collection to a PublisherAssertion array.

Returns:
a PublisherAssertion array

size

public int size()
Gets the number of PublisherAssertions of this collection.

Returns:
the number of PublisherAssertions of this collection

getGeneric

public java.lang.String getGeneric()
Deprecated. as of UDDI V3.0

Gets the UDDI version in use. This method will throw a RuntimeException if invoked on a PublisherAssertions built for use as a pure collection instead of as a UDDI response.

Returns:
the UDDI version in use

getOperator

public Operator getOperator()
Deprecated. as of UDDI V3.0

Gets the characteristics of the Operator Site. This method will throw a RuntimeException if invoked on a PublisherAssertions built for use as a pure collection instead of as a UDDI response.

Returns:
the characteristics of the Operator Site as an Operator object

getAuthorizedName

public AuthorizedName getAuthorizedName()
Deprecated. as of UDDI V3.0

This method will throw a RuntimeException if invoked on a PublisherAssertions built for use as a pure collection instead of as a UDDI response.


visit

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

Specified by:
visit in interface inspireit.uddi.util.visitors.UDDIElement
Parameters:
visitor - The visiting UDDI object.

equals

public boolean equals(java.lang.Object o)
Tests an object for equality. Two PublisherAssertions are equal if they list the same Result set.

Overrides:
equals in class java.lang.Object
Parameters:
o - The object to test for equality.
Returns:
true if o and this object 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.