[seam-commits] Seam SVN: r9040 - trunk/seam-gen/src.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Sat Sep 20 03:50:55 EDT 2008


Author: dan.j.allen
Date: 2008-09-20 03:50:55 -0400 (Sat, 20 Sep 2008)
New Revision: 9040

Modified:
   trunk/seam-gen/src/EntityList.java
   trunk/seam-gen/src/EntityList.java.ftl
Log:
JBSEAM-2907


Modified: trunk/seam-gen/src/EntityList.java
===================================================================
--- trunk/seam-gen/src/EntityList.java	2008-09-20 07:50:45 UTC (rev 9039)
+++ trunk/seam-gen/src/EntityList.java	2008-09-20 07:50:55 UTC (rev 9040)
@@ -2,9 +2,10 @@
 
 import org.jboss.seam.annotations.Name;
 import org.jboss.seam.framework.EntityQuery;
+import @modelPackage at .@entityName@;
 
 @Name("@listName@")
-public class @entityName at List extends EntityQuery
+public class @entityName at List extends EntityQuery<@entityName@>
 {
     @Override
     public String getEjbql()

Modified: trunk/seam-gen/src/EntityList.java.ftl
===================================================================
--- trunk/seam-gen/src/EntityList.java.ftl	2008-09-20 07:50:45 UTC (rev 9039)
+++ trunk/seam-gen/src/EntityList.java.ftl	2008-09-20 07:50:55 UTC (rev 9040)
@@ -13,7 +13,7 @@
 import java.util.Arrays;
 
 @Name("${listName}")
-public class ${entityName}List extends EntityQuery
+public class ${entityName}List extends EntityQuery<${entityName}>
 {
 
     private static final String[] RESTRICTIONS = {




More information about the seam-commits mailing list