Package jadex.bridge.service
Class RequiredServiceBinding
- java.lang.Object
-
- jadex.bridge.service.RequiredServiceBinding
-
public class RequiredServiceBinding extends java.lang.Object
Required service binding information.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
componentname
The component name used for searching.protected java.lang.String
componenttype
The component type, i.e.protected java.util.List<UnparsedExpression>
interceptors
The interceptors.protected java.lang.String
name
The service name.protected java.lang.String
proxytype
The proxytype.protected ServiceScope
scope
The search scope.protected UnparsedExpression
scopeexpression
The 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 RequiredServiceBinding
addInterceptor(UnparsedExpression interceptor)
Add an interceptor.java.lang.String
getComponentName()
Get the componentname.java.lang.String
getComponentType()
Get the componenttype.UnparsedExpression[]
getInterceptors()
Get the interceptors.java.lang.String
getName()
Get the name.java.lang.String
getProxytype()
Get the proxytype.ServiceScope
getScope()
Get the scope.UnparsedExpression
getScopeExpression()
Get the scope expression.RequiredServiceBinding
removeInterceptor(UnparsedExpression interceptor)
Remove an interceptor.RequiredServiceBinding
setComponentName(java.lang.String componentname)
Set the componentname.RequiredServiceBinding
setComponentType(java.lang.String componenttype)
Set the componenttype.RequiredServiceBinding
setName(java.lang.String name)
Set the name.RequiredServiceBinding
setProxytype(java.lang.String proxytype)
Set the proxytype.RequiredServiceBinding
setScope(ServiceScope scope)
Set the scope.RequiredServiceBinding
setScopeExpression(UnparsedExpression expression)
Set the scope expression.java.lang.String
toString()
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:
toString
in classjava.lang.Object
-
-