public PropertyIsLike like(Expression expr, String pattern) { return like(expr, pattern, "*", "?", "\\"); }
public PropertyIsLike like( Expression expr, String pattern, String wildcard, String singleChar, String escape, boolean matchCase) { LikeFilterImpl filter = new LikeFilterImpl(); filter.setExpression(expr); filter.setPattern(pattern, wildcard, singleChar, escape); filter.setMatchingCase(matchCase); return filter; }
public PropertyIsLike like(Expression expr, String pattern, String wildcard, String singleChar, String escape) { return like( expr, pattern, wildcard, singleChar, escape, false ); } public PropertyIsLike like(Expression expr, String pattern,
public PropertyIsLike like(Expression expr, String pattern) { return like(expr,pattern,"*","?","\\"); }
public PropertyIsLike like(Expression expr, String pattern) { return like(expr,pattern,"*","?","\\"); }