XDoclet Overview News and Status Download/Installation Using XDoclet Best Practices FAQ License Ant Task Reference <ejbdoclet .. /> <webdoclet .. /> <hibernatedoclet .. /> <jdodoclet .. /> <jmxdoclet .. /> <doclet .. /> <documentdoclet .. /> Tag Reference apache (@soap @struts) bea (@weblogic) caucho (@resin) ejb (@ejb @dao) exolab (@castor) hp (@hpas) hibernate (@hibernate) ibm (@websphere) java (@javabean) jboss (@jboss) jdo (@jdo) jmx (@jmx) macromedia (@jrun) mvcsoft (@mvcsoft) mx4j (@mx4j) objectweb (@jonas) orion (@orion) pramati (@pramati) sybase (@easerver) web (@web @jsp) webwork (@webwork) xdoclet (@xdoclet @doc) Feature Documentation Using Value Objects Advanced Maven Plug-in Merge Points Log4J Configuration IDE Integration Migration from EJBDoclet Ant 1.5 Troubleshooting Community Feedback Resources Tools Developer Resources Developer Guide Architecture Branches and Tags CVS Directory Layout XDoclet 2.0 Design Planning Development Reference Javadoc (API) Template Language (*.xdt) Todo List Project Documentation Front Page Project Info Project Reports Development Process | ### Tag Reference for @jdo Class Level Tags @jdo.persistence-capable @sql.table Method Level Tags ### Tag Usage, Class Level (@jdo) JDO tags used to generate jdo xml metadata. The tag names are identical to the element names in jdo.dtd. #### @jdo.persistence-capable (0..1) The jdo.persistence-capable tag provides information about the JDO persistent bean. Its presence determines if your class will be included in the generated jdo metadata.
Parameter | Type | Applicability | Description | Mandatory
--- | --- | --- | --- | ---
identity-type | text |  | Specifies whether objects are uniquely identified by a jdo-implementation provided abstract identifier (datastore identity), accessible fields in the object (application identity), or not at all (nondurable identity). | true
objectid-class | text |  | The fully-qualified class name for the application identity object id. Use only with application identity. | false
requires-extent | bool |  | Specifies whether the jdo implementation must provide an extent for this class. | false
persistence-capable-superclass | text |  | Fully-qualified class name of the PersistenceCapable super class, if any. | false
#### @sql.table (0..1) Defines the mapping to a relational database. To use if the JDO bean is to be persisted on a relational database.
Parameter | Type | Applicability | Description | Mandatory
--- | --- | --- | --- | ---
table-name | text |  | Name of the table to map to. | false
### Tag Usage, Method Level (@jdo) JDO tags used to generate jdo xml metadata. The tag names are identical to the element names in jdo.dtd.