Exemplo n.º 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);
 }
Exemplo n.º 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());
 }