org.eclipse.emf.ecp.view.spi.rule.model.util
Class ConditionEvaluationUtil

java.lang.Object
  extended by org.eclipse.emf.ecp.view.spi.rule.model.util.ConditionEvaluationUtil

public final class ConditionEvaluationUtil
extends Object

Util class for evaluating conditions.

Since:
1.5
Author:
jfaltermeier

Method Summary
static boolean isLeafConditionForSetting(LeafCondition condition, Map<org.eclipse.emf.ecore.EStructuralFeature.Setting,Object> possibleNewValues)
          Whether the leaf condition evaluates objects of the given possible new values.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isLeafConditionForSetting

public static boolean isLeafConditionForSetting(LeafCondition condition,
                                                Map<org.eclipse.emf.ecore.EStructuralFeature.Setting,Object> possibleNewValues)
Whether the leaf condition evaluates objects of the given possible new values.

Parameters:
condition - the condition
possibleNewValues - the new value map
Returns:
true if setting part of condition, false otherwise


Copyright © 2015. All Rights Reserved.