public class JDOEvaluator extends Object
Return values [type int] from evaluate methods: 1 is true, -1 is false, 0 means cannot be evaluated.
Constructor and Description |
---|
JDOEvaluator() |
public static int evaluateExpression(JDOExpressionIF jdoexpr, ObjectRelationalMappingIF mapping, boolean reduce)
public static int evaluateBoolean(JDOBoolean jdoexpr, ObjectRelationalMappingIF mapping)
public static int evaluateValueExpression(JDOValueExpression jdoexpr, ObjectRelationalMappingIF mapping)
public static int evaluateEquals(JDOEquals jdoexpr, ObjectRelationalMappingIF mapping)
public static int evaluateNotEquals(JDONotEquals jdoexpr, ObjectRelationalMappingIF mapping)
public static int evaluateContains(JDOContains jdoexpr, ObjectRelationalMappingIF mapping)
public static int evaluateIsEmpty(JDOIsEmpty jdoexpr, ObjectRelationalMappingIF mapping)
public static int evaluateStartsWith(JDOStartsWith jdoexpr, ObjectRelationalMappingIF mapping)
public static int evaluateEndsWith(JDOEndsWith jdoexpr, ObjectRelationalMappingIF mapping)
public static int evaluateLike(JDOLike jdoexpr, ObjectRelationalMappingIF mapping)
public static int evaluateAnd(JDOAnd jdoexpr, ObjectRelationalMappingIF mapping, boolean reduce)
public static int evaluateOr(JDOOr jdoexpr, ObjectRelationalMappingIF mapping, boolean reduce)
public static int evaluateNot(JDONot jdoexpr, ObjectRelationalMappingIF mapping, boolean reduce)
public static boolean isEvaluatable(JDOValueIF jdovalue, ObjectRelationalMappingIF mapping)
public static Object evaluateJDOValue(JDOValueIF jdovalue, ObjectRelationalMappingIF mapping)