cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1220770 - in /cayenne/main/trunk/framework/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/auto: _SortDep.java _SortRoot.java _UuidRoot1.java
Date Mon, 19 Dec 2011 14:34:04 GMT
Author: oltka
Date: Mon Dec 19 14:34:04 2011
New Revision: 1220770

URL: http://svn.apache.org/viewvc?rev=1220770&view=rev
Log:
CAY-1625 regenerate all client classes in cayenne-lifecycle

Modified:
    cayenne/main/trunk/framework/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/auto/_SortDep.java
    cayenne/main/trunk/framework/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/auto/_SortRoot.java
    cayenne/main/trunk/framework/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/auto/_UuidRoot1.java

Modified: cayenne/main/trunk/framework/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/auto/_SortDep.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/auto/_SortDep.java?rev=1220770&r1=1220769&r2=1220770&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/auto/_SortDep.java
(original)
+++ cayenne/main/trunk/framework/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/auto/_SortDep.java
Mon Dec 19 14:34:04 2011
@@ -16,11 +16,11 @@ public abstract class _SortDep extends C
     public static final String ID_PK_COLUMN = "ID";
 
     public void setRoot(SortRoot root) {
-        setToOneTarget("root", root, true);
+        setToOneTarget(ROOT_PROPERTY, root, true);
     }
 
     public SortRoot getRoot() {
-        return (SortRoot)readProperty("root");
+        return (SortRoot)readProperty(ROOT_PROPERTY);
     }
 
 

Modified: cayenne/main/trunk/framework/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/auto/_SortRoot.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/auto/_SortRoot.java?rev=1220770&r1=1220769&r2=1220770&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/auto/_SortRoot.java
(original)
+++ cayenne/main/trunk/framework/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/auto/_SortRoot.java
Mon Dec 19 14:34:04 2011
@@ -18,14 +18,14 @@ public abstract class _SortRoot extends 
     public static final String ID_PK_COLUMN = "ID";
 
     public void addToDeps(SortDep obj) {
-        addToManyTarget("deps", obj, true);
+        addToManyTarget(DEPS_PROPERTY, obj, true);
     }
     public void removeFromDeps(SortDep obj) {
-        removeToManyTarget("deps", obj, true);
+        removeToManyTarget(DEPS_PROPERTY, obj, true);
     }
     @SuppressWarnings("unchecked")
     public List<SortDep> getDeps() {
-        return (List<SortDep>)readProperty("deps");
+        return (List<SortDep>)readProperty(DEPS_PROPERTY);
     }
 
 

Modified: cayenne/main/trunk/framework/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/auto/_UuidRoot1.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/auto/_UuidRoot1.java?rev=1220770&r1=1220769&r2=1220770&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/auto/_UuidRoot1.java
(original)
+++ cayenne/main/trunk/framework/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/auto/_UuidRoot1.java
Mon Dec 19 14:34:04 2011
@@ -15,10 +15,10 @@ public abstract class _UuidRoot1 extends
     public static final String ID_PK_COLUMN = "ID";
 
     public void setUuid(String uuid) {
-        writeProperty("uuid", uuid);
+        writeProperty(UUID_PROPERTY, uuid);
     }
     public String getUuid() {
-        return (String)readProperty("uuid");
+        return (String)readProperty(UUID_PROPERTY);
     }
 
 }



Mime
View raw message