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