cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Øyvind Harboe" <oyvind.har...@zylin.com>
Subject Re: TRUE & FALSE Expression
Date Tue, 15 Aug 2006 19:57:15 GMT
On 8/15/06, Mike Kienenberger <mkienenb@gmail.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

Mime
View raw message