|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.ocl.examples.library.AbstractFeature org.eclipse.ocl.examples.library.AbstractOperation org.eclipse.ocl.examples.library.AbstractTernaryOperation
public abstract class AbstractTernaryOperation
AbstractBinaryOperation dispatches a binary library operation to matching-type-specific call-backs.
Constructor Summary | |
---|---|
AbstractTernaryOperation()
|
Method Summary | |
---|---|
Value |
evaluate(EvaluationVisitor evaluationVisitor,
Value sourceVal,
OperationCallExp operationCall)
Return the result of evaluating operationCall upon sourceVal within the environment provided by EvaluationVisitor. |
Methods inherited from class org.eclipse.ocl.examples.library.AbstractOperation |
---|
evaluate, evaluateArgument, getNumArguments |
Methods inherited from class org.eclipse.ocl.examples.library.AbstractFeature |
---|
validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.ocl.examples.library.LibraryTernaryOperation |
---|
evaluate |
Methods inherited from interface org.eclipse.ocl.examples.pivot.evaluation.CallableImplementation |
---|
evaluate, validate |
Constructor Detail |
---|
public AbstractTernaryOperation()
Method Detail |
---|
public Value evaluate(EvaluationVisitor evaluationVisitor, Value sourceVal, OperationCallExp operationCall) throws InvalidValueException
LibraryOperation
evaluate
in interface LibraryOperation
evaluationVisitor
- the evaluation contextsourceVal
- the source operand for the operationoperationCall
- the operation and additional arguments
InvalidValueException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |