On 02/10/2012, raffi <[email protected]> wrote: > Hi and thank you for the approach. There are points I don't really > understand > in this solution. I have to create n instances (depending on number of > categories) of Superiors class in my main java file in the way > /Superior sup = new Superior("pets", null)/? > How is the set superior filled?
You should do this in Java, using a POJO class, inserting right after session start. You do know how to add elements to a Set<String>? > I don't really understand the part > /superiors contains $xname/. This is DRL for calling a collection's contains() method, i.e.: x.getSuperior().contains( $xname ) -W > > Thank you > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/mixing-activation-group-and-ruleflow-group-tp4020058p4020074.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users > _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
