[jboss-jira] [JBoss JIRA] Created: (JBRULES-835) can anybody please let me know how to access the complex object structure in the rules file
Venkat Garlapati (JIRA)
jira-events at lists.jboss.org
Tue May 1 15:10:30 EDT 2007
can anybody please let me know how to access the complex object structure in the rules file
-------------------------------------------------------------------------------------------
Key: JBRULES-835
URL: http://jira.jboss.com/jira/browse/JBRULES-835
Project: JBoss Rules
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Affects Versions: 3.0.6
Reporter: Venkat Garlapati
Assigned To: Mark Proctor
I have object like this
Entity{
Application getApplication()
Award getAward()
}
I cannot assert objects before firing the rules all I can assert is Entity object and I will get the appropriate nested objects in the .drl file and compare them against the rules that I have written.
my problem is as these objects are nested objects how to access the properties of these objects in the LHS
ex. application.getName().getAge() and comparing them against some value.
please help me.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list