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 SummaryFields Modifier and Type Field Description protected UnparsedExpressionuexpThe unparsed expression.
 - 
Constructor SummaryConstructors Constructor Description RExpression(UnparsedExpression uexp, IInternalAccess agent)
 - 
Method SummaryAll 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.RElementgetAgent, getCapability, getId, getMCapability, getModelElement, getRuleSystem, setId, setModelElement, toString
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface jadex.bdiv3x.runtime.IElementgetModelElement
 
- 
 
- 
- 
- 
Field Detail- 
uexpprotected UnparsedExpression uexp The unparsed expression.
 
- 
 - 
Constructor Detail- 
RExpressionpublic RExpression(UnparsedExpression uexp, IInternalAccess agent) 
 
- 
 - 
Method Detail- 
getValuepublic java.lang.Object getValue() Evaluate the expression.- Specified by:
- getValuein interface- IExpression
- Returns:
- The value of the expression.
 
 - 
executepublic java.lang.Object execute() Execute the query.- Specified by:
- executein interface- IExpression
- Returns:
- the result value of the query.
 
 - 
executepublic java.lang.Object execute(java.lang.String name, java.lang.Object value)Execute the query using a local parameter.- Specified by:
- executein interface- IExpression
- Parameters:
- name- The name of the local parameter.
- value- The value of the local parameter.
- Returns:
- the result value of the query.
 
 - 
executepublic java.lang.Object execute(java.lang.String[] names, java.lang.Object[] values)Execute the query using local parameters.- Specified by:
- executein interface- IExpression
- Parameters:
- names- The names of parameters.
- values- The parameter values.
- Returns:
- The return value.
 
 - 
getParsedExpressionpublic IParsedExpression getParsedExpression() 
 
- 
 
-