[
https://issues.jboss.org/browse/FORGE-396?page=com.atlassian.jira.plugin....
]
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