com.softwareag.centrasite.appl.framework.beans.standard.impl
Class ServiceBindingImpl

java.lang.Object
  extended by com.softwareag.centrasite.appl.framework.beans.DynamicRegistryBean
      extended by com.softwareag.centrasite.appl.framework.beans.standard.impl.RegistryObjectImpl
          extended by com.softwareag.centrasite.appl.framework.beans.standard.impl.ServiceBindingImpl
All Implemented Interfaces:
RegistryBean, RevisionBean, ExtensibleObject, RegistryObject, ServiceBinding, URIValidator

public class ServiceBindingImpl
extends RegistryObjectImpl
implements ServiceBinding


Constructor Summary
ServiceBindingImpl()
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 java.lang.String getAccessURI()
          Gets the URI that gives access to the service via this binding.
 Service getService()
          Gets the parent service for which this is a binding.
 java.util.Collection<SpecificationLink> getSpecificationLinks()
          Gets all children SpecificationLinks.
 ServiceBinding getTargetBinding()
          Gets the next ServiceBinding in case there is a redirection from one service provider to another service provider.
 boolean getValidateURI()
          Gets whether to do URI validation for this object.
 int hashCode()
           
 void setAccessURI(java.lang.String uri)
          Sets the URI that gives access to the service via this binding.
 void setService(Service service)
          Sets the Service for this ServiceBinding
 void setSpecificationLinks(java.util.Collection<SpecificationLink> specificationLinks)
          Sets all children SpecificationLinks.
 void setTargetBinding(ServiceBinding binding)
          Sets the next ServiceBinding in case there is a redirection.
 void setValidateURI(boolean validate)
          Sets whether to do URI validation for this object.
 
Methods inherited from class com.softwareag.centrasite.appl.framework.beans.standard.impl.RegistryObjectImpl
getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getExternalIdentifiers, getExternalLinks, getObjectType, getRegistryPackages, getSlots, getSubmittingOrganization, setAssociatedObjects, setAssociations, setAuditTrail, setClassifications, setExternalIdentifiers, setExternalLinks, setObjectType, setRegistryPackages, setSlots, setSubmittingOrganization
 
Methods inherited from class com.softwareag.centrasite.appl.framework.beans.DynamicRegistryBean
getCheckpointName, getDescription, getIdentity, getKey, getName, isRevision, setCheckpointName, setDescription, setIdentity, setKey, setName, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.softwareag.centrasite.appl.framework.beans.standard.RegistryObject
getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getExternalIdentifiers, getExternalLinks, getObjectType, getRegistryPackages, getSubmittingOrganization, setAssociations, setClassifications, setExternalIdentifiers, setExternalLinks, setSubmittingOrganization
 
Methods inherited from interface com.softwareag.centrasite.appl.framework.beans.RegistryBean
getDescription, getKey, getName, setDescription, setName
 
Methods inherited from interface com.softwareag.centrasite.appl.framework.beans.standard.ExtensibleObject
getSlots, setSlots
 

Constructor Detail

ServiceBindingImpl

public ServiceBindingImpl()
Method Detail

getAccessURI

public java.lang.String getAccessURI()
Gets the URI that gives access to the service via this binding.

Specified by:
getAccessURI in interface ServiceBinding
Returns:
String

getService

public Service getService()
Gets the parent service for which this is a binding.

Specified by:
getService in interface ServiceBinding
Returns:
Service

getSpecificationLinks

public java.util.Collection<SpecificationLink> getSpecificationLinks()
Gets all children SpecificationLinks.

Specified by:
getSpecificationLinks in interface ServiceBinding
Returns:
Collection

getTargetBinding

public ServiceBinding getTargetBinding()
Gets the next ServiceBinding in case there is a redirection from one service provider to another service provider.

Specified by:
getTargetBinding in interface ServiceBinding
Returns:
ServiceBinding

setAccessURI

public void setAccessURI(java.lang.String uri)
Sets the URI that gives access to the service via this binding.

Specified by:
setAccessURI in interface ServiceBinding

setTargetBinding

public void setTargetBinding(ServiceBinding binding)
Sets the next ServiceBinding in case there is a redirection.

Specified by:
setTargetBinding in interface ServiceBinding

getValidateURI

public boolean getValidateURI()
Gets whether to do URI validation for this object.

Specified by:
getValidateURI in interface URIValidator
Returns:
boolean

setValidateURI

public void setValidateURI(boolean validate)
Sets whether to do URI validation for this object.

Specified by:
setValidateURI in interface URIValidator

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class RegistryObjectImpl

hashCode

public int hashCode()
Overrides:
hashCode in class RegistryObjectImpl

setSpecificationLinks

public void setSpecificationLinks(java.util.Collection<SpecificationLink> specificationLinks)
Sets all children SpecificationLinks.

Specified by:
setSpecificationLinks in interface ServiceBinding

setService

public void setService(Service service)
Sets the Service for this ServiceBinding

Parameters:
service -