I did check in a _very_ brief page of doco for castor (linked off the
ejbdoclet navbar)... I am not fully aware of all castor's functionality,
and if there is something missing, please let me know and we can put it
in... this goes both for doco and code... afaik the mapping.xml should
validate against the dtd as I kept an eye on it as I put it in, but I
haven't checked (see the validatexml=false, below - obviously didn't
change it back after development)... so if the mapping.xml doesn't
validate, or there is stuff in the mapping.xml that is missing... just let
me know what it is and we'll get it in there.

cheesr
dim

On Sun, 25 Nov 2001, Dmitri Colebatch wrote:

> sorry... I will try _really really hard_ to get this documented today.
> 
> In the meantime... the rough details are:
> 
> at the class level:
> 
> @castor:class table="table_name"
>               id="primary_key(s)"
>               access="read-only,shared,exclusive,db-locked"
>               depends="depends_on_class"
>               extends="castor_extends_class"
>               key-generator="key_gen_strategy"
>               auto-complete="true,false"
> 
> and at the field level:
> 
> @castor:field required="true,false"
>               lazy="true,false"
>               create-method="create_method"
>               collection="array,vector,hashtable,collection,set,map"
> 
> @castor:field-sql name="column_name"
>                   type="sql_type"
>                   many-key="many_key"
>                   many_table="many_table"
>                   dirty="check,ignore"
> 
> @castor:field-xml name="node_name"
>                   type="xml_type"
>                   matches="matches"
>                   node="element,attribute,text"
> 
> The castor task is included in the ejbdoclet like so:
> 
> <castormapping destdir="${ejb.generated.etc.dir}" validatexml="false" />
> 
> sorry again for the lack of doco... I'll translate this email into doco
> today... most of the above should make some sense if you know castor
> well... I haven't used most of them, the source came from the castor list
> itself.
> 
> hth
> cheers
> dim
>                   
> 
> On Fri, 23 Nov 2001, Christoph Sturm wrote:
> 
> > Hey peepz!
> > 
> > I'd like to check out the castor integration, but i cant find any
> > docs. Someone mentioned that it covers 80% of the castor doclet. If
> > there are no docs at all i can still read the sourcecode, but if some1
> > has some pointer to docs it would be even easier.
> > 
> > regarz
> >  chris
> > 
> > 
> > _______________________________________________
> > Xdoclet-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> > 
> 
> 
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> 


_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to