You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by to...@apache.org on 2005/01/05 20:57:20 UTC
cvs commit: db-ojb/src/doc/forrest/src/documentation/content/xdocs/docu/guides xdoclet-module.xml
tomdz 2005/01/05 11:57:20
Modified: src/doc/forrest/src/documentation/content/xdocs/docu/guides
xdoclet-module.xml
Log:
Slight rewording of the description of the collection-class attribute of the ojb.collection XDoclet tag
Revision Changes Path
1.6 +8 -7 db-ojb/src/doc/forrest/src/documentation/content/xdocs/docu/guides/xdoclet-module.xml
Index: xdoclet-module.xml
===================================================================
RCS file: /home/cvs/db-ojb/src/doc/forrest/src/documentation/content/xdocs/docu/guides/xdoclet-module.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- xdoclet-module.xml 17 Nov 2004 23:35:25 -0000 1.5
+++ xdoclet-module.xml 5 Jan 2005 19:57:20 -0000 1.6
@@ -2139,14 +2139,15 @@
</dt>
<dd>
Specifies the class that implements the collection. This attribute is usually only required if
- the actual type of the collection object shall be different from the variable type.
+ the actual type of the collection object shall be different from the variable type, e.g. if an
+ interface like <code>java.util.Collection</code> is used as the declared type.
<br/>
- Collection classes that implement
- <code>java.util.Collection</code> can be handled by OJB as-is
- so specifying them is not necessary. For the types that do not, the XDoclet OJB module checks
- whether the collection field type implements the
+ Collections that use <code>java.util.Collection</code>, <code>java.util.List</code> or
+ <code>java.util.Set</code> can be handled by OJB as-is so specifying <strong>collection-class</strong>
+ is not necessary. For the types that do not, the XDoclet OJB module checks
+ whether the declared collection field type implements the
<code>org.apache.ojb.broker.ManageableCollection</code> interface, and if so, generates the
- collection-class attribute automatically.
+ <strong>collection-class</strong> attribute automatically. Otherwise, you have to specify it.
<br/>
</dd>
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org