com.jaxfront.core.rule
Class ScopeChecker

java.lang.Object
  extended by com.jaxfront.core.rule.ScopeChecker

public class ScopeChecker
extends java.lang.Object


Constructor Summary
ScopeChecker()
           
 
Method Summary
static boolean doesConcern(java.lang.String scope, Type source, Type checkType, ConditionExpression condition, boolean inclActionTargets, java.util.List actions)
          Indicates if the passing type does concern this rule.
static boolean doesConcern(Type checkType, FormulaExpression formula)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScopeChecker

public ScopeChecker()
Method Detail

doesConcern

public static boolean doesConcern(java.lang.String scope,
                                  Type source,
                                  Type checkType,
                                  ConditionExpression condition,
                                  boolean inclActionTargets,
                                  java.util.List actions)
Indicates if the passing type does concern this rule.

Parameters:
sourceType - source type
checkType - type to check if in scope of the source

doesConcern

public static boolean doesConcern(Type checkType,
                                  FormulaExpression formula)