|
||||||||
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
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).
Field Summary |
---|
Fields inherited from class org.exolab.castor.mapping.loader.ClassDescriptorImpl |
---|
_fields, _identities |
Constructor Summary | |
---|---|
JDOClassDescriptor(ClassDescriptor clsDesc,
java.lang.String tableName,
KeyGeneratorDescriptor keyGenDesc,
java.lang.String cacheType,
int cacheParam)
|
Method Summary | |
---|---|
int |
getCacheParam()
Returns the preferred mechanism for caching instance of this class |
java.lang.String |
getCacheType()
Returns the preferred mechanism for caching instance of this class |
ClassDescriptor |
getDepends()
|
JDOFieldDescriptor |
getField(java.lang.String name)
Returns a JDOFieldDescriptor for the field with the name passed. |
java.lang.String[] |
getIdentityColumnNames()
|
KeyGeneratorDescriptor |
getKeyGeneratorDescriptor()
Returns the key generator specified for this class. |
java.lang.String |
getTableName()
Returns the table name to which this object maps. |
java.lang.String |
toString()
|
Methods inherited from class org.exolab.castor.mapping.loader.ClassDescriptorImpl |
---|
addExtendedBy, checkValidity, getAccessMode, getExtendedBy, getExtends, getFields, getIdentities, getIdentity, getJavaClass, getMapping, isExtended, isExtending, setMapping |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JDOClassDescriptor(ClassDescriptor clsDesc, java.lang.String tableName, KeyGeneratorDescriptor keyGenDesc, java.lang.String cacheType, int cacheParam) throws MappingException
MappingException
Method Detail |
---|
public java.lang.String getTableName()
public ClassDescriptor getDepends()
getDepends
in class ClassDescriptorImpl
public java.lang.String getCacheType()
public int getCacheParam()
public JDOFieldDescriptor getField(java.lang.String name)
name
- The name of the field to return
public KeyGeneratorDescriptor getKeyGeneratorDescriptor()
public java.lang.String[] getIdentityColumnNames()
public java.lang.String toString()
toString
in class ClassDescriptorImpl
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |