Modelers

org.topcased.modeler.evaluator
Interface IEvaluator

All Known Implementing Classes:
OCLEvaluator

public interface IEvaluator

Evaluate an Object Creation 20 juin 06


Method Summary
 boolean eval(EObject eObject, java.lang.String rule)
          Evaluate the specified Object, using a specified context and a given rule (the condition to match)
 

Method Detail

eval

boolean eval(EObject eObject,
             java.lang.String rule)
             throws EvaluatorException
Evaluate the specified Object, using a specified context and a given rule (the condition to match)

Parameters:
eObject - the EObject to evaluate
rule - a String that represent the constraint to evaluate
Returns:
the evaluation status
Throws:
EvaluatorException - if the engine cannot execute the constraint

Modelers

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.