--- Michael Neale <[EMAIL PROTECTED]> wrote:

> Its not entirely true that you can't assert non java
> beans like string, you
> can, you just can't do column constraints on them
> (but you can do eval).

How hard would it be to implement the following
notation:

rule
  when
    String(== "foo")
  then
    ...
end

Being equivalent to:

rule
  when
    s : String()
    eval(s == "foo)
  then
    ...
end

And similar tests like 

ObjectClass(<operator> <value>)

Would this be difficult to implement?

Thanks,
GreG

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to