On 12/02/2014, drac0nic <scottlindsayjr(a)gmail.com> wrote:
If I have a school pojo that has a list of classroom pojos, is it
best
practice to insert the school fact and loop through each classroom to set
them as well?
It depends how frequently Classroom is used in rules. Inserting
Classroom objects as individual facts can simplify rules, although
you'll have to establish linkage between a School and its Classrooms
unless there is just one school.
Trying to set a consequence to the c.assroom based on whether the classroom
that has a black chalkboard. To the document if the classrooms have student
teachers.
I beg your pardon?
-W
--
View this message in context:
http://drools.46999.n3.nabble.com/mvel-fact-insertion-best-practices-tp40...
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