Should use a DSL then.
----- Mail original -----
De: "Sean Su" <sean.x.su(a)gmail.com>
À: "Rules Users List" <rules-users(a)lists.jboss.org>
Envoyé: Jeudi 26 Avril 2012 19:06:57
Objet: Re: [rules-users] Guvnor guided editor and non argument constructor
What I am prototyping is part of the event processing (with or without fusion). I want to
use the rules created by the Guvnor to create the new events. However, as you would
understand, once the event has been created, it should not be modified as it happened in
the past.
So I am trying to avoid setters if possible.
Sean
Sent from my iPad
On Apr 26, 2012, at 12:49 PM, Vincent LEGENDRE < vincent.legendre(a)eurodecision.com >
wrote:
JavaBeans convention : all default constructible and plenty of setters (for writeable
properties) and getters (for readeable properties)
----- Mail original -----
De: "Michael Anstis" < michael.anstis(a)gmail.com >
À: "Rules Users List" < rules-users(a)lists.jboss.org >
Envoyé: Jeudi 26 Avril 2012 15:40:27
Objet: Re: [rules-users] Guvnor guided editor and non argument constructor
Seems reasonable enough.
On 26 April 2012 14:36, Sean Su < sean.x.su(a)gmail.com > wrote:
<blockquote>
It seems that the new fact created by the guided editor must be from
the java class that has the default non argument constructor in
Guvnor. There seems no way we can customize it to pass arguments in.
This would force us to provide setters to the object.
Is this a true statement?
Thanks
Sean
Sent from my iPad
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
</blockquote>
<blockquote>
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
</blockquote>
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users