Update of /cvsroot/xdoclet/xdoclet/modules/jdo/src/META-INF In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9476/modules/jdo/src/META-INF
Modified Files: xtags.xml Log Message: - replaced jdo_2_0.dtd by a newer version - added @jdo.key (warning: @jdo.key-column works now only if @jdo.key is present) Index: xtags.xml =================================================================== RCS file: /cvsroot/xdoclet/xdoclet/modules/jdo/src/META-INF/xtags.xml,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -r1.16 -r1.17 *** xtags.xml 14 Jul 2005 18:40:51 -0000 1.16 --- xtags.xml 25 Aug 2005 02:02:11 -0000 1.17 *************** *** 436,439 **** --- 436,514 ---- <tag> <level>field</level> + <name>jdo.key</name> + <usage-description> + This is only supported by JDO 2.0 and only applicable to a Map field. You + may use it to declare properties of the Map's key field. + </usage-description> + <unique>true</unique> + <condition-description> + Applicable to a persistent Map field. + </condition-description> + <condition type="field"/> + + <parameter type="text"> + <name>column</name> + <usage-description> + </usage-description> + <mandatory>false</mandatory> + <condition-description> + </condition-description> + </parameter> + + <parameter type="text"> + <name>delete-action</name> + <usage-description> + How key objects shall be treated if the container is deleted. + </usage-description> + <mandatory>false</mandatory> + <option-sets> + <option-set> + <default>???</default> + <options> + <option>restrict</option> + <option>cascade</option> + <option>null</option> + <option>default</option> + <option>none</option> + </options> + </option-set> + </option-sets> + </parameter> + <parameter type="text"> + <name>indexed</name> + <usage-description> + </usage-description> + <mandatory>false</mandatory> + <option-sets> + <option-set> + <default>???</default> + <options> + <option>true</option> + <option>false</option> + <option>unique</option> + </options> + </option-set> + </option-sets> + </parameter> + <parameter type="bool"> + <name>unique</name> + <usage-description> + </usage-description> + <mandatory>false</mandatory> + </parameter> + <parameter type="text"> + <name>mapped-by</name> + <usage-description> + If the Map's key object is a member of its corresponding value object, this + specifies the name of the java field. + </usage-description> + <mandatory>false</mandatory> + <condition-description> + </condition-description> + </parameter> + </tag> + + <tag> + <level>field</level> <name>jdo.key-column</name> <usage-description> *************** *** 445,451 **** @jdo.element-column. </usage-description> ! <unique>true</unique> <condition-description> ! Applicable to a persistent Map field. </condition-description> <condition type="field"/> --- 520,526 ---- @jdo.element-column. </usage-description> ! <unique>false</unique> <condition-description> ! Applicable to a persistent Map field. The tag @jdo.key must be present! </condition-description> <condition type="field"/> ------------------------------------------------------- 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 _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel