<div>Hi Starke,</div>
<div> </div>
<div>Please find the same attached.</div>
<div> </div>
<div>Thanks</div>
<div>Natraj <br><br> </div>
<div><span class="gmail_quote">On 7/19/07, <b class="gmail_sendername">Dr. Gernot Starke</b> <<a href="mailto:gs@gernotstarke.de">gs@gernotstarke.de</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br><br>please list your EMIAgainsProperty class...<br><br>Gernot<br><br>> I am facing some serious blocking issues while writing few rules. In the
<br>> rule below, a1, a2 are Double objects. When i have the first statement in<br>> the rule " EMIAgainstProperty( obj : a1 )", the rule does not fire....when<br>> i<br>> comment and re phrase the second line as emi : EMIAgainstProperty( a2 >= (
<br>> *<br>> new* Double(10* 1.5 )) ), the rule is fired.<br>><br>> Why is the first line making the rule not to fire. I have reported a<br>> similar<br>> problem yesterday, but could not find a resolution. On the other hand, i
<br>> am<br>> unable to refer a1 directly to say a1.doubleValue() in the second line, it<br>> throws up and error. Any help??? What is the way out?<br>> *<br>><br>> rule* "Test"<br>><br>> *when*
<br>><br>> EMIAgainstProperty( obj : a1 )<br>><br>> emi : EMIAgainstProperty( a2 >= ( *new* Double(obj.doubleValue() * 1.5 ))<br>> )<br>><br>> *then<br>> *<br>><br>> System.out.println(" Passed ");
<br>> *<br>><br>> end<br>> *<br>> _______________________________________________<br>> rules-users mailing list<br>> <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>><br><br><br>--<br>Dr. Gernot Starke<br>Willi-Lauf Allee 43, D-50858 Köln<br>Tel. +49 (0) 177 - 728 2570
<br>Mail: <a href="mailto:gs@gernotstarke.de">gs@gernotstarke.de</a><br><a href="http://www.gernotstarke.de">http://www.gernotstarke.de</a><br><a href="http://www.arc42.de">http://www.arc42.de</a><br>_______________________________________________
<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users
</a><br></blockquote></div><br>