Package jadex.bdiv3x.runtime
Interface IExpression
-
- All Superinterfaces:
IElement
- All Known Implementing Classes:
RExpressionbase.RExpression
public interface IExpression extends IElement
The common interface for expressions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
execute()
Execute the query.java.lang.Object
execute(java.lang.String[] names, java.lang.Object[] values)
Execute the query using local parameters.java.lang.Object
execute(java.lang.String name, java.lang.Object value)
Execute the query using a local parameter.java.lang.Object
getValue()
Evaluate the expression.-
Methods inherited from interface jadex.bdiv3x.runtime.IElement
getCount, getId, getModelElement
-
-
-
-
Method Detail
-
getValue
java.lang.Object getValue()
Evaluate the expression.- Returns:
- The value of the expression.
-
execute
java.lang.Object execute()
Execute the query.- Returns:
- the result value of the query.
-
execute
java.lang.Object execute(java.lang.String name, java.lang.Object value)
Execute the query using a local parameter.- Parameters:
name
- The name of the local parameter.value
- The value of the local parameter.- Returns:
- the result value of the query.
-
execute
java.lang.Object execute(java.lang.String[] names, java.lang.Object[] values)
Execute the query using local parameters.- Parameters:
names
- The names of parameters.values
- The parameter values.- Returns:
- The return value.
-
-