[rules-users] Drools & objects' methods

Bertrand Grottier b_grottier at hotmail.com
Fri Apr 2 11:34:26 EDT 2010


Hello,

In the documentation, it is written (4.8.2.1.1):
"A Field constraint specifies a restriction to be used on
 a
        named field"

A bit further:
"A field is derived from an accessible method of the 
object.
          If your model
          objects follow the Java Bean pattern, then fields are exposed 
using
          "getXXX" or "isXXX" methods, where these methods take no
          arguments, and return something. Within patterns, fields can 
be
          accessed using the bean naming convention..."

Is this mean that we have no access to our Objects' method ? (excepting getXXXX or isXXXX)
Is there a way to get around this ?

Thank you in advance.

Regards,

Benoît
 		 	   		  
_________________________________________________________________
Consultez vos emails Orange, Gmail, Yahoo!, Free ... directement depuis HOTMAIL !
http://www.windowslive.fr/hotmail/agregation/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100402/40ed5552/attachment.html 


More information about the rules-users mailing list