/** * Apply a "greater than or equal" constraint to two properties * * @param propertyName One property name * @param otherPropertyName The other property name * * @return The Criterion * * @see PropertyExpression */ public static PropertyExpression geProperty(String propertyName, String otherPropertyName) { return new PropertyExpression( propertyName, otherPropertyName, ">=" ); }
/** * Apply an "equal" constraint to two properties * * @param propertyName One property name * @param otherPropertyName The other property name * * @return The Criterion * * @see PropertyExpression */ public static PropertyExpression eqProperty(String propertyName, String otherPropertyName) { return new PropertyExpression( propertyName, otherPropertyName, "=" ); }
/** * Apply a "less than" constraint to two properties * * @param propertyName One property name * @param otherPropertyName The other property name * * @return The Criterion * * @see PropertyExpression */ public static PropertyExpression ltProperty(String propertyName, String otherPropertyName) { return new PropertyExpression( propertyName, otherPropertyName, "<" ); }
/** * Apply a "less than or equal" constraint to two properties * * @param propertyName One property name * @param otherPropertyName The other property name * * @return The Criterion * * @see PropertyExpression */ public static PropertyExpression leProperty(String propertyName, String otherPropertyName) { return new PropertyExpression( propertyName, otherPropertyName, "<=" ); }
/** * Apply a "not equal" constraint to two properties * * @param propertyName One property name * @param otherPropertyName The other property name * * @return The Criterion * * @see PropertyExpression */ public static PropertyExpression neProperty(String propertyName, String otherPropertyName) { return new PropertyExpression( propertyName, otherPropertyName, "<>" ); }
/** * Apply a "greater than" constraint to two properties * * @param propertyName One property name * @param otherPropertyName The other property name * * @return The Criterion * * @see PropertyExpression */ public static PropertyExpression gtProperty(String propertyName, String otherPropertyName) { return new PropertyExpression( propertyName, otherPropertyName, ">" ); }
/** * Apply a "greater than or equal" constraint to two properties */ public static PropertyExpression geProperty(String propertyName, String otherPropertyName) { return new PropertyExpression(propertyName, otherPropertyName, ">="); } /**
/** * Apply a "less than or equal" constraint to two properties */ public static PropertyExpression leProperty(String propertyName, String otherPropertyName) { return new PropertyExpression(propertyName, otherPropertyName, "<="); } /**
/** * Apply a "greater than" constraint to two properties */ public static PropertyExpression gtProperty(String propertyName, String otherPropertyName) { return new PropertyExpression(propertyName, otherPropertyName, ">"); } /**
/** * Apply a "less than" constraint to two properties */ public static PropertyExpression ltProperty(String propertyName, String otherPropertyName) { return new PropertyExpression(propertyName, otherPropertyName, "<"); } /**
/** * Apply an "equal" constraint to two properties */ public static PropertyExpression eqProperty(String propertyName, String otherPropertyName) { return new PropertyExpression(propertyName, otherPropertyName, "="); } /**
/** * Apply a "not equal" constraint to two properties */ public static PropertyExpression neProperty(String propertyName, String otherPropertyName) { return new PropertyExpression(propertyName, otherPropertyName, "<>"); } /**
/** * Apply a "less than or equal" constraint to two properties */ public static PropertyExpression leProperty(String propertyName, String otherPropertyName) { return new PropertyExpression(propertyName, otherPropertyName, "<="); } /**
/** * Apply a "greater than" constraint to two properties */ public static PropertyExpression gtProperty(String propertyName, String otherPropertyName) { return new PropertyExpression(propertyName, otherPropertyName, ">"); } /**
/** * Apply an "equal" constraint to two properties */ public static PropertyExpression eqProperty(String propertyName, String otherPropertyName) { return new PropertyExpression(propertyName, otherPropertyName, "="); } /**
/** * Apply a "less than" constraint to two properties */ public static PropertyExpression ltProperty(String propertyName, String otherPropertyName) { return new PropertyExpression(propertyName, otherPropertyName, "<"); } /**
/** * Apply a "less than or equal" constraint to two properties */ public static PropertyExpression leProperty(String propertyName, String otherPropertyName) { return new PropertyExpression(propertyName, otherPropertyName, "<="); } /**
/** * Apply an "equal" constraint to two properties */ public static PropertyExpression eqProperty(String propertyName, String otherPropertyName) { return new PropertyExpression(propertyName, otherPropertyName, "="); } /**
/** * Apply a "greater than or equal" constraint to two properties */ public static PropertyExpression geProperty(String propertyName, String otherPropertyName) { return new PropertyExpression(propertyName, otherPropertyName, ">="); } /**
/** * Apply a "not equal" constraint to two properties */ public static PropertyExpression neProperty(String propertyName, String otherPropertyName) { return new PropertyExpression(propertyName, otherPropertyName, "<>"); } /**