[forge-issues] [JBoss JIRA] (FORGE-396) PersistencePlugin does not generate generics information on getters and setters
Lincoln Baxter III (Updated) (JIRA)
jira-events at lists.jboss.org
Mon Dec 12 15:26:09 EST 2011
[ https://issues.jboss.org/browse/FORGE-396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lincoln Baxter III updated FORGE-396:
-------------------------------------
Description:
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.
was:
Currently the PersistencePlugin generates this for @OneToMany and @ManyToMany:
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;
}
There is no generics information <Customer> on either the getter return type or the setter parameter.
> 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
>
> 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