The complement operator of "contains" is "memberOf".
Value( this not memberOf $valueList )
Edson
2010/11/1 Tina Vießmann <tviessmann(a)stud.hs-bremen.de>:
Is it possible to write the following conditions without using eval?
$object : MyObject ( $valueList : valueList ) // of type List
$ value : Value ( // other restrictions
&& eval( !($valueList.contains($value)) ) )
Thank you :)
Tina
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
Edson Tirelli
JBoss Drools Core Development
JBoss by Red Hat @
www.jboss.com