db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From an...@apache.org
Subject svn commit: r1690915 - in /db/jdo/trunk/api/src/java/javax/jdo/query: BooleanExpression.java NumericExpression.java
Date Tue, 14 Jul 2015 12:46:34 GMT
Author: andyj
Date: Tue Jul 14 12:46:34 2015
New Revision: 1690915

URL: http://svn.apache.org/r1690915
Log:
Add BooleanExpression.neg() and NumericExpression.com()

Modified:
    db/jdo/trunk/api/src/java/javax/jdo/query/BooleanExpression.java
    db/jdo/trunk/api/src/java/javax/jdo/query/NumericExpression.java

Modified: db/jdo/trunk/api/src/java/javax/jdo/query/BooleanExpression.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api/src/java/javax/jdo/query/BooleanExpression.java?rev=1690915&r1=1690914&r2=1690915&view=diff
==============================================================================
--- db/jdo/trunk/api/src/java/javax/jdo/query/BooleanExpression.java (original)
+++ db/jdo/trunk/api/src/java/javax/jdo/query/BooleanExpression.java Tue Jul 14 12:46:34 2015
@@ -40,4 +40,10 @@ public interface BooleanExpression exten
      * @return The negated expression
      */
     BooleanExpression not();
+
+    /**
+     * Method to return an expression that is the current expression negated.
+     * @return The negated expression
+     */
+    BooleanExpression neg();
 }
\ No newline at end of file

Modified: db/jdo/trunk/api/src/java/javax/jdo/query/NumericExpression.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api/src/java/javax/jdo/query/NumericExpression.java?rev=1690915&r1=1690914&r2=1690915&view=diff
==============================================================================
--- db/jdo/trunk/api/src/java/javax/jdo/query/NumericExpression.java (original)
+++ db/jdo/trunk/api/src/java/javax/jdo/query/NumericExpression.java Tue Jul 14 12:46:34 2015
@@ -100,6 +100,12 @@ public interface NumericExpression<T> ex
     NumericExpression neg();
 
     /**
+     * Method to return an expression that is the complement of the current expression.
+     * @return The complement expression
+     */
+    NumericExpression com();
+
+    /**
      * Method to return a numeric expression representing the aggregated average of this
expression.
      * @return Numeric expression for the average
      */



Mime
View raw message