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



Please consider the environment before printing this email.

Visit our website at http://www.nyse.com
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.