Ruddi™ UDDI Client API
1.0

inspireit.uddi
Class BindingTemplate

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

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

BindingTemplate represents the technical description of a Web service. A BindingTemplate provides support for determining a technical entry point, as well as a lightweight facility for describing unique technical characteristics of a given implementation.

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

Field Summary
protected  AccessPoint accessPoint
          The Web service access point.
protected  BindingKey bindingKey
          BindingTemplate unique identifier.
protected  Descriptions descriptions
          Descriptions of the logical service family.
protected  HostingRedirector hostingRedirector
          Eventual redirection to a BindingTemplate to use instead.
protected  ServiceKey serviceKey
          Parent BusinessService unique identifier.
protected  TModelInstanceDetails tModelInstanceDetails
          Fingerprint that can be used to identify compatible services.
 
Constructor Summary
BindingTemplate(BindingKey bindingKey, ServiceKey serviceKey, AccessPoint accessPoint, TModelInstanceDetails tModelInstanceDetails)
          BindingTemplate constructor.
BindingTemplate(BindingKey bindingKey, ServiceKey serviceKey, HostingRedirector hostingRedirector, TModelInstanceDetails tModelInstanceDetails)
          BindingTemplate constructor.
 
Method Summary
 void addDescription(Description description)
          Adds a Description of the technical service entry point.
 boolean equals(java.lang.Object o)
          Checks whether an object is equal to this BindingTemplate.
 AccessPoint getAccessPoint()
          Gets the AccessPoint suitable for calling a particular Web service.
 BindingKey getBindingKey()
          Gets the BindingTemplate unique identifier
 Descriptions getDescriptions()
          Gets all Descriptions of the technical service entry point.
 HostingRedirector getHostingRedirector()
          Gets the HostingRedirector redirecting to a different BindingTemplate to use instead.
 ServiceKey getServiceKey()
          Gets unique identifier of the parent BusinessService.
 TModelInstanceDetails getTModelInstanceDetails()
          Gets the TModelInstanceDetails that forms a distinct fingerprint that can be used to identify compatible services.
 void removeDescription(Description description)
          Removes a Description of the technical service entry point.
 void setAccessPoint(AccessPoint accessPoint)
          Sets the AccessPoint suitable for calling a particular Web service.
 void setHostingRedirector(HostingRedirector hostingRedirector)
          Sets the HostingRedirector redirecting to a different BindingTemplate to use instead.
 void setServiceKey(ServiceKey serviceKey)
          Sets the unique identifier of the parent BusinessService.
 void setTModelInstanceDetails(TModelInstanceDetails tModelInstanceDetails)
          Sets the TModelInstanceDetails that forms a distinct fingerprint that can be used to identify compatible services.
 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

bindingKey

protected BindingKey bindingKey
BindingTemplate unique identifier.


serviceKey

protected ServiceKey serviceKey
Parent BusinessService unique identifier.


descriptions

protected Descriptions descriptions
Descriptions of the logical service family.


accessPoint

protected AccessPoint accessPoint
The Web service access point.


hostingRedirector

protected HostingRedirector hostingRedirector
Eventual redirection to a BindingTemplate to use instead.


tModelInstanceDetails

protected TModelInstanceDetails tModelInstanceDetails
Fingerprint that can be used to identify compatible services.

Constructor Detail

BindingTemplate

public BindingTemplate(BindingKey bindingKey,
                       ServiceKey serviceKey,
                       AccessPoint accessPoint,
                       TModelInstanceDetails tModelInstanceDetails)
BindingTemplate constructor.

Parameters:
bindingKey - BindingTemplate unique identifier.
serviceKey - Parent BusinessService unique identifier.
accessPoint - The Web service access point.
tModelInstanceDetails - Fingerprint that can be used to identify compatible services.

BindingTemplate

public BindingTemplate(BindingKey bindingKey,
                       ServiceKey serviceKey,
                       HostingRedirector hostingRedirector,
                       TModelInstanceDetails tModelInstanceDetails)
BindingTemplate constructor.

Parameters:
bindingKey - BindingTemplate unique identifier.
serviceKey - Parent BusinessService unique identifier.
hostingRedirector - Redirection to a BindingTemplate to use instead.
tModelInstanceDetails - Fingerprint that can be used to identify compatible services.
Method Detail

getBindingKey

public BindingKey getBindingKey()
Gets the BindingTemplate unique identifier

Returns:
the BindingTemplate unique identifier

getServiceKey

public ServiceKey getServiceKey()
Gets unique identifier of the parent BusinessService.

Returns:
the unique identifier of the parent BusinessService

setServiceKey

public void setServiceKey(ServiceKey serviceKey)
Sets the unique identifier of the parent BusinessService.

Parameters:
serviceKey - The unique identifier of the parent BusinessService.

addDescription

public void addDescription(Description description)
Adds a Description of the technical service entry point.

Parameters:
description - The Description to add.

getDescriptions

public Descriptions getDescriptions()
Gets all Descriptions of the technical service entry point.

Returns:
all Descriptions

removeDescription

public void removeDescription(Description description)
Removes a Description of the technical service entry point.

Parameters:
description - The Description to remove.

getAccessPoint

public AccessPoint getAccessPoint()
Gets the AccessPoint suitable for calling a particular Web service. This may be a URL, an electronic mail address, or even a telephone number.

Returns:
the AccessPoint suitable for calling a particular Web service

setAccessPoint

public void setAccessPoint(AccessPoint accessPoint)
Sets the AccessPoint suitable for calling a particular Web service. This may be a URL, an electronic mail address, or even a telephone number.

Parameters:
accessPoint - The AccessPoint suitable for calling a particular Web service.

getHostingRedirector

public HostingRedirector getHostingRedirector()
Gets the HostingRedirector redirecting to a different BindingTemplate to use instead. If specified, the caller should retreive that BindingTemplate and use it in place of the current BindingTemplate.

Returns:
the HostingRedirector pointer to the actual BindingTemplate to use; null if no redirection is required

setHostingRedirector

public void setHostingRedirector(HostingRedirector hostingRedirector)
Sets the HostingRedirector redirecting to a different BindingTemplate to use instead. The caller should retreive that BindingTemplate and use it in place of the one containing the HostingRedirector data.

Parameters:
hostingRedirector - The HostingRedirector pointer to the actual BindingTemplate to use.

getTModelInstanceDetails

public TModelInstanceDetails getTModelInstanceDetails()
Gets the TModelInstanceDetails that forms a distinct fingerprint that can be used to identify compatible services.

Returns:
the TModelInstanceDetails compatible services fingerprint

setTModelInstanceDetails

public void setTModelInstanceDetails(TModelInstanceDetails tModelInstanceDetails)
Sets the TModelInstanceDetails that forms a distinct fingerprint that can be used to identify compatible services.

Parameters:
tModelInstanceDetails - The TModelInstanceDetails compatible services fingerprint.

visit

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

equals

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

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