public interface Condition
extends org.eclipse.emf.ecore.EObject
RulePackage.getCondition()
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(org.eclipse.emf.ecore.EObject domainModel)
Evaluates the given condition.
|
boolean |
evaluateChangedValues(org.eclipse.emf.ecore.EObject domainModel,
Map<org.eclipse.emf.ecore.EStructuralFeature.Setting,Object> possibleNewValues)
Evaluates the given condition.
|
boolean evaluate(org.eclipse.emf.ecore.EObject domainModel)
domainModel
- The root domain object of this condition.true
, if the condition matches, false
otherwiseboolean evaluateChangedValues(org.eclipse.emf.ecore.EObject domainModel, Map<org.eclipse.emf.ecore.EStructuralFeature.Setting,Object> possibleNewValues)
domainModel
- The root domain object of this condition.possibleNewValues
- the new value that should be compared against the expected value of the conditiontrue
, if the condition matches, false
otherwiseCopyright © 2019. All rights reserved.