cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Huss <>
Subject Re: in-memory filter by Expression accessing regular methods
Date Wed, 12 Apr 2017 17:03:04 GMT
Just use a java 8 stream and lambda in addition or instead of.
On Wed, Apr 12, 2017 at 4:48 PM Musall, Maik <> wrote:

> Hi,
> when filtering a list of objects by expression.filterObjects( list ), is
> there a way for the expression to access regular methods instead of Cayenne
> db properties?
> Use Case: I have a class A that has several relationships to class B, and
> it depends on a number of factors which is relevant in this case. So there
> is a method that returns either this or that relation to class B. I would
> like to include the method name in the expression path. (This was possible
> in EOF, and I just found that it doesn't work in Cayenne.)
> Thanks
> Maik

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message