[forge-issues] [JBoss JIRA] (FORGE-396) PersistencePlugin does not generate generics information on getters and setters

Lincoln Baxter III (Closed) (JIRA) jira-events at lists.jboss.org
Mon Dec 12 17:16:11 EST 2011


     [ https://issues.jboss.org/browse/FORGE-396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lincoln Baxter III closed FORGE-396.
------------------------------------

         Assignee: Lincoln Baxter III
    Fix Version/s: 1.0.0.Beta4
       Resolution: Done


Fixed in Refactory.java
                
> PersistencePlugin does not generate generics information on getters and setters
> -------------------------------------------------------------------------------
>
>                 Key: FORGE-396
>                 URL: https://issues.jboss.org/browse/FORGE-396
>             Project: Forge
>          Issue Type: Enhancement
>            Reporter: Richard Kennard
>            Assignee: Lincoln Baxter III
>             Fix For: 1.0.0.Beta4
>
>
> Currently the PersistencePlugin generates this for @OneToMany and @ManyToMany:
> {code}
> 	private @ManyToMany(mappedBy = "addresses")
> 	Set<Customer> customers = new HashSet<Customer>();
> 	public Set getCustomers() {
> 		return this.customers;
> 	}
> 	public void setCustomers(final Set customers) {
> 		this.customers = customers;
> 	}{code}
> There is no generics information <Customer> on either the getter return type or the setter parameter.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the forge-issues mailing list