Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-396

PersistencePlugin does not generate generics information on getters and setters

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 1.0.0.Beta4
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            lincolnthree Lincoln Baxter III (Inactive)
            kennardconsulting Richard Kennard (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: