cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r712421 - /cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/
Date Sat, 08 Nov 2008 18:44:26 GMT
Author: aadamchik
Date: Sat Nov  8 10:44:26 2008
New Revision: 712421

URL: http://svn.apache.org/viewvc?rev=712421&view=rev
Log:
class regen with the latest templates

Modified:
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtDeleteCascade.java
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtDeleteDeny.java
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtDeleteNullify.java
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtDeleteRule.java
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtMapToMany.java
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtMapToManyTarget.java
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtReflexive.java
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtTable1.java
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtTable1Subclass.java
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtTable2.java
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtTable3.java
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtTable4.java
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtTable5.java

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtDeleteCascade.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtDeleteCascade.java?rev=712421&r1=712420&r2=712421&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtDeleteCascade.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtDeleteCascade.java
Sat Nov  8 10:44:26 2008
@@ -1,11 +1,15 @@
 package org.apache.cayenne.testdo.mt.auto;
 
-/** Class _MtDeleteCascade was generated by Cayenne.
-  * It is probably a good idea to avoid changing this class manually, 
-  * since it may be overwritten next time code is regenerated. 
-  * If you need to make any customizations, please use subclass. 
-  */
-public abstract class _MtDeleteCascade extends org.apache.cayenne.CayenneDataObject {
+import org.apache.cayenne.CayenneDataObject;
+import org.apache.cayenne.testdo.mt.MtDeleteRule;
+
+/**
+ * Class _MtDeleteCascade was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _MtDeleteCascade extends CayenneDataObject {
 
     public static final String NAME_PROPERTY = "name";
     public static final String CASCADE_PROPERTY = "cascade";
@@ -18,15 +22,14 @@
     public String getName() {
         return (String)readProperty("name");
     }
-    
-    
-    public void setCascade(org.apache.cayenne.testdo.mt.MtDeleteRule cascade) {
+
+    public void setCascade(MtDeleteRule cascade) {
         setToOneTarget("cascade", cascade, true);
     }
 
-    public org.apache.cayenne.testdo.mt.MtDeleteRule getCascade() {
-        return (org.apache.cayenne.testdo.mt.MtDeleteRule)readProperty("cascade");
-    } 
-    
-    
+    public MtDeleteRule getCascade() {
+        return (MtDeleteRule)readProperty("cascade");
+    }
+
+
 }

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtDeleteDeny.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtDeleteDeny.java?rev=712421&r1=712420&r2=712421&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtDeleteDeny.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtDeleteDeny.java
Sat Nov  8 10:44:26 2008
@@ -1,11 +1,15 @@
 package org.apache.cayenne.testdo.mt.auto;
 
-/** Class _MtDeleteDeny was generated by Cayenne.
-  * It is probably a good idea to avoid changing this class manually, 
-  * since it may be overwritten next time code is regenerated. 
-  * If you need to make any customizations, please use subclass. 
-  */
-public abstract class _MtDeleteDeny extends org.apache.cayenne.CayenneDataObject {
+import org.apache.cayenne.CayenneDataObject;
+import org.apache.cayenne.testdo.mt.MtDeleteRule;
+
+/**
+ * Class _MtDeleteDeny was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _MtDeleteDeny extends CayenneDataObject {
 
     public static final String NAME_PROPERTY = "name";
     public static final String DENY_PROPERTY = "deny";
@@ -18,15 +22,14 @@
     public String getName() {
         return (String)readProperty("name");
     }
-    
-    
-    public void setDeny(org.apache.cayenne.testdo.mt.MtDeleteRule deny) {
+
+    public void setDeny(MtDeleteRule deny) {
         setToOneTarget("deny", deny, true);
     }
 
-    public org.apache.cayenne.testdo.mt.MtDeleteRule getDeny() {
-        return (org.apache.cayenne.testdo.mt.MtDeleteRule)readProperty("deny");
-    } 
-    
-    
+    public MtDeleteRule getDeny() {
+        return (MtDeleteRule)readProperty("deny");
+    }
+
+
 }

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtDeleteNullify.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtDeleteNullify.java?rev=712421&r1=712420&r2=712421&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtDeleteNullify.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtDeleteNullify.java
Sat Nov  8 10:44:26 2008
@@ -1,11 +1,15 @@
 package org.apache.cayenne.testdo.mt.auto;
 
-/** Class _MtDeleteNullify was generated by Cayenne.
-  * It is probably a good idea to avoid changing this class manually, 
-  * since it may be overwritten next time code is regenerated. 
-  * If you need to make any customizations, please use subclass. 
-  */
-public abstract class _MtDeleteNullify extends org.apache.cayenne.CayenneDataObject {
+import org.apache.cayenne.CayenneDataObject;
+import org.apache.cayenne.testdo.mt.MtDeleteRule;
+
+/**
+ * Class _MtDeleteNullify was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _MtDeleteNullify extends CayenneDataObject {
 
     public static final String NAME_PROPERTY = "name";
     public static final String NULLIFY_PROPERTY = "nullify";
@@ -18,15 +22,14 @@
     public String getName() {
         return (String)readProperty("name");
     }
-    
-    
-    public void setNullify(org.apache.cayenne.testdo.mt.MtDeleteRule nullify) {
+
+    public void setNullify(MtDeleteRule nullify) {
         setToOneTarget("nullify", nullify, true);
     }
 
-    public org.apache.cayenne.testdo.mt.MtDeleteRule getNullify() {
-        return (org.apache.cayenne.testdo.mt.MtDeleteRule)readProperty("nullify");
-    } 
-    
-    
+    public MtDeleteRule getNullify() {
+        return (MtDeleteRule)readProperty("nullify");
+    }
+
+
 }

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtDeleteRule.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtDeleteRule.java?rev=712421&r1=712420&r2=712421&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtDeleteRule.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtDeleteRule.java
Sat Nov  8 10:44:26 2008
@@ -1,11 +1,19 @@
 package org.apache.cayenne.testdo.mt.auto;
 
-/** Class _MtDeleteRule was generated by Cayenne.
-  * It is probably a good idea to avoid changing this class manually, 
-  * since it may be overwritten next time code is regenerated. 
-  * If you need to make any customizations, please use subclass. 
-  */
-public abstract class _MtDeleteRule extends org.apache.cayenne.CayenneDataObject {
+import java.util.List;
+
+import org.apache.cayenne.CayenneDataObject;
+import org.apache.cayenne.testdo.mt.MtDeleteCascade;
+import org.apache.cayenne.testdo.mt.MtDeleteDeny;
+import org.apache.cayenne.testdo.mt.MtDeleteNullify;
+
+/**
+ * Class _MtDeleteRule was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _MtDeleteRule extends CayenneDataObject {
 
     public static final String NAME_PROPERTY = "name";
     public static final String FROM_CASCADE_PROPERTY = "fromCascade";
@@ -20,39 +28,41 @@
     public String getName() {
         return (String)readProperty("name");
     }
-    
-    
-    public void addToFromCascade(org.apache.cayenne.testdo.mt.MtDeleteCascade obj) {
+
+    public void addToFromCascade(MtDeleteCascade obj) {
         addToManyTarget("fromCascade", obj, true);
     }
-    public void removeFromFromCascade(org.apache.cayenne.testdo.mt.MtDeleteCascade obj) {
+    public void removeFromFromCascade(MtDeleteCascade obj) {
         removeToManyTarget("fromCascade", obj, true);
     }
-    public java.util.List getFromCascade() {
-        return (java.util.List)readProperty("fromCascade");
+    @SuppressWarnings("unchecked")
+    public List<MtDeleteCascade> getFromCascade() {
+        return (List<MtDeleteCascade>)readProperty("fromCascade");
     }
-    
-    
-    public void addToFromDeny(org.apache.cayenne.testdo.mt.MtDeleteDeny obj) {
+
+
+    public void addToFromDeny(MtDeleteDeny obj) {
         addToManyTarget("fromDeny", obj, true);
     }
-    public void removeFromFromDeny(org.apache.cayenne.testdo.mt.MtDeleteDeny obj) {
+    public void removeFromFromDeny(MtDeleteDeny obj) {
         removeToManyTarget("fromDeny", obj, true);
     }
-    public java.util.List getFromDeny() {
-        return (java.util.List)readProperty("fromDeny");
+    @SuppressWarnings("unchecked")
+    public List<MtDeleteDeny> getFromDeny() {
+        return (List<MtDeleteDeny>)readProperty("fromDeny");
     }
-    
-    
-    public void addToFromNullify(org.apache.cayenne.testdo.mt.MtDeleteNullify obj) {
+
+
+    public void addToFromNullify(MtDeleteNullify obj) {
         addToManyTarget("fromNullify", obj, true);
     }
-    public void removeFromFromNullify(org.apache.cayenne.testdo.mt.MtDeleteNullify obj) {
+    public void removeFromFromNullify(MtDeleteNullify obj) {
         removeToManyTarget("fromNullify", obj, true);
     }
-    public java.util.List getFromNullify() {
-        return (java.util.List)readProperty("fromNullify");
+    @SuppressWarnings("unchecked")
+    public List<MtDeleteNullify> getFromNullify() {
+        return (List<MtDeleteNullify>)readProperty("fromNullify");
     }
-    
-    
+
+
 }

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtMapToMany.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtMapToMany.java?rev=712421&r1=712420&r2=712421&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtMapToMany.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtMapToMany.java
Sat Nov  8 10:44:26 2008
@@ -1,25 +1,32 @@
 package org.apache.cayenne.testdo.mt.auto;
 
-/** Class _MtMapToMany was generated by Cayenne.
-  * It is probably a good idea to avoid changing this class manually, 
-  * since it may be overwritten next time code is regenerated. 
-  * If you need to make any customizations, please use subclass. 
-  */
-public abstract class _MtMapToMany extends org.apache.cayenne.CayenneDataObject {
+import java.util.Map;
+
+import org.apache.cayenne.CayenneDataObject;
+import org.apache.cayenne.testdo.mt.MtMapToManyTarget;
+
+/**
+ * Class _MtMapToMany was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _MtMapToMany extends CayenneDataObject {
 
     public static final String TARGETS_PROPERTY = "targets";
 
     public static final String ID_PK_COLUMN = "ID";
 
-    public void addToTargets(org.apache.cayenne.testdo.mt.MtMapToManyTarget obj) {
+    public void addToTargets(MtMapToManyTarget obj) {
         addToManyTarget("targets", obj, true);
     }
-    public void removeFromTargets(org.apache.cayenne.testdo.mt.MtMapToManyTarget obj) {
+    public void removeFromTargets(MtMapToManyTarget obj) {
         removeToManyTarget("targets", obj, true);
     }
-    public java.util.Map getTargets() {
-        return (java.util.Map)readProperty("targets");
+    @SuppressWarnings("unchecked")
+    public Map<Object, MtMapToManyTarget> getTargets() {
+        return (Map<Object, MtMapToManyTarget>)readProperty("targets");
     }
-    
-    
+
+
 }

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtMapToManyTarget.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtMapToManyTarget.java?rev=712421&r1=712420&r2=712421&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtMapToManyTarget.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtMapToManyTarget.java
Sat Nov  8 10:44:26 2008
@@ -1,23 +1,27 @@
 package org.apache.cayenne.testdo.mt.auto;
 
-/** Class _MtMapToManyTarget was generated by Cayenne.
-  * It is probably a good idea to avoid changing this class manually, 
-  * since it may be overwritten next time code is regenerated. 
-  * If you need to make any customizations, please use subclass. 
-  */
-public abstract class _MtMapToManyTarget extends org.apache.cayenne.CayenneDataObject {
+import org.apache.cayenne.CayenneDataObject;
+import org.apache.cayenne.testdo.mt.MtMapToMany;
+
+/**
+ * Class _MtMapToManyTarget was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _MtMapToManyTarget extends CayenneDataObject {
 
     public static final String MAP_TO_MANY_PROPERTY = "mapToMany";
 
     public static final String ID_PK_COLUMN = "ID";
 
-    public void setMapToMany(org.apache.cayenne.testdo.mt.MtMapToMany mapToMany) {
+    public void setMapToMany(MtMapToMany mapToMany) {
         setToOneTarget("mapToMany", mapToMany, true);
     }
 
-    public org.apache.cayenne.testdo.mt.MtMapToMany getMapToMany() {
-        return (org.apache.cayenne.testdo.mt.MtMapToMany)readProperty("mapToMany");
-    } 
-    
-    
+    public MtMapToMany getMapToMany() {
+        return (MtMapToMany)readProperty("mapToMany");
+    }
+
+
 }

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtReflexive.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtReflexive.java?rev=712421&r1=712420&r2=712421&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtReflexive.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtReflexive.java
Sat Nov  8 10:44:26 2008
@@ -1,11 +1,17 @@
 package org.apache.cayenne.testdo.mt.auto;
 
-/** Class _MtReflexive was generated by Cayenne.
-  * It is probably a good idea to avoid changing this class manually, 
-  * since it may be overwritten next time code is regenerated. 
-  * If you need to make any customizations, please use subclass. 
-  */
-public abstract class _MtReflexive extends org.apache.cayenne.CayenneDataObject {
+import java.util.List;
+
+import org.apache.cayenne.CayenneDataObject;
+import org.apache.cayenne.testdo.mt.MtReflexive;
+
+/**
+ * Class _MtReflexive was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _MtReflexive extends CayenneDataObject {
 
     public static final String NAME_PROPERTY = "name";
     public static final String CHILDREN_PROPERTY = "children";
@@ -19,26 +25,26 @@
     public String getName() {
         return (String)readProperty("name");
     }
-    
-    
-    public void addToChildren(org.apache.cayenne.testdo.mt.MtReflexive obj) {
+
+    public void addToChildren(MtReflexive obj) {
         addToManyTarget("children", obj, true);
     }
-    public void removeFromChildren(org.apache.cayenne.testdo.mt.MtReflexive obj) {
+    public void removeFromChildren(MtReflexive obj) {
         removeToManyTarget("children", obj, true);
     }
-    public java.util.List getChildren() {
-        return (java.util.List)readProperty("children");
+    @SuppressWarnings("unchecked")
+    public List<MtReflexive> getChildren() {
+        return (List<MtReflexive>)readProperty("children");
     }
-    
-    
-    public void setToParent(org.apache.cayenne.testdo.mt.MtReflexive toParent) {
+
+
+    public void setToParent(MtReflexive toParent) {
         setToOneTarget("toParent", toParent, true);
     }
 
-    public org.apache.cayenne.testdo.mt.MtReflexive getToParent() {
-        return (org.apache.cayenne.testdo.mt.MtReflexive)readProperty("toParent");
-    } 
-    
-    
+    public MtReflexive getToParent() {
+        return (MtReflexive)readProperty("toParent");
+    }
+
+
 }

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtTable1.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtTable1.java?rev=712421&r1=712420&r2=712421&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtTable1.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtTable1.java
Sat Nov  8 10:44:26 2008
@@ -1,11 +1,17 @@
 package org.apache.cayenne.testdo.mt.auto;
 
-/** Class _MtTable1 was generated by Cayenne.
-  * It is probably a good idea to avoid changing this class manually, 
-  * since it may be overwritten next time code is regenerated. 
-  * If you need to make any customizations, please use subclass. 
-  */
-public abstract class _MtTable1 extends org.apache.cayenne.CayenneDataObject {
+import java.util.List;
+
+import org.apache.cayenne.CayenneDataObject;
+import org.apache.cayenne.testdo.mt.MtTable2;
+
+/**
+ * Class _MtTable1 was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _MtTable1 extends CayenneDataObject {
 
     public static final String GLOBAL_ATTRIBUTE1_PROPERTY = "globalAttribute1";
     public static final String SERVER_ATTRIBUTE1_PROPERTY = "serverAttribute1";
@@ -19,25 +25,24 @@
     public String getGlobalAttribute1() {
         return (String)readProperty("globalAttribute1");
     }
-    
-    
+
     public void setServerAttribute1(String serverAttribute1) {
         writeProperty("serverAttribute1", serverAttribute1);
     }
     public String getServerAttribute1() {
         return (String)readProperty("serverAttribute1");
     }
-    
-    
-    public void addToTable2Array(org.apache.cayenne.testdo.mt.MtTable2 obj) {
+
+    public void addToTable2Array(MtTable2 obj) {
         addToManyTarget("table2Array", obj, true);
     }
-    public void removeFromTable2Array(org.apache.cayenne.testdo.mt.MtTable2 obj) {
+    public void removeFromTable2Array(MtTable2 obj) {
         removeToManyTarget("table2Array", obj, true);
     }
-    public java.util.List getTable2Array() {
-        return (java.util.List)readProperty("table2Array");
+    @SuppressWarnings("unchecked")
+    public List<MtTable2> getTable2Array() {
+        return (List<MtTable2>)readProperty("table2Array");
     }
-    
-    
+
+
 }

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtTable1Subclass.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtTable1Subclass.java?rev=712421&r1=712420&r2=712421&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtTable1Subclass.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtTable1Subclass.java
Sat Nov  8 10:44:26 2008
@@ -1,11 +1,14 @@
 package org.apache.cayenne.testdo.mt.auto;
 
-/** Class _MtTable1Subclass was generated by Cayenne.
-  * It is probably a good idea to avoid changing this class manually, 
-  * since it may be overwritten next time code is regenerated. 
-  * If you need to make any customizations, please use subclass. 
-  */
-public abstract class _MtTable1Subclass extends org.apache.cayenne.testdo.mt.MtTable1 {
+import org.apache.cayenne.testdo.mt.MtTable1;
+
+/**
+ * Class _MtTable1Subclass was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _MtTable1Subclass extends MtTable1 {
 
 
     public static final String TABLE1_ID_PK_COLUMN = "TABLE1_ID";

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtTable2.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtTable2.java?rev=712421&r1=712420&r2=712421&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtTable2.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtTable2.java
Sat Nov  8 10:44:26 2008
@@ -1,11 +1,15 @@
 package org.apache.cayenne.testdo.mt.auto;
 
-/** Class _MtTable2 was generated by Cayenne.
-  * It is probably a good idea to avoid changing this class manually, 
-  * since it may be overwritten next time code is regenerated. 
-  * If you need to make any customizations, please use subclass. 
-  */
-public abstract class _MtTable2 extends org.apache.cayenne.CayenneDataObject {
+import org.apache.cayenne.CayenneDataObject;
+import org.apache.cayenne.testdo.mt.MtTable1;
+
+/**
+ * Class _MtTable2 was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _MtTable2 extends CayenneDataObject {
 
     public static final String GLOBAL_ATTRIBUTE_PROPERTY = "globalAttribute";
     public static final String TABLE1_PROPERTY = "table1";
@@ -18,15 +22,14 @@
     public String getGlobalAttribute() {
         return (String)readProperty("globalAttribute");
     }
-    
-    
-    public void setTable1(org.apache.cayenne.testdo.mt.MtTable1 table1) {
+
+    public void setTable1(MtTable1 table1) {
         setToOneTarget("table1", table1, true);
     }
 
-    public org.apache.cayenne.testdo.mt.MtTable1 getTable1() {
-        return (org.apache.cayenne.testdo.mt.MtTable1)readProperty("table1");
-    } 
-    
-    
+    public MtTable1 getTable1() {
+        return (MtTable1)readProperty("table1");
+    }
+
+
 }

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtTable3.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtTable3.java?rev=712421&r1=712420&r2=712421&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtTable3.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtTable3.java
Sat Nov  8 10:44:26 2008
@@ -1,11 +1,14 @@
 package org.apache.cayenne.testdo.mt.auto;
 
-/** Class _MtTable3 was generated by Cayenne.
-  * It is probably a good idea to avoid changing this class manually, 
-  * since it may be overwritten next time code is regenerated. 
-  * If you need to make any customizations, please use subclass. 
-  */
-public abstract class _MtTable3 extends org.apache.cayenne.CayenneDataObject {
+import org.apache.cayenne.CayenneDataObject;
+
+/**
+ * Class _MtTable3 was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _MtTable3 extends CayenneDataObject {
 
     public static final String BINARY_COLUMN_PROPERTY = "binaryColumn";
     public static final String CHAR_COLUMN_PROPERTY = "charColumn";
@@ -19,22 +22,19 @@
     public byte[] getBinaryColumn() {
         return (byte[])readProperty("binaryColumn");
     }
-    
-    
+
     public void setCharColumn(String charColumn) {
         writeProperty("charColumn", charColumn);
     }
     public String getCharColumn() {
         return (String)readProperty("charColumn");
     }
-    
-    
+
     public void setIntColumn(Integer intColumn) {
         writeProperty("intColumn", intColumn);
     }
     public Integer getIntColumn() {
         return (Integer)readProperty("intColumn");
     }
-    
-    
+
 }

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtTable4.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtTable4.java?rev=712421&r1=712420&r2=712421&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtTable4.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtTable4.java
Sat Nov  8 10:44:26 2008
@@ -1,25 +1,32 @@
 package org.apache.cayenne.testdo.mt.auto;
 
-/** Class _MtTable4 was generated by Cayenne.
-  * It is probably a good idea to avoid changing this class manually, 
-  * since it may be overwritten next time code is regenerated. 
-  * If you need to make any customizations, please use subclass. 
-  */
-public abstract class _MtTable4 extends org.apache.cayenne.CayenneDataObject {
+import java.util.List;
+
+import org.apache.cayenne.CayenneDataObject;
+import org.apache.cayenne.testdo.mt.MtTable5;
+
+/**
+ * Class _MtTable4 was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _MtTable4 extends CayenneDataObject {
 
     public static final String TABLE5S_PROPERTY = "table5s";
 
     public static final String ID_PK_COLUMN = "ID";
 
-    public void addToTable5s(org.apache.cayenne.testdo.mt.MtTable5 obj) {
+    public void addToTable5s(MtTable5 obj) {
         addToManyTarget("table5s", obj, true);
     }
-    public void removeFromTable5s(org.apache.cayenne.testdo.mt.MtTable5 obj) {
+    public void removeFromTable5s(MtTable5 obj) {
         removeToManyTarget("table5s", obj, true);
     }
-    public java.util.List getTable5s() {
-        return (java.util.List)readProperty("table5s");
+    @SuppressWarnings("unchecked")
+    public List<MtTable5> getTable5s() {
+        return (List<MtTable5>)readProperty("table5s");
     }
-    
-    
+
+
 }

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtTable5.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtTable5.java?rev=712421&r1=712420&r2=712421&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtTable5.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/mt/auto/_MtTable5.java
Sat Nov  8 10:44:26 2008
@@ -1,25 +1,32 @@
 package org.apache.cayenne.testdo.mt.auto;
 
-/** Class _MtTable5 was generated by Cayenne.
-  * It is probably a good idea to avoid changing this class manually, 
-  * since it may be overwritten next time code is regenerated. 
-  * If you need to make any customizations, please use subclass. 
-  */
-public abstract class _MtTable5 extends org.apache.cayenne.CayenneDataObject {
+import java.util.List;
+
+import org.apache.cayenne.CayenneDataObject;
+import org.apache.cayenne.testdo.mt.MtTable4;
+
+/**
+ * Class _MtTable5 was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _MtTable5 extends CayenneDataObject {
 
     public static final String TABLE4S_PROPERTY = "table4s";
 
     public static final String ID_PK_COLUMN = "ID";
 
-    public void addToTable4s(org.apache.cayenne.testdo.mt.MtTable4 obj) {
+    public void addToTable4s(MtTable4 obj) {
         addToManyTarget("table4s", obj, true);
     }
-    public void removeFromTable4s(org.apache.cayenne.testdo.mt.MtTable4 obj) {
+    public void removeFromTable4s(MtTable4 obj) {
         removeToManyTarget("table4s", obj, true);
     }
-    public java.util.List getTable4s() {
-        return (java.util.List)readProperty("table4s");
+    @SuppressWarnings("unchecked")
+    public List<MtTable4> getTable4s() {
+        return (List<MtTable4>)readProperty("table4s");
     }
-    
-    
+
+
 }



Mime
View raw message