I have considered doing a custom operator contains all too. Can't I use the
eval for this though like the example below? I haven't tried it yet.
class SampleObject{
List IDs;
}
rule "test"
no loop
when
$h3: Set() from RefData.getIDs()
r1: SampleObject()
eval ( $h3.containsAll( r1.IDs) )
then
error()
end
--
View this message in context:
http://n3.nabble.com/Can-I-do-a-Collection-contains-Collection-tp217546p2...
Sent from the Drools - User mailing list archive at
Nabble.com.