Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.juddi.datatype.binding
Class BindingTemplate  view BindingTemplate download BindingTemplate.java

java.lang.Object
  extended byorg.apache.juddi.datatype.binding.BindingTemplate
All Implemented Interfaces:
org.apache.juddi.datatype.RegistryObject, java.io.Serializable

public class BindingTemplate
extends java.lang.Object
implements org.apache.juddi.datatype.RegistryObject

Technical web service description. Contains "information relevant for application programs that need to connect to and then communicate with a remote Web Service. This information includes the address to make contact with a Web Service, as well as support for option information that can be used to describe both hosted services and services that require additional values to be discovered prior to invoking a service" - technical whitepaper "Technical information about a service entry point and construction specs" - XML Structure Reference


Field Summary
(package private)  AccessPoint accessPoint
           
(package private)  java.lang.String bindingKey
           
(package private)  org.apache.juddi.datatype.CategoryBag categoryBag
           
(package private)  java.util.Vector descVector
           
(package private)  HostingRedirector hostingRedirector
           
(package private)  java.lang.String serviceKey
           
(package private)  TModelInstanceDetails tModelInstanceDetails
           
 
Constructor Summary
BindingTemplate()
          Constructs a new empty BindingTemplate.
 
Method Summary
 void addCategory(org.apache.juddi.datatype.KeyedReference ref)
          Add a category to the categorybag of this binding template.
 void addDescription(org.apache.juddi.datatype.Description desc)
          Adds the given description.
 AccessPoint getAccessPoint()
          Returns the accesspoint of this binding template.
 java.lang.String getBindingKey()
          Returns the bindingkey of this binding template.
 org.apache.juddi.datatype.CategoryBag getCategoryBag()
          Returns the categorybag of this binding template.
 java.util.Vector getDescriptionVector()
          Returns the descriptions.
 HostingRedirector getHostingRedirector()
          Returns the hosting redirector of this binding template.
 java.lang.String getServiceKey()
          Returns the servicekey of this bindingtemplate.
 TModelInstanceDetails getTModelInstanceDetails()
          Returns the tModelInstanceDetails of this binding template.
 void setAccessPoint(AccessPoint point)
          Sets the AccessPoint of this BindingTemplate.
 void setBindingKey(java.lang.String key)
          Sets the bindingkey of this bindingtemplate to the given key.
 void setCategoryBag(org.apache.juddi.datatype.CategoryBag bag)
          Set the categorybag of this binding template to the given one.
 void setDescriptionVector(java.util.Vector descs)
          Sets the description list to the current one.
 void setHostingRedirector(HostingRedirector director)
          Sets the hosting redirector of this BindingTemplate.
 void setServiceKey(java.lang.String key)
          Sets the servicekey of this bindingtemplate.
 void setTModelInstanceDetails(TModelInstanceDetails details)
          Sets the tModelInstanceDetails of this binding template.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bindingKey

java.lang.String bindingKey

serviceKey

java.lang.String serviceKey

descVector

java.util.Vector descVector

accessPoint

AccessPoint accessPoint

hostingRedirector

HostingRedirector hostingRedirector

tModelInstanceDetails

TModelInstanceDetails tModelInstanceDetails

categoryBag

org.apache.juddi.datatype.CategoryBag categoryBag
Constructor Detail

BindingTemplate

public BindingTemplate()
Constructs a new empty BindingTemplate.

Method Detail

setBindingKey

public void setBindingKey(java.lang.String key)
Sets the bindingkey of this bindingtemplate to the given key.


getBindingKey

public java.lang.String getBindingKey()
Returns the bindingkey of this binding template.


setServiceKey

public void setServiceKey(java.lang.String key)
Sets the servicekey of this bindingtemplate.


getServiceKey

public java.lang.String getServiceKey()
Returns the servicekey of this bindingtemplate. This method can return null if the business service for this binding template has been set and if the service key for this binding template has not been set.


addDescription

public void addDescription(org.apache.juddi.datatype.Description desc)
Adds the given description. If there was already a description with the same language-code as the new description, an exception will be thrown.


setDescriptionVector

public void setDescriptionVector(java.util.Vector descs)
Sets the description list to the current one. Ignores any object in the collection that is not an "instanceof" the Description class.


getDescriptionVector

public java.util.Vector getDescriptionVector()
Returns the descriptions.


setAccessPoint

public void setAccessPoint(AccessPoint point)
Sets the AccessPoint of this BindingTemplate. If the new AccessPoint is not null and if this BindingTemplate also contains a HostingRedirector, that HostingRedirector is set to null.


getAccessPoint

public AccessPoint getAccessPoint()
Returns the accesspoint of this binding template.


setHostingRedirector

public void setHostingRedirector(HostingRedirector director)
Sets the hosting redirector of this BindingTemplate. If the new HostingRedirector is not null and if this BindingTemplate also contains an AccessPoint, that AccessPoint is set to null.


getHostingRedirector

public HostingRedirector getHostingRedirector()
Returns the hosting redirector of this binding template.


getTModelInstanceDetails

public TModelInstanceDetails getTModelInstanceDetails()
Returns the tModelInstanceDetails of this binding template.


setTModelInstanceDetails

public void setTModelInstanceDetails(TModelInstanceDetails details)
Sets the tModelInstanceDetails of this binding template.


addCategory

public void addCategory(org.apache.juddi.datatype.KeyedReference ref)
Add a category to the categorybag of this binding template.


getCategoryBag

public org.apache.juddi.datatype.CategoryBag getCategoryBag()
Returns the categorybag of this binding template. If this binding template doesn't contain any categories, an empty enumeration is returned.


setCategoryBag

public void setCategoryBag(org.apache.juddi.datatype.CategoryBag bag)
Set the categorybag of this binding template to the given one.