Package jadex.bridge.service
Class RequiredServiceBinding
- java.lang.Object
-
- jadex.bridge.service.RequiredServiceBinding
-
public class RequiredServiceBinding extends java.lang.ObjectRequired service binding information.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringcomponentnameThe component name used for searching.protected java.lang.StringcomponenttypeThe component type, i.e.protected java.util.List<UnparsedExpression>interceptorsThe interceptors.protected java.lang.StringnameThe service name.protected java.lang.StringproxytypeThe proxytype.protected ServiceScopescopeThe search scope.protected UnparsedExpressionscopeexpressionThe scope expression (if any).
-
Constructor Summary
Constructors Constructor Description RequiredServiceBinding()Create a new binding.RequiredServiceBinding(RequiredServiceBinding orig)Create a new binding.RequiredServiceBinding(java.lang.String name, ServiceScope scope)Create a new binding.RequiredServiceBinding(java.lang.String name, java.lang.String componentname, java.lang.String componenttype, ServiceScope scope, UnparsedExpression[] interceptors, java.lang.String proxytype)Create a new binding.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RequiredServiceBindingaddInterceptor(UnparsedExpression interceptor)Add an interceptor.java.lang.StringgetComponentName()Get the componentname.java.lang.StringgetComponentType()Get the componenttype.UnparsedExpression[]getInterceptors()Get the interceptors.java.lang.StringgetName()Get the name.java.lang.StringgetProxytype()Get the proxytype.ServiceScopegetScope()Get the scope.UnparsedExpressiongetScopeExpression()Get the scope expression.RequiredServiceBindingremoveInterceptor(UnparsedExpression interceptor)Remove an interceptor.RequiredServiceBindingsetComponentName(java.lang.String componentname)Set the componentname.RequiredServiceBindingsetComponentType(java.lang.String componenttype)Set the componenttype.RequiredServiceBindingsetName(java.lang.String name)Set the name.RequiredServiceBindingsetProxytype(java.lang.String proxytype)Set the proxytype.RequiredServiceBindingsetScope(ServiceScope scope)Set the scope.RequiredServiceBindingsetScopeExpression(UnparsedExpression expression)Set the scope expression.java.lang.StringtoString()Get the string representation.
-
-
-
Field Detail
-
name
protected java.lang.String name
The service name.
-
componentname
protected java.lang.String componentname
The component name used for searching.
-
componenttype
protected java.lang.String componenttype
The component type, i.e. the model name used for searching.
-
scope
protected ServiceScope scope
The search scope.
-
scopeexpression
protected UnparsedExpression scopeexpression
The scope expression (if any).
-
interceptors
protected java.util.List<UnparsedExpression> interceptors
The interceptors.
-
proxytype
protected java.lang.String proxytype
The proxytype.
-
-
Constructor Detail
-
RequiredServiceBinding
public RequiredServiceBinding()
Create a new binding.
-
RequiredServiceBinding
public RequiredServiceBinding(java.lang.String name, ServiceScope scope)Create a new binding.
-
RequiredServiceBinding
public RequiredServiceBinding(java.lang.String name, java.lang.String componentname, java.lang.String componenttype, ServiceScope scope, UnparsedExpression[] interceptors, java.lang.String proxytype)Create a new binding.
-
RequiredServiceBinding
public RequiredServiceBinding(RequiredServiceBinding orig)
Create a new binding.
-
-
Method Detail
-
getName
public java.lang.String getName()
Get the name.- Returns:
- the name.
-
setName
public RequiredServiceBinding setName(java.lang.String name)
Set the name.- Parameters:
name- The name to set.
-
getComponentName
public java.lang.String getComponentName()
Get the componentname.- Returns:
- the componentname.
-
setComponentName
public RequiredServiceBinding setComponentName(java.lang.String componentname)
Set the componentname.- Parameters:
componentname- The componentname to set.
-
getComponentType
public java.lang.String getComponentType()
Get the componenttype.- Returns:
- the componenttype.
-
setComponentType
public RequiredServiceBinding setComponentType(java.lang.String componenttype)
Set the componenttype.- Parameters:
componenttype- The componenttype to set.
-
getScope
public ServiceScope getScope()
Get the scope.- Returns:
- the scope.
-
setScope
public RequiredServiceBinding setScope(ServiceScope scope)
Set the scope.- Parameters:
scope- The scope to set.
-
getScopeExpression
public UnparsedExpression getScopeExpression()
Get the scope expression.- Returns:
- The scope expression.
-
setScopeExpression
public RequiredServiceBinding setScopeExpression(UnparsedExpression expression)
Set the scope expression.- Parameters:
expression- The scope expression to set.
-
addInterceptor
public RequiredServiceBinding addInterceptor(UnparsedExpression interceptor)
Add an interceptor.- Parameters:
interceptor- The interceptor.
-
removeInterceptor
public RequiredServiceBinding removeInterceptor(UnparsedExpression interceptor)
Remove an interceptor.- Parameters:
interceptor- The interceptor.
-
getInterceptors
public UnparsedExpression[] getInterceptors()
Get the interceptors.- Returns:
- All interceptors.
-
getProxytype
public java.lang.String getProxytype()
Get the proxytype.- Returns:
- the proxytype.
-
setProxytype
public RequiredServiceBinding setProxytype(java.lang.String proxytype)
Set the proxytype.- Parameters:
proxytype- The proxytype to set.
-
toString
public java.lang.String toString()
Get the string representation.- Overrides:
toStringin classjava.lang.Object
-
-