Re: eogenerator question
Re: eogenerator question
- Subject: Re: eogenerator question
- From: Chuck Hill <email@hidden>
- Date: Sat, 10 Feb 2007 21:05:13 -0800
I recall going down this road once and discovering that EOF did not
like abstract classes. At least I think it was EOF, it might have
been one of our other tools. I can't recall what the issue was, but
if you start getting odd exceptions, consider that it might come from
marking EO objects as abstract.
Chuck
On Feb 10, 2007, at 7:04 PM, Guido Neitzer wrote:
On 10.02.2007, at 19:56, Guido Neitzer wrote:
Is there a way to tell eogenerator to create an abstract subclass
if the entity is marked "abstract"?
To answer my question: yes, it is:
In the subclass template change the class definition line to:
public <$if isAbstractEntity$>abstract <$endif$>class <
$classNameWithoutPackage$> extends <$GEN_PREFIX$><
$classNameWithoutPackage$> {
Seems to work fine. Sorry for asking too early but I didn't think
it would be THAT easy. ;-)
cug
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net
This email sent to email@hidden
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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