[rules-users] Creating DSL rules in guvnor - Object mapping issues

Fnu Mahalakshmi FMahalakshmi at nyx.com
Tue Jun 29 14:24:47 EDT 2010


hi,

I am wanting to use a particular feature while creating my DSLs using enums. Is it possible???
what i want to do is :
[when]When the credit rating is {rating:ENUM:Applicant.creditRating} = applicant:Applicant(creditRating=="{rating}")
[then]Approve the loan = applicant.setApproved(true)

I want the option to be either an Applicant or an Employee [both are different fact models)

So is it possible to do a mapping using Enums for the 2 object types : Applicant / Employee ???

Please Help
M

</pre>

<P><hr size=1></P>
<P><STRONG><font color=green>Please consider the environment before printing this email.</font></STRONG></P>
<P><STRONG>Visit our website at <a href="http://www.nyse.com">http://www.nyse.com</a> <br>

*****************************************************************************
<br>
Note:  The information contained in this message and any attachment to it is privileged, confidential and protected from disclosure.  If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If you have received this communication in error, please notify the sender immediately by replying to the message, and please delete it from your system.  Thank you.  NYSE Euronext.

</STRONG></P><pre>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100629/c9469e2e/attachment.html 


More information about the rules-users mailing list