|
||||||||||
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.oclany.OclAnyToStringOperation
public class OclAnyToStringOperation
OclAnyToStringOperation realises the OclAny::toString() library operation.
Field Summary | |
---|---|
static OclAnyToStringOperation |
INSTANCE
|
Constructor Summary | |
---|---|
OclAnyToStringOperation()
|
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.pivot.evaluation.CallableImplementation |
---|
validate |
Field Detail |
---|
public static final OclAnyToStringOperation INSTANCE
Constructor Detail |
---|
public OclAnyToStringOperation()
Method Detail |
---|
public Value evaluate(EvaluationVisitor evaluationVisitor, Value sourceVal, OperationCallExp operationCall)
LibraryOperation
evaluationVisitor
- the evaluation contextsourceVal
- the source operand for the operationoperationCall
- the operation and additional arguments
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |