org.eclipse.mofscript.runtime.uml2Extensions
Class UMLFunctionCallEvaluator
java.lang.Object
org.eclipse.mofscript.runtime.expression.ExpressionEvaluator
org.eclipse.mofscript.runtime.expression.SimpleExpressionEvaluator
org.eclipse.mofscript.runtime.expression.FunctionCallEvaluator
org.eclipse.mofscript.runtime.uml2Extensions.UMLFunctionCallEvaluator
- Direct Known Subclasses:
- UMLTraceabilityFunctionCallEvaluator
public class UMLFunctionCallEvaluator
- extends FunctionCallEvaluator
Specialised function call evaluator
for UML2 types of objects
Handles a set of predefined operations for UML2 types.
- Author:
- jol
Method Summary |
protected java.lang.Object |
executeOperation(java.lang.String fName,
java.lang.Object variable)
|
protected java.lang.Object |
variableFunctionCall(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.eclipse.mofscript.runtime.expression.FunctionCallEvaluator |
cloneFunction, evaluateParameterValues, evaluateSimple, handleFunctionCall, hashTableFunction, insertModelRefParameter, isKindOf, isSystemFunction, isTypeOf, listFunction, metaOperation, oclGeneralFunction, propertiesFunction, selectFunction, shallowCopy, storeFunction, systemFunction |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UMLFunctionCallEvaluator
public UMLFunctionCallEvaluator(Expression expression,
ExecutionEnvironment env,
RuleExecutor ownerRuleExecutor)
- constructor
- Parameters:
expression
- env
- ownerRuleExecutor
-
variableFunctionCall
protected java.lang.Object variableFunctionCall(java.lang.Object variable,
java.lang.String fName,
FunctionCall f)
throws MofScriptExecutionException
- Handles the variable function call
If the call is a valid UML2 call this is treated, else
the call is delegated to super class.
- Overrides:
variableFunctionCall
in class FunctionCallEvaluator
- Returns:
-
- Throws:
MofScriptExecutionException
executeOperation
protected java.lang.Object executeOperation(java.lang.String fName,
java.lang.Object variable)
throws MofScriptExecutionException
- Throws:
MofScriptExecutionException