I don't understand your question.

Let me explain what I do -- maybe it will clear things up.

Instead of the typical _generated-entity.java and entity.java classes, I create

_generated-entity.java -- class
entity.java -- class

_generated-entity-interface.java -- interface
entity-interface.java -- interface


On 5/30/07, Lachlan Deck <[EMAIL PROTECTED]> wrote:
On 30/05/2007, at 1:37 AM, Mike Kienenberger wrote:

> For what it's worth, I have Cayenne templates that generate
> interfaces (and pseudo-vertical inheritance).

How do you determine what those interfaces are and for which entities?

> It's messy to try to do this all purely in velocity, so it's partly
> written as a velocity tool helper class.

yep, sounds that way.

The aim of all of this work would be to provide more formal
approaches to modelling inheritance than currently exist for Cayenne.

with regards,
--

Lachlan Deck




Reply via email to