EQL Named parameter support for Like and ieq

This commit is contained in:
Robin Bygrave
2016-07-12 21:56:43 +12:00
parent 1a1c432c2a
commit 84b37fb014
10 changed files with 123 additions and 88 deletions
@@ -135,6 +135,11 @@ public interface ExpressionFactory {
*/
Expression ieq(String propertyName, String value);
/**
* Case Insensitive Equal To that allows for named parameter use.
*/
Expression ieqObject(String propertyName, Object value);
/**
* Between - property between the two given values.
*/
@@ -193,9 +198,9 @@ public interface ExpressionFactory {
ExampleExpression exampleLike(Object example, boolean caseInsensitive, LikeType likeType);
/**
* Create the query by Example expression specifying more options.
* Like with support for named parameters.
*/
Expression like(LikeType likeType, String propertyName, Object value);
Expression like(String propertyName, Object value, boolean caseInsensitive, LikeType likeType);
/**
* Like - property like value where the value contains the SQL wild card