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@.@entityName@;
@Name("@listName@")
-public class @entityName@List extends EntityQuery
+public class @entityName@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 = {