[rules-users] check if a
Edson Tirelli
tirelli at post.com
Mon Nov 1 13:00:19 EDT 2010
The complement operator of "contains" is "memberOf".
Value( this not memberOf $valueList )
Edson
2010/11/1 Tina Vießmann <tviessmann at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
--
Edson Tirelli
JBoss Drools Core Development
JBoss by Red Hat @ www.jboss.com
More information about the rules-users
mailing list