In the current implementation of the jdo module, the syntax of the tags is the 
following:

Class tags:
@jdo:bean identity="application|datastore(default)|nondurable" 
objectid-class(*)="<class>"
requires-extent="true(default)|false"
          superclass(*)="<class>"
@jdo:rdbmapping table="<table>"

Method tags:
@jdo:field modifier="persistent(default)|transactional|none" 
primary-key="true|false(default)"
null-value="exception|default|none(default)" default-fetch-group(*)="true|false" 
embedded(*)="true|false"
@jdo:relation type="collection(default)|array" element-type(*)="<class>" 
embedded-element(*)="true|false"
@jdo:map key-type="<class>" embedded-key(*)="true|false" value-type="<class>" 
embedded-value(*)="true|false"
@jdo:rdbmapping table(*)="<table>" column="<column>"

There is also a formal description of the tags in the source code in 
src/meta-inf/xtags.xml
I tried to keep something close to ejb tags. Unfortunately, at the same time i started 
the jdo module, Kodo made a
closed implementation of xdoclet for jdo, and they have a different set of tags, 
something more like one tag per
option...
Right now, i have @jdo:bean and @jdo@field fully supported.

For those interested, tell me what you think of those tags, and if we should try to 
keep compatibility with Kodo

Ludovic

----- Original Message -----
From: "Ara Abrahamian" <[EMAIL PROTECTED]>
To: "'Ludovic Claude'" <[EMAIL PROTECTED]>; "'David Jencks'" 
<[EMAIL PROTECTED]>;
"'xdoclet-user'" <[EMAIL PROTECTED]>
Sent: Monday, July 01, 2002 5:46 PM
Subject: RE: [Xdoclet-user] Is there an open source metadata.jdo subtask?


> Excellent! I haven't noticed its existence till now! But it looks good,
> and if you add support for all of the jdo dtd stuff and document it
> we'll definitely include it in xdoclet's core. If you're going to
> implement it please discuss it first in xdolcet-devel mailing list,
> specially the shape of @jdo:blabla tags I mean.
>
> Ara.
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:xdoclet-user-
> > [EMAIL PROTECTED]] On Behalf Of Ludovic Claude
> > Sent: Monday, July 01, 2002 5:35 PM
> > To: David Jencks; xdoclet-user
> > Subject: Re: [Xdoclet-user] Is there an open source metadata.jdo
> subtask?
> >
> >
> > I have started to write one, it is available in the xdoclet patches.
> Right
> > now, it is alpha stuff, with only the very
> > basic jdo options available.
> > I plan to add support for relationships, mapping to relational
> databases
> > (independent of vendors if possible), ...
> > Any help welcome!
> > See
> >
> http://sourceforge.net/tracker/?func=detail&aid=575905&group_id=31602&at
> id
> > =402706 for the source
> >
> > Ludovic
> >
> > ----- Original Message -----
> > From: "David Jencks" <[EMAIL PROTECTED]>
> > To: "xdoclet-user" <[EMAIL PROTECTED]>
> > Sent: Monday, July 01, 2002 2:29 PM
> > Subject: [Xdoclet-user] Is there an open source metadata.jdo subtask?
> >
> >
> > > Is there an open source subtask/template for generating jdo (sun
> spec,
> > not
> > > castor) schema deployment descriptors?  KODO seems to have a
> proprietary
> > > one...
> > >
> > > If not, where should I put it (after that little detail of writing
> it)?
> > > Make a new module jdo?
> > >
> > > Thanks
> > > david jencks
> > >
> > >
> > > -------------------------------------------------------
> > > This sf.net email is sponsored by:ThinkGeek
> > > Welcome to geek heaven.
> > > http://thinkgeek.com/sf
> > > _______________________________________________
> > > Xdoclet-user mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> > >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Xdoclet-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to