From eddd6a36d60f27360ca73c463eb71d9dbf947137 Mon Sep 17 00:00:00 2001 From: Robin Bygrave Date: Mon, 21 Sep 2015 17:36:13 +1200 Subject: [PATCH] No effective change - javadoc only --- .../java/com/avaje/ebean/ExpressionList.java | 52 ++++++++++++++++++- 1 file changed, 50 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/avaje/ebean/ExpressionList.java b/src/main/java/com/avaje/ebean/ExpressionList.java index 3f7692bb1..20a171d59 100644 --- a/src/main/java/com/avaje/ebean/ExpressionList.java +++ b/src/main/java/com/avaje/ebean/ExpressionList.java @@ -348,6 +348,12 @@ public interface ExpressionList extends Serializable { /** * Path exists - for the given path in a JSON document. * + *
{@code
+   *
+   *   where().jsonExists("content", "path.other")
+   *
+   * }
+ * * @param propertyName the property that holds a JSON document * @param path the nested path in the JSON document in dot notation */ @@ -356,6 +362,12 @@ public interface ExpressionList extends Serializable { /** * Path does not exist - for the given path in a JSON document. * + *
{@code
+   *
+   *   where().jsonNotExists("content", "path.other")
+   *
+   * }
+ * * @param propertyName the property that holds a JSON document * @param path the nested path in the JSON document in dot notation */ @@ -364,38 +376,74 @@ public interface ExpressionList extends Serializable { /** * Equal to expression for the value at the given path in the JSON document. * + *
{@code
+   *
+   *   where().jsonEqualTo("content", "path.other", 34)
+   *
+   * }
+ * * @param propertyName the property that holds a JSON document * @param path the nested path in the JSON document in dot notation - * @param value the value used to test equality against the document path's value + * @param value the value used to test against the document path's value */ ExpressionList jsonEqualTo(String propertyName, String path, Object value); /** * Not Equal to - for the given path in a JSON document. * + *
{@code
+   *
+   *   where().jsonNotEqualTo("content", "path.other", 34)
+   *
+   * }
+ * * @param propertyName the property that holds a JSON document * @param path the nested path in the JSON document in dot notation - * @param value the value used to test equality against the document path's value + * @param value the value used to test against the document path's value */ ExpressionList jsonNotEqualTo(String propertyName, String path, Object value); /** * Greater than - for the given path in a JSON document. + * + *
{@code
+   *
+   *   where().jsonGreaterThan("content", "path.other", 34)
+   *
+   * }
*/ ExpressionList jsonGreaterThan(String propertyName, String path, Object val); /** * Greater than or equal to - for the given path in a JSON document. + * + *
{@code
+   *
+   *   where().jsonGreaterOrEqual("content", "path.other", 34)
+   *
+   * }
*/ ExpressionList jsonGreaterOrEqual(String propertyName, String path, Object val); /** * Less than - for the given path in a JSON document. + * + *
{@code
+   *
+   *   where().jsonLessThan("content", "path.other", 34)
+   *
+   * }
*/ ExpressionList jsonLessThan(String propertyName, String path, Object val); /** * Less than or equal to - for the given path in a JSON document. + * + *
{@code
+   *
+   *   where().jsonLessOrEqualTo("content", "path.other", 34)
+   *
+   * }
*/ ExpressionList jsonLessOrEqualTo(String propertyName, String path, Object val);