CVS: xdoclet/modules/jdo/src/META-INF xtags.xml,1.22,1.23

Marco Schulze <[email protected]>
Newsgroups gmane.comp.java.xdoclet.devel
Message-ID <[email protected]>
Update of /cvsroot/xdoclet/xdoclet/modules/jdo/src/META-INF
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31755/modules/jdo/src/META-INF

Modified Files:
	xtags.xml 
Log Message:
objectid-classes can now implement interfaces or extend a superclass

Index: xtags.xml
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/modules/jdo/src/META-INF/xtags.xml,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -r1.22 -r1.23
*** xtags.xml	29 Aug 2005 21:36:09 -0000	1.22
--- xtags.xml	29 Aug 2005 22:42:46 -0000	1.23
***************
*** 185,188 ****
--- 185,224 ----
  
          <parameter type="text">
+           <name>superclass</name>
+           <usage-description>
+             If you want your object-id-class to extend another class, you can specify a superclass
+             by this attribute. Note, that you can pass this attribute to the
+             subtask 'jdoobjectidgenerator' as well (e.g. 'jdoobjectidgenerator superclass="a.b.c.AnyClass"').
+             Hence you do not need to define it for each class if it is always the same.
+             This tag-attribute has a higher priority and replaces the subtask's attribute.
+           </usage-description>
+           <mandatory>false</mandatory>
+         </parameter>
+ 
+         <parameter type="text">
+           <name>add-interfaces</name>
+           <usage-description>
+             You might want your object id classes to implement some interfaces. You can specify a
+             comma-separated list here. Note, that you are able to pass a comma-separated list
+             of interfaces to the subtask as well:
+             'jdoobjectidgenerator interfaces="a.b.c.Interface1, d.e.f.Interface2"/' All interfaces
+             which are declared by 'add-interfaces' will be appended to the declaration of the subtask.
+             Note, that you must implement these interfaces yourself if they are not only tagging interfaces
+             (e.g by using the 'code' attribute).
+           </usage-description>
+           <mandatory>false</mandatory>
+         </parameter>
+ 
+         <parameter type="text">
+           <name>replace-interfaces</name>
+           <usage-description>
+             The attribute 'replace-interfaces' does basically the same as 'add-interfaces', but it
+             overwrites any declaration that was passed to the subtask 'jdoobjectidgenerator' (while
+             'add-interfaces' appends).
+           </usage-description>
+           <mandatory>false</mandatory>
+         </parameter>
+ 
+         <parameter type="text">
            <name>code</name>
            <usage-description>



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.