[rules-users] mixing activation-group and ruleflow-group

Wolfgang Laun wolfgang.laun at gmail.com
Tue Oct 2 06:15:47 EDT 2012


On 02/10/2012, raffi <christian.koehler at s2008.tu-chemnitz.de> 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
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>


More information about the rules-users mailing list