You can write something like
A: Applicant(,,,, price < ( A.getData() ) )
where 'A' refers to the Applicant object bound to this pattern.
But getData() returns a String, it should return an int so that you can
compare it to the price.
I cannot really advise you on the overall structure of your project, but
consider what others have written. It might be better to include the Item
objects as facts, etc.
-W
On 22 December 2010 14:13, wasim.khan318 <khanwasim07(a)yahoo.co.in> wrote:
Sir i am very new to java and drools please can you correct my example, i
am
not getting about
<any java expression>
please it will help full for me a
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/DataBase-Configuratio...
Sent from the Drools - User mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users