org.exolab.castor.jdo.engine
Class JDOClassDescriptor
- ClassDescriptor
public class JDOClassDescriptor
JDO class descriptors. Extends
ClassDescriptor to include the
table name and other SQL-related information. All fields are of
type
JDOFieldDescriptor, identity field is not included in the
returned field list, and contained fields are flattened out for
efficiency (thus all fields are directly accessible).
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:08:17 $
checkValidity, getAccessMode, getDepends, getExtends, getFields, getIdentities, getIdentity, getJavaClass, getMapping, setMapping, toString |
getCacheParam
public int getCacheParam()
Returns the preferred mechanism for caching instance of this class
- an int represent the param
getCacheType
public String getCacheType()
Returns the preferred mechanism for caching instance of this class
- a String represent the cache type
getField
public JDOFieldDescriptor getField(String name)
Returns a JDOFieldDescriptor for the field with the name passed. Null
if named field does not exist.
name - The name of the field to return
- The field if it exists, otherwise null.
getIdentityColumnNames
public String[] getIdentityColumnNames()
- The names of columns that the identity consists of.
getKeyGeneratorDescriptor
public KeyGeneratorDescriptor getKeyGeneratorDescriptor()
Returns the key generator specified for this class.
- The key generator descriptor
getTableName
public String getTableName()
Returns the table name to which this object maps.
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com