org.eclipse.ocl.examples.pivot.library
Class ConstrainedProperty

java.lang.Object
  extended by org.eclipse.ocl.examples.pivot.library.AbstractCallableImplementation
      extended by org.eclipse.ocl.examples.pivot.library.ConstrainedProperty
All Implemented Interfaces:
CallableImplementation

public class ConstrainedProperty
extends AbstractCallableImplementation

An instance of ConstrainedProperty supports evaluation of a relationship defined by constraints.


Field Summary
protected  ExpressionInOcl expressionInOcl
           
 
Constructor Summary
ConstrainedProperty(ExpressionInOcl expressionInOcl)
           
 
Method Summary
 Value evaluate(EvaluationVisitor evaluationVisitor, Value sourceValue, CallExp callExp)
           
 
Methods inherited from class org.eclipse.ocl.examples.pivot.library.AbstractCallableImplementation
validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

expressionInOcl

protected final ExpressionInOcl expressionInOcl
Constructor Detail

ConstrainedProperty

public ConstrainedProperty(ExpressionInOcl expressionInOcl)
Method Detail

evaluate

public Value evaluate(EvaluationVisitor evaluationVisitor,
                      Value sourceValue,
                      CallExp callExp)
Description copied from interface: CallableImplementation