java.lang.Objectorg.sintef.mofscript.runtime.expression.ExpressionEvaluator
org.sintef.mofscript.runtime.expression.SimpleExpressionEvaluator
org.sintef.mofscript.runtime.expression.FunctionCallEvaluator
org.sintef.mofscript.uml2Extensions.runtime.UMLFunctionCallEvaluator
public class UMLFunctionCallEvaluator
Specialised function call evaluator for UML2 types of objects Handles a set of predefined operations for UML2 types.
Field Summary |
---|
Fields inherited from class org.sintef.mofscript.runtime.expression.FunctionCallEvaluator |
---|
evaluator, p1, p1Result, p2, p2Result, p3, p3Result |
Fields inherited from class org.sintef.mofscript.runtime.expression.ExpressionEvaluator |
---|
_env, _expression, _ownerRuleExecutor, _positionCounter |
Constructor Summary | |
---|---|
UMLFunctionCallEvaluator(Expression expression,
ExecutionEnvironment env,
RuleExecutor ownerRuleExecutor)
constructor |
Method Summary | |
---|---|
protected java.lang.Object |
handleVariableFunctionCall(java.lang.Object variable,
java.lang.String fName,
FunctionCall f)
Handles the variable function call If the call is a valid UML2 call this is treated, else the call is delegated to super class. |
Methods inherited from class org.sintef.mofscript.runtime.expression.FunctionCallEvaluator |
---|
evaluateParameterValues, evaluateSimple, handleFunctionCall, handleModelEscapeFunction, handleOclGeneralFunction, handleSystemFunction, isKindOf, isSystemFunction, isTypeOf |
Methods inherited from class org.sintef.mofscript.runtime.expression.SimpleExpressionEvaluator |
---|
checkAdditionalExpressionParts, evaluate, handleAdditionalFunction, handleStringFunction |
Methods inherited from class org.sintef.mofscript.runtime.expression.ExpressionEvaluator |
---|
evaluateExpression, resetPosisionCounter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UMLFunctionCallEvaluator(Expression expression, ExecutionEnvironment env, RuleExecutor ownerRuleExecutor)
expression
- env
- ownerRuleExecutor
- Method Detail |
---|
protected java.lang.Object handleVariableFunctionCall(java.lang.Object variable, java.lang.String fName, FunctionCall f) throws MofScriptExecutionException
handleVariableFunctionCall
in class FunctionCallEvaluator
MofScriptExecutionException