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      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/chill% 40global-village.net

This email sent to [EMAIL PROTECTED]


--

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      (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