Interface Condition

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean evaluate​(org.eclipse.emf.ecore.EObject domainModel)
      Evaluates the given condition.
      boolean evaluateChangedValues​(org.eclipse.emf.ecore.EObject domainModel, java.util.Map<org.eclipse.emf.ecore.EStructuralFeature.Setting,​java.lang.Object> possibleNewValues)
      Evaluates the given condition.
      • Methods inherited from interface org.eclipse.emf.ecore.EObject

        eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
      • Methods inherited from interface org.eclipse.emf.common.notify.Notifier

        eAdapters, eDeliver, eNotify, eSetDeliver
    • Method Detail

      • evaluate

        boolean evaluate​(org.eclipse.emf.ecore.EObject domainModel)
        Evaluates the given condition.
        Parameters:
        domainModel - The root domain object of this condition.
        Returns:
        true, if the condition matches, false otherwise
        Since:
        1.9
      • evaluateChangedValues

        boolean evaluateChangedValues​(org.eclipse.emf.ecore.EObject domainModel,
                                      java.util.Map<org.eclipse.emf.ecore.EStructuralFeature.Setting,​java.lang.Object> possibleNewValues)
        Evaluates the given condition.
        Parameters:
        domainModel - The root domain object of this condition.
        possibleNewValues - the new value that should be compared against the expected value of the condition
        Returns:
        true, if the condition matches, false otherwise
        Since:
        1.9