In accordance with Greg: A bound variable cannot be used first in a
constraint; therefore we must use
  valueList not contains $value
-W

On 1 November 2010 17:16, Greg Barton <[email protected]> wrote:

>
> $value : Value( $value : value, // other restrictions )
> $object : MyObject( $value not memberOf valueList )
>
> GreG
>
> On Nov 1, 2010, at 9:55, Tina Vießmann <[email protected]>
> 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
> [email protected]
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
>
>
>
> _______________________________________________
> rules-users mailing list
> [email protected]
> https://lists.jboss.org/mailman/listinfo/rules-users
>
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to