[rules-users] enum Type to access entry in HashMap

thomas kukofka thomaskukofka at web.de
Fri Jul 25 05:45:54 EDT 2008


Hi,

If have an input object Inputobject which contains an enum Paratmeter
which contains all allowed parameters of InputObject:
The entries for the parameters are stored in a map:
private HashMap<Parameter, String> stringParameters;

If I try:
io: InputObject ( stringParameters[InputObject.Parameter.ParameterName] ==
"something")

I got the error
=>Field/method 'InputObject' not found for class 'com.rules.InputObject'Rule
Compilation error

Kind Regards
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080725/cde06026/attachment.html 


More information about the rules-users mailing list