Re: JESS: Jess Access Control

2011-01-08 Thread Wolfgang Laun
On 8 January 2011 02:30, Ernest Friedman-Hill ejfr...@sandia.gov wrote: On Jan 7, 2011, at 8:06 PM, Michael Eugene Artz wrote: public Profile getProfile(int profileNumber) { //return new Profile(1, Mike, Artz); return (Profile)profiles.get(new Integer(profileNumber)); } Which is

JESS: Jess Access Control

2011-01-07 Thread Michael Eugene Artz
Hi, Im trying to do a simple Access control program using Jess. Everything pretty much shadows the Pricing example that comes with Jess. I changed only a few variable names and modified a couple of the parts that weren't need, because mine should be actually simpler. All I want to do is

Re: JESS: Jess Access Control

2011-01-07 Thread Ernest Friedman-Hill
On Jan 7, 2011, at 8:06 PM, Michael Eugene Artz wrote: It's a casting error but it doesn't make any sense to me why I would be getting that. userProfiles is a java.util.Set. The method Set.add() returns boolean (true means the add() succeeded, false means the object was already in the