Or maybe your model should have a 'status' field and avoid all that nasty inheritence altogether. :-)

I'll get me coat...

Geoff


On 10/02/06, David LeBer <[EMAIL PROTECTED]> wrote:

On 10-Feb-06, at 11:47 AM, David Avendasora wrote:

> I am using EOGenerator to create my custom java classes from my
> EOModel.
>
> I have  a class "Part" that has three subclasses: Raw, Intermediate
> and Finished. When EOGenerator creates the _Raw.java,
> _Intermediate.java and _Finished.java, they all extend
> EOGenericRecord instead of Part.
>
> They *should* extend Part which extends _Part which extends
> EOGenericRecord, right?
>
> I just want to make sure I'm doing this right.
>
> Thanks!

Does your EOGenerator base template have this?

public abstract class <$GEN_PREFIX$><$classNameWithoutPackage$>
extends <$if hasParentEntity$><$javaParentClassName$><$else
$>EOGenericRecord<$endif$>

--
;david

--
David LeBer
Codeferous Software
'co-defer-ous' adj. producing or containing code
site:   http://www.codeferous.com
blog: http://david.codeferous.com






_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/geoff.hopson%40gmail.com

This email sent to [EMAIL PROTECTED]



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to archive@mail-archive.com

Reply via email to