db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject svn commit: r159525 - incubator/jdo/trunk/api20/src/java/javax/jdo/Query.java
Date Wed, 30 Mar 2005 21:01:46 GMT
Author: clr
Date: Wed Mar 30 13:01:45 2005
New Revision: 159525

URL: http://svn.apache.org/viewcvs?view=rev&rev=159525
Log:
add setUnmodifiable and isUnmodifiable

Modified:
    incubator/jdo/trunk/api20/src/java/javax/jdo/Query.java

Modified: incubator/jdo/trunk/api20/src/java/javax/jdo/Query.java
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/api20/src/java/javax/jdo/Query.java?view=diff&r1=159524&r2=159525
==============================================================================
--- incubator/jdo/trunk/api20/src/java/javax/jdo/Query.java (original)
+++ incubator/jdo/trunk/api20/src/java/javax/jdo/Query.java Wed Mar 30 13:01:45 2005
@@ -444,5 +444,24 @@
      * @since 2.0
      */
     Object deletePersistentAll ();
+    
+    /**
+     * The unmodifiable flag, when set, disallows further 
+     * modification of the query, except for specifying the range, 
+     * result class, and ignoreCache option.
+     * The unmodifiable flag can also be set in metadata.
+     * @since 2.0
+      */
+    void setUnmodifiable();
+
+    /**
+     * The unmodifiable flag, when set, disallows further 
+     * modification of the query, except for specifying the range, 
+     * result class, and ignoreCache option.
+     * @return the current setting of the flag
+     * @since 2.0
+      */
+    boolean isUnmodifiable();
+
 }
 



Mime
View raw message