[rules-users] check if a

Greg Barton greg_barton at yahoo.com
Mon Nov 1 12:16:38 EDT 2010


$value : Value( $value : value, // other restrictions )
$object : MyObject( $value not memberOf valueList )
 
GreG

On Nov 1, 2010, at 9:55, Tina Vießmann <tviessmann at stud.hs-bremen.de> wrote:

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



      




More information about the rules-users mailing list