cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Giaccone <t...@giaccone.org>
Subject Re: Qualifiers on objects to identify class
Date Thu, 30 Jan 2020 20:50:11 GMT
You know these are the times when I really appreciate how elegant Cayenne is. I wish I had
tried just a bit more to figure this out it's as simple as

accountTypeStr = "A" or accountTypeStr = "B"

easy peasy...

Tony

On 2020/01/30 20:46:53, "Giaccone, Tony" <anthony.giaccone@nytimes.com> wrote: 
> Andrus, et al...
> 
> I have an accountType enum, which has one of three values.  I want two
> values to generate one type of class, and 1 value to identify a different
> class in the entity class panel of the modeler
> 
> 
> accountTypeStr =  ("A"  or "B")
> 
> for example, however, the modeler doesn't like that one bit. Is it possible
> to do that?
> 
> 
> 
> Tony
> 

Mime
View raw message