Erich, there's a number of ways you could be trying to extend SDO generated classes. You might be wanting to make a new SDO Type which uses the generated base class as an SDO basetype. If so then that's the subject of http://issues.apache.org/jira/browse/TUSCANY-513, which I was hoping to address at one time, but haven't got to it yet. If you want to override existing behaviour, I don't believe there are any specific hook points we expose to facilitate that currently, e.g. template method patterns. If I understand correctly, the -storePattern is there due to the store pattern that was implemented in the eclipse implementation of SDO 1.0 which was an implementation feature which allowed you to override the gets and sets of properties to a store instance (for example I used this to allow lazy instantiation using XML pull parsing) -- this kind of feature is coming up for discussion in the SDO 3 spec effort, but isn't a functional part of the current Tuscany SDO implementation. Regards, Kelvin.
On 19/03/07, Erich Rueede <[EMAIL PROTECTED]> wrote:
Hi, I'm trying to figure out how I extend a generated static Java SDO with additional features, such as my own custom formatting an validation methods. Are there some hooks, that could be used for this subject? Will the generator's -storePattern eventually help? Thanks, Erich ____________________________________________________________________________________ The fish are biting. Get more visitors on your site using Yahoo! Search Marketing. http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
