Esempio 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);
 }
Esempio 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());
 }