public interface ConditionServiceManager
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate(Condition condition,
org.eclipse.emf.ecore.EObject domainModel)
Evaluates the given condition using the provided domain model.
|
boolean |
evaluateChangedValues(Condition condition,
org.eclipse.emf.ecore.EObject domainModel,
Map<org.eclipse.emf.ecore.EStructuralFeature.Setting,Object> possibleNewValues)
Evaluates whether the given condition using the provided domain model will change if a specific setting will be
set to a specific value.
|
Set<UniqueSetting> |
getConditionSettings(Condition condition,
org.eclipse.emf.ecore.EObject domainModel)
Returns the conditionSetting for a condition and the corresponding domain model.
|
Set<VDomainModelReference> |
getDomainModelReferences(Condition condition)
The Set of DomainModelReferences this condition needs to evaluate.
|
Set<UniqueSetting> getConditionSettings(Condition condition, org.eclipse.emf.ecore.EObject domainModel)
condition - The condition to get the settings fordomainModel - The domain model this condition applies toboolean evaluate(Condition condition, org.eclipse.emf.ecore.EObject domainModel)
condition - The condition to evaluate.domainModel - The root domain object of this condition.true, if the condition matches, false otherwiseboolean evaluateChangedValues(Condition condition, org.eclipse.emf.ecore.EObject domainModel, Map<org.eclipse.emf.ecore.EStructuralFeature.Setting,Object> possibleNewValues)
condition - The condition to evaluate.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 otherwiseSet<VDomainModelReference> getDomainModelReferences(Condition condition)
condition - The condition to retrieve the VDomainModelReferences forCopyright © 2019. All rights reserved.