Example #1
0
 /**
  * Apply a "like" constraint to the named property
  *
  * @param propertyName
  * @param value
  * @return Criterion
  */
 public static LikeExpression like(String propertyName, EString value, Character escapeChar) {
   return new LikeExpression(propertyName, value.toString(), escapeChar);
 }
Example #2
0
 /**
  * Apply a "like" constraint to the named property
  *
  * @param propertyName
  * @param value
  * @return Criterion
  */
 public static LikeExpression like(String propertyName, EString value) {
   return new LikeExpression(propertyName, value.toString());
 }