cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Dahbura <dahb...@aopslab.com>
Subject Re: Interfaces in Cayenne
Date Mon, 06 Jun 2011 22:56:45 GMT
Thanks Michael-let me look into it....I really would like to have JAXB integration!

Tony


----- Original Message -----
From: "Michael Gentry" <mgentry@masslight.net>
To: user@cayenne.apache.org
Sent: Monday, June 6, 2011 4:17:25 PM
Subject: Re: Interfaces in Cayenne

Hi Tony,

Will embeddables work for you?

http://cayenne.apache.org/doc30/modeling-embeddables.html

mrg


On Mon, Jun 6, 2011 at 3:19 PM, Tony Giaccone <tgiaccone@gmail.com> wrote:

> I have a situation where I want to model multiple entities that can have a
> Budget. A budget is implemented as an account number, a current balance and
>  a set of transactions (deposits and expenses).
>
> This structure has to be associated with several entities in the model, so
> what I'd like to do is create an interface that describes this the budget
> attributes and behaviors, and then have different entities implement it
> (probably through composition but that's not clear yet).
>
> The documentation on using interfaces with Cayenne is rather.. light.  Any
> additional information would be appreciated.
>
>
> Tony
>

Mime
View raw message