Package jadex.bdiv3x.runtime
Class RExpressionbase
- java.lang.Object
-
- jadex.bdiv3.runtime.impl.RElement
-
- jadex.bdiv3x.runtime.RExpressionbase
-
- All Implemented Interfaces:
IElement
,IExpressionbase
public class RExpressionbase extends jadex.bdiv3.runtime.impl.RElement implements IExpressionbase
The expression base runtime element.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
RExpressionbase.RExpression
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<java.lang.String,IExpression>
expressions
The expressions.
-
Constructor Summary
Constructors Constructor Description RExpressionbase(IInternalAccess agent)
Create a new beliefbase.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IExpression
createExpression(java.lang.String expression)
Create a precompiled expression.IExpression
getExpression(java.lang.String name)
Get a predefined expression.-
Methods inherited from class jadex.bdiv3.runtime.impl.RElement
getAgent, getCapability, getCount, getId, getMCapability, getModelElement, getRuleSystem, setId, setModelElement, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jadex.bdiv3x.runtime.IElement
getCount, getId, getModelElement
-
-
-
-
Field Detail
-
expressions
protected java.util.Map<java.lang.String,IExpression> expressions
The expressions.
-
-
Constructor Detail
-
RExpressionbase
public RExpressionbase(IInternalAccess agent)
Create a new beliefbase.
-
-
Method Detail
-
getExpression
public IExpression getExpression(java.lang.String name)
Get a predefined expression. Creates a new instance on every call.- Specified by:
getExpression
in interfaceIExpressionbase
- Parameters:
name
- The name of an expression defined in the ADF.- Returns:
- The expression object.
-
createExpression
public IExpression createExpression(java.lang.String expression)
Create a precompiled expression.- Specified by:
createExpression
in interfaceIExpressionbase
- Parameters:
expression
- The expression string.- Returns:
- The precompiled expression.
-
-