public class FalseConditionService extends Object implements ConditionService<False>
False condition.| Constructor and Description |
|---|
FalseConditionService()
Initializes me.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate(False condition,
org.eclipse.emf.ecore.EObject domainModel)
Evaluates the given condition.
|
boolean |
evaluateChangedValues(False condition,
org.eclipse.emf.ecore.EObject domainModel,
Map<org.eclipse.emf.ecore.EStructuralFeature.Setting,Object> possibleNewValues)
Evaluates the given condition.
|
Set<UniqueSetting> |
getConditionSettings(False condition,
org.eclipse.emf.ecore.EObject domainModel)
The set of
UniqueSetting that are relevant for the provided condition and domain model. |
org.eclipse.emf.ecore.EClass |
getConditionType()
The EClass this ConditionService is implemented for.
|
Set<VDomainModelReference> |
getDomainModelReferences(False condition)
The Set of
VDomainModelReference that are relevant for the condition. |
public org.eclipse.emf.ecore.EClass getConditionType()
ConditionServicegetConditionType in interface ConditionService<False>Conditionpublic boolean evaluate(False condition, org.eclipse.emf.ecore.EObject domainModel)
ConditionServiceevaluate in interface ConditionService<False>condition - The Condition to evaluatedomainModel - The root domain object of this condition.true, if the condition matches, false otherwisepublic boolean evaluateChangedValues(False condition, org.eclipse.emf.ecore.EObject domainModel, Map<org.eclipse.emf.ecore.EStructuralFeature.Setting,Object> possibleNewValues)
ConditionServiceevaluateChangedValues in interface ConditionService<False>condition - The Condition to evaluatedomainModel - 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 otherwisepublic Set<VDomainModelReference> getDomainModelReferences(False condition)
ConditionServiceVDomainModelReference that are relevant for the condition.getDomainModelReferences in interface ConditionService<False>condition - The Condition to retrieve the VDMRs forpublic Set<UniqueSetting> getConditionSettings(False condition, org.eclipse.emf.ecore.EObject domainModel)
ConditionServiceUniqueSetting that are relevant for the provided condition and domain model.getConditionSettings in interface ConditionService<False>condition - The Condition to get the UniqueSettings fordomainModel - The EObject to use for retrievingCopyright © 2018. All rights reserved.