[jboss-user] [Beginners Corner] - Re: Drools 3.0 and constraints

panihill do-not-reply at jboss.com
Thu Aug 3 19:58:47 EDT 2006


One simple thing to do would be add a method to class that compares the fields and returns a boolean.

Otherwise, you can use the 'eval' - see documentation. 

when 
 b : DoubleA( ) 
eval (getcharge() < getOptimal() )
then...

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963063#3963063

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963063



More information about the jboss-user mailing list