• 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: default superclass package for eogen files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: default superclass package for eogen files


  • Subject: Re: default superclass package for eogen files
  • From: "Michael DeMan (WO)" <email@hidden>
  • Date: Wed, 19 Nov 2008 16:21:07 -0800

Hi, change the _Entity.java template file to look something like this right at the top of it:

for: COM.COMPANY.MYBASECLASS


public abstract class ${entity.prefixClassNameWithoutPackage} extends #if ($entity.parentClassNameSet)${entity.parentClassName}#elseif ($entity.partialEntitySet)er.extensions.partials.ERXPartial<${entity.partialEntity.className}>#elseif ($entity.parentSet)${entity.parent.classNameWithDefault}#elseif ($EOGenericRecord)${EOGenericRecord}#else COM.COMPANY.MYBASECLASS#end {


- Mike


Freddie Tilley wrote:
Is there way to set a default superclass package, so that it doesn't have to
be set manually every time I generate an eogen file for a model?


Freddie Tilley
_______________________________________________
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


_______________________________________________ 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
References: 
 >default superclass package for eogen files (From: Freddie Tilley <email@hidden>)

  • Prev by Date: halp?
  • Next by Date: Re: halp?
  • Previous by thread: Re: default superclass package for eogen files
  • Next by thread: Translator (English -> Spanish) sought...
  • Index(es):
    • Date
    • Thread