Re: Inheritance and overriding
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