|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.exolab.castor.mapping.loader.ClassDescriptorImpl
org.exolab.castor.jdo.engine.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).
| Constructor Summary | |
JDOClassDescriptor()
|
|
| Method Summary | |
protected void |
addCacheParam(java.lang.String key,
java.lang.String value)
|
protected void |
addNamedQuery(java.lang.String name,
java.lang.String query)
|
org.exolab.castor.mapping.AccessMode |
getAccessMode()
|
java.util.Properties |
getCacheParams()
|
JDOFieldDescriptor |
getField(java.lang.String name)
Returns a JDOFieldDescriptor for the field with the name passed. |
KeyGeneratorDescriptor |
getKeyGeneratorDescriptor()
Get key generator specified for this class. |
java.util.Map |
getNamedQueries()
Get map of named query strings associated with their names. |
java.lang.String |
getTableName()
Returns the table name to which this object maps. |
protected void |
setAccessMode(org.exolab.castor.mapping.AccessMode accessMode)
|
protected void |
setKeyGeneratorDescriptor(KeyGeneratorDescriptor keyGenDesc)
Set key generator specified for this class. |
protected void |
setTableName(java.lang.String tableName)
|
java.lang.String |
toString()
|
| Methods inherited from class org.exolab.castor.mapping.loader.ClassDescriptorImpl |
addExtended, getDepends, getExtended, getExtends, getFields, getIdentities, getIdentity, getJavaClass, getMapping, setDepends, setExtends, setFields, setIdentities, setJavaClass, setMapping |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public JDOClassDescriptor()
| Method Detail |
protected void setTableName(java.lang.String tableName)
public java.lang.String getTableName()
protected void setAccessMode(org.exolab.castor.mapping.AccessMode accessMode)
public org.exolab.castor.mapping.AccessMode getAccessMode()
protected void addCacheParam(java.lang.String key,
java.lang.String value)
public java.util.Properties getCacheParams()
protected void addNamedQuery(java.lang.String name,
java.lang.String query)
public java.util.Map getNamedQueries()
protected void setKeyGeneratorDescriptor(KeyGeneratorDescriptor keyGenDesc)
keyGenDesc - Key generator descriptor.public KeyGeneratorDescriptor getKeyGeneratorDescriptor()
public JDOFieldDescriptor getField(java.lang.String name)
null
if named field does not exist.
name - Name of the field to return.
null.public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||