Ruddi™ UDDI Client API
1.0

inspireit.uddi.response
Class ServiceList

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

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

ServiceList represents a serviceList response message. The serviceList message returns one or more serviceInfo data sets in response to a find_service inquiry message.

For information, the XML syntax for a serviceList is:

 <serviceList generic="1.0" operator="uddi.sourceOperator" [truncated="false"] xmlns="urn:uddi-org:api">
     <serviceInfos>
         <serviceInfo serviceKey="3D45..." businessKey="2E4C...">
             <name>Purchase Orders</name>
         </serviceInfo>
     </serviceInfos>
 </serviceList>
This data is suitable for populating a list of services associated with a business and that match a pattern as specified in the inputs to the find_service message. Notice that the businessKey attribute is expressed in the serviceInfo elements found in this message. This is because this information is not available from a containing element.

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

Field Summary
protected  java.lang.String generic
          The UDDI version in use.
protected  ListDescription listDescription
           
protected  Operator operator
          The characteristics of the Operator Site.
protected  ServiceInfos serviceInfos
          The list of ServiceInfo result of the find_service call.
protected  boolean truncated
          Whether the Operator Site has truncated or not the result set.
 
Constructor Summary
ServiceList(ServiceInfos serviceInfos, ListDescription listDescription, boolean truncated)
          ServiceList constructor.
ServiceList(ServiceInfos serviceInfos, java.lang.String generic, Operator operator, boolean truncated)
          Deprecated. as of UDDI V3.0
 
Method Summary
 boolean equals(java.lang.Object o)
          Checks whether an object is equal to this ServiceList.
 java.lang.String getGeneric()
          Gets the UDDI version in use.
 ListDescription getListDescription()
           
 Operator getOperator()
          Gets the characteristics of the Operator Site.
 ServiceInfos getServiceInfos()
          Gets a collection of ServiceInfo.
 boolean isTruncated()
          Checks whether the Operator Site has truncated the result set.
 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

serviceInfos

protected ServiceInfos serviceInfos
The list of ServiceInfo result of the find_service call.


generic

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


operator

protected Operator operator
The characteristics of the Operator Site.


truncated

protected boolean truncated
Whether the Operator Site has truncated or not the result set.


listDescription

protected ListDescription listDescription
Constructor Detail

ServiceList

public ServiceList(ServiceInfos serviceInfos,
                   java.lang.String generic,
                   Operator operator,
                   boolean truncated)
Deprecated. as of UDDI V3.0

ServiceList constructor.

Parameters:
serviceInfos - The list of ServiceInfo result of the find_service call.
generic - The UDDI verion in use.
operator - Operator object characterising the Operator Site.
truncated - Whether the Operator Site has truncated or not the result set.

ServiceList

public ServiceList(ServiceInfos serviceInfos,
                   ListDescription listDescription,
                   boolean truncated)
ServiceList constructor.

Parameters:
serviceInfos - The list of ServiceInfo result of the find_service call.
truncated - Whether the Operator Site has truncated or not the result set.
Since:
UDDI V3.0
Method Detail

getServiceInfos

public ServiceInfos getServiceInfos()
Gets a collection of ServiceInfo.

Returns:
a collection of ServiceInfo

getListDescription

public ListDescription getListDescription()
Since:
UDDI V3.0

getGeneric

public java.lang.String getGeneric()
Gets the UDDI version in use.

Returns:
the UDDI version in use

getOperator

public Operator getOperator()
Gets the characteristics of the Operator Site.

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

isTruncated

public boolean isTruncated()
Checks whether the Operator Site has truncated the result set.

Returns:
true if the Operator Site has truncated the result set; false otherwise

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)
Checks whether an object is equal to this ServiceList.

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