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