The complement operator of "contains" is "memberOf".

Value( this not memberOf $valueList )

   Edson

2010/11/1 Tina Vießmann <[email protected]>:
> 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
> [email protected]
> https://lists.jboss.org/mailman/listinfo/rules-users
>



-- 
  Edson Tirelli
  JBoss Drools Core Development
  JBoss by Red Hat @ www.jboss.com

_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to