Package jadex.bdiv3x.runtime
Class RExpressionbase.RExpression
- java.lang.Object
 - 
- jadex.bdiv3.runtime.impl.RElement
 - 
- jadex.bdiv3x.runtime.RExpressionbase.RExpression
 
 
 
- 
- All Implemented Interfaces:
 IElement,IExpression
- Enclosing class:
 - RExpressionbase
 
public class RExpressionbase.RExpression extends jadex.bdiv3.runtime.impl.RElement implements IExpression
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected UnparsedExpressionuexpThe unparsed expression. 
- 
Constructor Summary
Constructors Constructor Description RExpression(UnparsedExpression uexp, IInternalAccess agent) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectexecute()Execute the query.java.lang.Objectexecute(java.lang.String[] names, java.lang.Object[] values)Execute the query using local parameters.java.lang.Objectexecute(java.lang.String name, java.lang.Object value)Execute the query using a local parameter.IParsedExpressiongetParsedExpression()java.lang.ObjectgetValue()Evaluate the expression.- 
Methods inherited from class jadex.bdiv3.runtime.impl.RElement
getAgent, getCapability, 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
getModelElement 
 - 
 
 - 
 
- 
- 
Field Detail
- 
uexp
protected UnparsedExpression uexp
The unparsed expression. 
 - 
 
- 
Constructor Detail
- 
RExpression
public RExpression(UnparsedExpression uexp, IInternalAccess agent)
 
 - 
 
- 
Method Detail
- 
getValue
public java.lang.Object getValue()
Evaluate the expression.- Specified by:
 getValuein interfaceIExpression- Returns:
 - The value of the expression.
 
 
- 
execute
public java.lang.Object execute()
Execute the query.- Specified by:
 executein interfaceIExpression- Returns:
 - the result value of the query.
 
 
- 
execute
public java.lang.Object execute(java.lang.String name, java.lang.Object value)Execute the query using a local parameter.- Specified by:
 executein interfaceIExpression- Parameters:
 name- The name of the local parameter.value- The value of the local parameter.- Returns:
 - the result value of the query.
 
 
- 
execute
public java.lang.Object execute(java.lang.String[] names, java.lang.Object[] values)Execute the query using local parameters.- Specified by:
 executein interfaceIExpression- Parameters:
 names- The names of parameters.values- The parameter values.- Returns:
 - The return value.
 
 
- 
getParsedExpression
public IParsedExpression getParsedExpression()
 
 - 
 
 -