• 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: How to handle relationship properties?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to handle relationship properties?


  • Subject: Re: How to handle relationship properties?
  • From: Miguel Arroz <email@hidden>
  • Date: Tue, 3 Jan 2006 23:47:20 +0000

Hi!

On 2006/01/03, at 23:33, Chuck Hill wrote:

Assuming that you are using packages, I'd would say that the class name (com.foo.bar.AccountUser) is _never_ the entity name. The key concept here is that one class can implement many entities. What I do is to use EOGenerator (from the DBEdit folks, also check out EOReporter) to generate the java files and add a line like this:

public static final String ENTITY_NAME = "AccountUser";

Did you alter the template to add that line automatically? I already created a 531 template to fiz the Number VS Boolean problem, I might try to see if it's possible to do this.


There is an old saying in EOF, "If you are writing code, you are doing it wrong." The truth is probably closer to "If you are writing more than two or three lines of code, you are doing it wrong."

Yeap, I forgot that sating... that was one reason I decided to REALLY learn WO... this is important, specially after creating lots of classes, XML files, and such, just to tell Struts to say Hello World... ;) The second reason is that WO is Cocoa for the Web, and Cocoa rocks!


  Yours

Miguel Arroz

      "I felt like putting a bullet between
       the eyes of every Panda that wouldn't
       scr*w to save its species."       -- Fight Club

Miguel Arroz
http://www.ipragma.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


  • Follow-Ups:
    • Re: How to handle relationship properties?
      • From: Chuck Hill <email@hidden>
References: 
 >How to handle relationship properties? (From: Miguel Arroz <email@hidden>)
 >Re: How to handle relationship properties? (From: Arturo Pérez <email@hidden>)
 >Re: How to handle relationship properties? (From: Miguel Arroz <email@hidden>)
 >Re: How to handle relationship properties? (From: Miguel Arroz <email@hidden>)
 >Re: How to handle relationship properties? (From: Arturo Pérez <email@hidden>)
 >Re: How to handle relationship properties? (From: Miguel Arroz <email@hidden>)
 >Re: How to handle relationship properties? (From: Arturo Perez <email@hidden>)
 >Re: How to handle relationship properties? (From: Miguel Arroz <email@hidden>)
 >Re: How to handle relationship properties? (From: Arturo Perez <email@hidden>)
 >Re: How to handle relationship properties? (From: Miguel Arroz <email@hidden>)
 >Re: How to handle relationship properties? (From: Arturo Perez <email@hidden>)
 >Re: How to handle relationship properties? (From: Miguel Arroz <email@hidden>)
 >Re: How to handle relationship properties? (From: Chuck Hill <email@hidden>)
 >Re: How to handle relationship properties? (From: Miguel Arroz <email@hidden>)
 >Re: How to handle relationship properties? (From: Chuck Hill <email@hidden>)
 >Re: How to handle relationship properties? (From: Miguel Arroz <email@hidden>)
 >Re: How to handle relationship properties? (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: WebApplication design problem
  • Next by Date: Re: How to handle relationship properties?
  • Previous by thread: Re: How to handle relationship properties?
  • Next by thread: Re: How to handle relationship properties?
  • Index(es):
    • Date
    • Thread