Re: EOGenerator & Inheritance
Re: EOGenerator & Inheritance
- Subject: Re: EOGenerator & Inheritance
- From: David Avendasora <email@hidden>
- Date: Sun, 12 Feb 2006 12:33:45 +0000
This is perfect. It fixed it.
Is there some source for more updated templates for EOGenerator? I'm
using the ones I downloaded with it.
Dave
On Feb 10, 2006, at 5:12 PM, David LeBer 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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden