cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r563551 - /cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/testdo/mt/MtTable1.java
Date Tue, 07 Aug 2007 16:54:31 GMT
Author: aadamchik
Date: Tue Aug  7 09:54:30 2007
New Revision: 563551

URL: http://svn.apache.org/viewvc?view=rev&rev=563551
Log:
forgot to check in the method used in a unit test

Modified:
    cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/testdo/mt/MtTable1.java

Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/testdo/mt/MtTable1.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/testdo/mt/MtTable1.java?view=diff&rev=563551&r1=563550&r2=563551
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/testdo/mt/MtTable1.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/testdo/mt/MtTable1.java
Tue Aug  7 09:54:30 2007
@@ -24,12 +24,21 @@
 public class MtTable1 extends _MtTable1 {
 
     protected ObjEntity entity;
+    protected transient boolean prePersisted;
 
     public ObjEntity getObjEntity() {
         return (entity != null) ? entity : super.getObjEntity();
     }
-    
+
     public void setObjEntity(ObjEntity entity) {
         this.entity = entity;
+    }
+
+    public void prePersistMethod() {
+        prePersisted = true;
+    }
+
+    public boolean isPrePersisted() {
+        return prePersisted;
     }
 }



Mime
View raw message