[jboss-jira] [JBoss JIRA] Resolved: (JBRULES-2652) Add constructor with fields to generated beans

Edson Tirelli (JIRA) jira-events at lists.jboss.org
Mon Aug 9 21:23:49 EDT 2010


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

Edson Tirelli resolved JBRULES-2652.
------------------------------------

    Resolution: Done


Done.

> Add constructor with fields to generated beans
> ----------------------------------------------
>
>                 Key: JBRULES-2652
>                 URL: https://jira.jboss.org/browse/JBRULES-2652
>             Project: Drools
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: drools-compiler, drools-core
>    Affects Versions: 5.1.0.FINAL
>            Reporter: Edson Tirelli
>            Assignee: Edson Tirelli
>             Fix For: 5.1.1.FINAL, 5.2.0.M1
>
>
> Automatically generate constructors with fields for generated beans. For instance:
> declare Person 
>     name : String @key
>     age : int @key
>     address : Address
> end
> For the above Person bean, generate:
> * default constructor: 
> public Person() {...}
> * constructor with key fields:
> public Person( String name, int age ) {...}
> * constructor with all fields:
> public Person( String name, int age, Address address ) {...}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list