Class RequiredServiceBinding

java.lang.Object
jadex.requiredservice.RequiredServiceBinding

public class RequiredServiceBinding extends Object
Required service binding information.
  • Field Details

    • name

      protected String name
      The service name.
    • componentname

      protected String componentname
      The component name used for searching.
    • componenttype

      protected String componenttype
      The component type, i.e. the model name used for searching.
    • scope

      protected jadex.providedservice.ServiceScope scope
      The search scope.
    • scopeexpression

      protected jadex.common.UnparsedExpression scopeexpression
      The scope expression (if any).
    • interceptors

      protected List<jadex.common.UnparsedExpression> interceptors
      The interceptors.
    • proxytype

      protected String proxytype
      The proxytype.
  • Constructor Details

    • RequiredServiceBinding

      public RequiredServiceBinding()
      Create a new binding.
    • RequiredServiceBinding

      public RequiredServiceBinding(String name, jadex.providedservice.ServiceScope scope)
      Create a new binding.
    • RequiredServiceBinding

      public RequiredServiceBinding(String name, String componentname, String componenttype, jadex.providedservice.ServiceScope scope, jadex.common.UnparsedExpression[] interceptors, String proxytype)
      Create a new binding.
    • RequiredServiceBinding

      public RequiredServiceBinding(RequiredServiceBinding orig)
      Create a new binding.
  • Method Details

    • getName

      public String getName()
      Get the name.
      Returns:
      the name.
    • setName

      public RequiredServiceBinding setName(String name)
      Set the name.
      Parameters:
      name - The name to set.
    • getComponentName

      public String getComponentName()
      Get the componentname.
      Returns:
      the componentname.
    • setComponentName

      public RequiredServiceBinding setComponentName(String componentname)
      Set the componentname.
      Parameters:
      componentname - The componentname to set.
    • getComponentType

      public String getComponentType()
      Get the componenttype.
      Returns:
      the componenttype.
    • setComponentType

      public RequiredServiceBinding setComponentType(String componenttype)
      Set the componenttype.
      Parameters:
      componenttype - The componenttype to set.
    • getScope

      public jadex.providedservice.ServiceScope getScope()
      Get the scope.
      Returns:
      the scope.
    • setScope

      public RequiredServiceBinding setScope(jadex.providedservice.ServiceScope scope)
      Set the scope.
      Parameters:
      scope - The scope to set.
    • getScopeExpression

      public jadex.common.UnparsedExpression getScopeExpression()
      Get the scope expression.
      Returns:
      The scope expression.
    • setScopeExpression

      public RequiredServiceBinding setScopeExpression(jadex.common.UnparsedExpression expression)
      Set the scope expression.
      Parameters:
      expression - The scope expression to set.
    • addInterceptor

      public RequiredServiceBinding addInterceptor(jadex.common.UnparsedExpression interceptor)
      Add an interceptor.
      Parameters:
      interceptor - The interceptor.
    • removeInterceptor

      public RequiredServiceBinding removeInterceptor(jadex.common.UnparsedExpression interceptor)
      Remove an interceptor.
      Parameters:
      interceptor - The interceptor.
    • getInterceptors

      public jadex.common.UnparsedExpression[] getInterceptors()
      Get the interceptors.
      Returns:
      All interceptors.
    • getProxytype

      public String getProxytype()
      Get the proxytype.
      Returns:
      the proxytype.
    • setProxytype

      public RequiredServiceBinding setProxytype(String proxytype)
      Set the proxytype.
      Parameters:
      proxytype - The proxytype to set.
    • toString

      public String toString()
      Get the string representation.
      Overrides:
      toString in class Object