Re: TRUE & FALSE Expression

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Tue Aug 15 2006 - 16:09:15 EDT

  • Next message: Peter Karich: "Re: Avoid automatic Bi-directional Relationship Management"

    new ASTScalar(Boolean.TRUE) should do the trick.

    Andrus

    On Aug 15, 2006, at 3:57 PM, Øyvind Harboe wrote:

    > On 8/15/06, Mike Kienenberger <mkienen..mail.com> wrote:
    >> I don't understand what you're asking.
    >>
    >> Can you give a concrete and specific example?
    >
    > Here I start off with TRUE and then reduce the matching set using
    > andExp().
    >
    > Expression e=ExpressionFactory.expTrue();
    >
    > if (xxx)
    > {
    > e=e.andExp(....);
    > }
    >
    > if (yyy)
    > {
    > e=e.andExp(....);
    > }
    >
    >
    > return e;
    >
    >
    > --
    > Øyvind Harboe
    > http://www.zylin.com
    >



    This archive was generated by hypermail 2.0.0 : Tue Aug 15 2006 - 16:09:42 EDT