Just curiosity. On 13/11/2013, Steven Williams <[email protected]> wrote: > I use something like the following in rules to good effect: > > Country( this == Country.USA )
Granted, you can add any number of attributes to an enum so that it's just another way of writing a static set of bean objects. But is there a "good effect" to be had from a pattern that merely ascertains the presence of an enum instance in the Working Memory? Other than this, a pattern like City( country == Country.USA ) doesn't require the insertion of the Country enums. Cheers Wolfgang _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
