Class ConditionEvaluationUtil


  • public final class ConditionEvaluationUtil
    extends java.lang.Object
    Util class for evaluating conditions.
    Since:
    1.5
    Author:
    jfaltermeier
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isLeafConditionForSetting​(LeafCondition condition, org.eclipse.emf.ecore.EObject domainModel, java.util.Map<org.eclipse.emf.ecore.EStructuralFeature.Setting,​java.lang.Object> possibleNewValues)
      Whether the leaf condition evaluates objects of the given possible new values.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • isLeafConditionForSetting

        public static boolean isLeafConditionForSetting​(LeafCondition condition,
                                                        org.eclipse.emf.ecore.EObject domainModel,
                                                        java.util.Map<org.eclipse.emf.ecore.EStructuralFeature.Setting,​java.lang.Object> possibleNewValues)
        Whether the leaf condition evaluates objects of the given possible new values.
        Parameters:
        condition - the condition
        domainModel - The root domain object of the given LeafCondition
        possibleNewValues - the new value map
        Returns:
        true if setting part of condition, false otherwise
        Since:
        1.9