[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-2907) seam-gen should make their List classes type safe

Samual Roberts (JIRA) jira-events at lists.jboss.org
Sat May 17 21:10:22 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBSEAM-2907?page=comments#action_12413126 ] 
            
Samual Roberts commented on JBSEAM-2907:
----------------------------------------


Change from 

public class ${entityName}List extends EntityQuery

to 

public class ${entityName}List extends EntityQuery<${entityName}>

in seam-gen\src\EntityList.java.ftl worked for me



> seam-gen should make their List classes type safe
> -------------------------------------------------
>
>                 Key: JBSEAM-2907
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2907
>             Project: Seam
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 2.0.0.GA
>            Reporter: Max Rydahl Andersen
>         Assigned To: Max Rydahl Andersen
>             Fix For: 2.1.0.GA
>
>
> Currently seam-gen generates  CustomerList extends EntityQuery 
> If it instead did CustomerList extends EntityQuery<Customer> then the code java and EL based completion would know its methods referred to Customer and not just Object.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list