[forge-issues] [JBoss JIRA] (FORGE-446) Support use of public fields as well as getters and setters

Lincoln Baxter III (JIRA) jira-events at lists.jboss.org
Thu Jan 26 13:27:48 EST 2012


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

Lincoln Baxter III closed FORGE-446.
------------------------------------


    
> Support use of public fields as well as getters and setters
> -----------------------------------------------------------
>
>                 Key: FORGE-446
>                 URL: https://issues.jboss.org/browse/FORGE-446
>             Project: Forge
>          Issue Type: Bug
>          Components: Scaffold
>            Reporter: Pete Muir
>            Assignee: Richard Kennard
>
> Given an entity
> {code:java}
> @Embeddable
> public class Address {
>     
>     public String street;
>     
>     public String city;
>     
>     public String country;
> }
> {code}
> and a use
> {code:java}
>     @Embedded
>     private Address address;
> {code}
> If the embeddable entity had getters and setters, this would have correctly generated an embedded CRUD, however, as it was public fields it didn't.

--
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