Discussion:
[Middlegen-user] Generation of JDO code
Ludovic Claude
2002-04-30 15:30:24 UTC
Permalink
Hi Aslak,

I'm starting to write a plugin to Middlegen for generating Sun JDO classes. As i learned JDO yesterday ;-) this may prove interesting and if there are any JDO (Castor or Sun) experts on this list, contributions are welcomed.

Cheers,
Ludovic
Aslak Hellesøy
2002-05-01 18:12:06 UTC
Permalink
Hi Ludo,

That's great! I have done some refactorings that should make life easier for
plugin contributors. There is a new middlegen/plugins folder where you
should develop your plugin (locally). If you want to share your plugins with
the rest of the world, you're welcome!

Cheers,
Aslak

-----Original Message-----
From: middlegen-user-***@lists.sourceforge.net
[mailto:middlegen-user-***@lists.sourceforge.net]On Behalf Of Ludovic
Claude
Sent: 30. april 2002 19:29
To: middlegen-***@lists.sourceforge.net
Subject: [Middlegen-user] Generation of JDO code


Hi Aslak,

I'm starting to write a plugin to Middlegen for generating Sun JDO classes.
As i learned JDO yesterday ;-) this may prove interesting and if there are
any JDO (Castor or Sun) experts on this list, contributions are welcomed.

Cheers,
Ludovic
Ludovic Claude
2002-05-02 06:46:14 UTC
Permalink
I have a little issue with the inheritance in Middlegen: you have
JavaTagsHanlder and MiddlegenTagsHandler as subclasses of BaseTagsHandler.
Unfortunately, my JDOTagsHandler, a subclass of JavaTagsHandler, needs to
have access to the methods of MiddlegenTagsHandler, because in one of my
tags handler methods, i need to get the list of dependent beans - to
generate something like class Man { public Man(Man father, Women mother)
.. }
In this example, father and mother can be found from the list of tables
refered to by the relationship roles in the current table, but i can't get
them because i need to work with an instance of MiddlegenTagsHandler that i
don't have access to...
So either provide a method that gives access to the MiddlegenTagsHandler
instance, or move most of the methods in MiddlegenTagsHandler up to
BaseTaskHandler.

Thanks,
Ludovic

----- Original Message -----
From: "Aslak Hellesøy" <***@netcom.no>
To: "Ludovic Claude" <***@hotmail.com>;
<middlegen-***@lists.sourceforge.net>
Sent: Wednesday, May 01, 2002 10:01 PM
Subject: RE: [Middlegen-user] Generation of JDO code
Post by Aslak Hellesøy
Hi Ludo,
That's great! I have done some refactorings that should make life easier for
plugin contributors. There is a new middlegen/plugins folder where you
should develop your plugin (locally). If you want to share your plugins with
the rest of the world, you're welcome!
Cheers,
Aslak
-----Original Message-----
Claude
Sent: 30. april 2002 19:29
Subject: [Middlegen-user] Generation of JDO code
Hi Aslak,
I'm starting to write a plugin to Middlegen for generating Sun JDO classes.
As i learned JDO yesterday ;-) this may prove interesting and if there are
any JDO (Castor or Sun) experts on this list, contributions are welcomed.
Cheers,
Ludovic
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
_______________________________________________
middlegen-user mailing list
https://lists.sourceforge.net/lists/listinfo/middlegen-user
Loading...