• 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: Inheritance and overriding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inheritance and overriding


  • Subject: Re: Inheritance and overriding
  • From: Chuck Hill <email@hidden>
  • Date: Mon, 21 Apr 2008 12:41:08 -0700


On Apr 21, 2008, at 11:22 AM, Florijan Stamenkovic wrote:

Hi all,


I'm working on a fairly complicated piece of database engineering, and wondering about the techniques of overriding flattened attributes / relationships in inheritance trees. What I might need to do is flatten a


Entity1 ->> Entity2-> @sum -> Attribute

in a supertype, but override that in certain subclasses into

Entity1 ->> children(Entity1) ->> Entity2-> @sum -> Attribute

Is it possible to do this in the model? I've never tried, my guess is not, in that case, is it OK to simply do it in Java?


I don't know if you can do that in the model (the @sum) or not. Also, flattened attributes can have inconsistency problems. I'd lean towards the Java solution.

Chuck


--

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: Inheritance and overriding
      • From: Florijan Stamenkovic <email@hidden>
References: 
 >Inheritance and overriding (From: Florijan Stamenkovic <email@hidden>)

  • Prev by Date: Access to D2wContext / RuleSystem while rendering
  • Next by Date: Re: Access to D2wContext / RuleSystem while rendering
  • Previous by thread: Inheritance and overriding
  • Next by thread: Re: Inheritance and overriding
  • Index(es):
    • Date
    • Thread