db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From an...@apache.org
Subject svn commit: r737571 - /db/jdo/trunk/api2/src/java/javax/jdo/metadata/DatastoreIdentityMetadata.java
Date Sun, 25 Jan 2009 19:21:21 GMT
Author: andyj
Date: Sun Jan 25 19:21:21 2009
New Revision: 737571

URL: http://svn.apache.org/viewvc?rev=737571&view=rev
Log:
JDO-615 Fix type of strategy - IdGenerationStrategy is more suitable than VersionStrategy!

Modified:
    db/jdo/trunk/api2/src/java/javax/jdo/metadata/DatastoreIdentityMetadata.java

Modified: db/jdo/trunk/api2/src/java/javax/jdo/metadata/DatastoreIdentityMetadata.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2/src/java/javax/jdo/metadata/DatastoreIdentityMetadata.java?rev=737571&r1=737570&r2=737571&view=diff
==============================================================================
--- db/jdo/trunk/api2/src/java/javax/jdo/metadata/DatastoreIdentityMetadata.java (original)
+++ db/jdo/trunk/api2/src/java/javax/jdo/metadata/DatastoreIdentityMetadata.java Sun Jan 25
19:21:21 2009
@@ -16,7 +16,7 @@
  */
 package javax.jdo.metadata;
 
-import javax.jdo.annotations.VersionStrategy;
+import javax.jdo.annotations.IdGeneratorStrategy;
 
 /**
  * Represents the datastore identity of a class.
@@ -42,14 +42,14 @@
      * 
      * @param strategy The strategy
      */
-    DatastoreIdentityMetadata setStrategy(VersionStrategy strategy);
+    DatastoreIdentityMetadata setStrategy(IdGeneratorStrategy strategy);
 
     /**
      * Accessor for the identity generation strategy.
      * 
      * @return The strategy
      */
-    VersionStrategy getStrategy();
+    IdGeneratorStrategy getStrategy();
 
     /**
      * Method to set the custom identity generation strategy.



Mime
View raw message