• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: eogenerator question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: eogenerator question
      • From: Guido Neitzer <email@hidden>
References: 
 >eogenerator question (From: Guido Neitzer <email@hidden>)
 >Re: eogenerator question (From: Guido Neitzer <email@hidden>)

  • Prev by Date: RE: Data freshness and inter-applications/instances notification
  • Next by Date: Re: eogenerator question
  • Previous by thread: Re: eogenerator question
  • Next by thread: Re: eogenerator question
  • Index(es):
    • Date
    • Thread