org.exolab.castor.jdo.engine
public class JDOClassDescriptor extends ClassDescriptorImpl
Version: $Revision: 6297 $ $Date: 2006-04-10 16:39:24 -0600 (Mon, 10 Apr 2006) $
| Constructor Summary | |
|---|---|
| JDOClassDescriptor(ClassDescriptor clsDesc, KeyGeneratorDescriptor keyGenDesc) | |
| Method Summary | |
|---|---|
| void | addNamedQuery(String name, String namedQuery)
Adds a new named query for the given name for future usage (through Database.getNamedQuery()). |
| Properties | getCacheParams() |
| JDOFieldDescriptor | getField(String name)
Returns a JDOFieldDescriptor for the field with the name passed. |
| String[] | getIdentityColumnNames() |
| KeyGeneratorDescriptor | getKeyGeneratorDescriptor()
Returns the key generator specified for this class.
|
| String | getNamedQuery(String name)
Returns the OQL statement from a named query instance associated with the given name |
| String | getTableName()
Returns the table name to which this object maps.
|
| String | toString() |
Parameters: name Name of the named query. namedQuery Named query to be associated with the given name
Throws: QueryException If there's already a named query for the given name
Parameters: name The name of the field to return
Returns: The field if it exists, otherwise null.
Returns: The names of columns that the identity consists of.
Returns: The key generator descriptor
Parameters: name Name of the named query
Returns: the OQL statement from a named query instance associated with the given name
Returns: Table name