CAY-1971 Variants of Property.like(..) : contains(..), startsWith(..), endsWith(..)
redoign some of the crazy naming Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/fba700d3 Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/fba700d3 Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/fba700d3 Branch: refs/heads/CAY-1946_1 Commit: fba700d3609657c414a34ffdaaf6389f03f12cc8 Parents: 6cdfdbb Author: aadamchik <aadamc...@apache.org> Authored: Sat Nov 22 14:46:31 2014 +0300 Committer: aadamchik <aadamc...@apache.org> Committed: Sat Nov 22 19:18:11 2014 +0300 ---------------------------------------------------------------------- .../src/main/java/org/apache/cayenne/exp/Property.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cayenne/blob/fba700d3/cayenne-server/src/main/java/org/apache/cayenne/exp/Property.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/main/java/org/apache/cayenne/exp/Property.java b/cayenne-server/src/main/java/org/apache/cayenne/exp/Property.java index 1676315..624d352 100644 --- a/cayenne-server/src/main/java/org/apache/cayenne/exp/Property.java +++ b/cayenne-server/src/main/java/org/apache/cayenne/exp/Property.java @@ -255,7 +255,7 @@ public class Property<E> { * Same as {@link #contains(String)}, only using case-insensitive * comparison. */ - public Expression icontains(String value) { + public Expression containsIgnoreCase(String value) { return ExpressionFactory.containsIgnoreCaseExp(getName(), value); } @@ -263,7 +263,7 @@ public class Property<E> { * Same as {@link #startsWith(String)}, only using case-insensitive * comparison. */ - public Expression istartsWith(String value) { + public Expression startsWithIgnoreCase(String value) { return ExpressionFactory.startsWithIgnoreCaseExp(getName(), value); } @@ -271,7 +271,7 @@ public class Property<E> { * Same as {@link #endsWith(String)}, only using case-insensitive * comparison. */ - public Expression iendsWith(String value) { + public Expression endsWithIgnoreCase(String value) { return ExpressionFactory.endsWithIgnoreCaseExp(getName(), value); }