|
Modelers | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.topcased.modeler.evaluator.ocl.OCLEvaluator
public class OCLEvaluator
Validate an EObject with the EMF basic validation
creation : 16 janv. 2006
Constructor Summary | |
---|---|
OCLEvaluator()
|
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) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OCLEvaluator()
Method Detail |
---|
public boolean eval(EObject eObject, java.lang.String rule)
IEvaluator
eval
in interface IEvaluator
eObject
- the EObject to evaluaterule
- a String that represent the constraint to evaluate
IEvaluator.eval(org.eclipse.emf.ecore.EObject, java.lang.String)
|
Modelers | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.