specifying objects' class
John Lenton <[email protected]> Mon, 9 Feb 2004 20:56:18 -0300
| Newsgroups | gmane.comp.python.modeling |
|---|---|
| Message-ID | <[email protected]> |
Hi all again.
We'll be using Modeling for a large(ish) database shortly, and we'd
like to have to make minimal changes to the generated files, to
minimize the work required upon a schema change, given that we'll
probably have a lot of them during the initial developement.
In other words, we'd like to be able to put the business logic in one
tree ('luca', for example), and have the Modeling stuff in another
tree ('mdl'), with any given class in luca inheriting from its par in
mdl. That's pretty easy to do, except that we're concerned that things
like
person.getAddresses()
(to borrow from Sample) would return objects from the 'mdl' tree, and
not our own.
Maybe we're just being too lazy, but we fear that, if we don't find a
way to do this at least semi-automagically, the worked involved will
be tedious, and thus error-prone.
--
John Lenton ([email protected]) -- Random fortune:
25 de Diciembre, Doom, Doom, Doom.
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn