Re: Qualifiers on objects to identify class
Tony Giaccone <[email protected]>
| Newsgroups | gmane.comp.java.cayenne.user |
|---|---|
| Message-ID | <pony-dbd9f43019a5f7f32b67590ba6bd947a9c0311dc-bae494d9f1c8764314d050e90f7616c76c73b534@user.cayenne.apache.org> |
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" <[email protected]> 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 >