On 02/10/2012, raffi <christian.koehler(a)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-gr...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users