Ruddi™ UDDI Client API
1.0

inspireit.uddi.response
Class ServiceDetail

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

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

ServiceDetail represents a serviceDetail response message. The serviceDetai message returns one or more complete businessService structures in response to a get_serviceDetail inquiry message.

For information, the XML syntax for a serviceDetail message is:

 <serviceDetail generic="1.0" operator="uddi.sourceOperator" [truncated="false"] xmlns="urn:uddi-org:api">
     <businessService businessKey="F5E65..." serviceKey="3D21...">
         ...
     </businessService>
     [<businessService/> ...]
 </serviceDetail>
One can use serviceDetail messages to get complete descriptive and technical details about registered services by providing one or more serviceKey values in the get_serviceDetail message. Notice that the businessKey value is expressed in this message because the container does not provide a link to the parent businessEntity structure.

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

Field Summary
protected  BusinessServices businessServices
          The list of BusinessServices.
protected  java.lang.String generic
          The UDDI version in use.
protected  Operator operator
          The characteristics of the Operator Site.
protected  boolean truncated
          Whether the Operator Site has truncated or not the result set.
 
Constructor Summary
ServiceDetail(BusinessServices businessServices, boolean truncated)
          ServiceDetail constructor.
ServiceDetail(BusinessServices businessServices, 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 ServiceDetail.
 BusinessServices getBusinessServices()
          Gets all BusinessServices.
 java.lang.String getGeneric()
          Deprecated. as of UDDI V3.0
 Operator getOperator()
          Deprecated. as of UDDI V3.0
 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

businessServices

protected BusinessServices businessServices
The list of BusinessServices.


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.

Constructor Detail

ServiceDetail

public ServiceDetail(BusinessServices businessServices,
                     java.lang.String generic,
                     Operator operator,
                     boolean truncated)
Deprecated. as of UDDI V3.0

ServiceDetail constructor.

Parameters:
businessServices - The list of BusinessServices.
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.

ServiceDetail

public ServiceDetail(BusinessServices businessServices,
                     boolean truncated)
ServiceDetail constructor.

Parameters:
businessServices - The list of BusinessServices.
truncated - Whether the Operator Site has truncated or not the result set.
Since:
UDDI V3.0
Method Detail

getBusinessServices

public BusinessServices getBusinessServices()
Gets all BusinessServices.

Returns:
a collection of BusinessService objects

getGeneric

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

Gets the UDDI version in use.

Returns:
the UDDI version in use

getOperator

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

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 ServiceDetail.

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