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

Richard Kennard (JIRA) jira-events at lists.jboss.org
Mon Jan 30 02:29:48 EST 2012


    [ https://issues.jboss.org/browse/FORGE-446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12662653#comment-12662653 ] 

Richard Kennard commented on FORGE-446:
---------------------------------------

(pull request 94)
                
> 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