|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.exolab.castor.mapping.loader.AbstractFieldDescriptor
org.exolab.castor.mapping.loader.FieldDescriptorImpl
org.exolab.castor.jdo.engine.JDOFieldDescriptorImpl
JDO field descriptor. Wraps FieldDescriptorImpl and adds
SQL-related information, type conversion, and set/get for JDBC.
| Constructor Summary | |
JDOFieldDescriptorImpl(java.lang.String fieldName,
org.exolab.castor.mapping.loader.TypeInfo typeInfo,
org.exolab.castor.mapping.FieldHandler handler,
boolean trans,
java.lang.String[] sqlName,
int[] sqlType,
java.lang.String manyTable,
java.lang.String[] manyKey,
boolean dirtyCheck,
boolean readonly)
Construct a new field descriptor for the specified field. |
|
| Method Summary | |
org.exolab.castor.mapping.TypeConvertor |
getConvertor()
Returns the convertor from the field type to an external type. |
java.lang.String[] |
getManyKey()
|
java.lang.String |
getManyTable()
|
java.lang.String[] |
getSQLName()
Returns the SQL name of this field. |
int[] |
getSQLType()
Returns the SQL type of this field. |
boolean |
isDirtyCheck()
Returns true if dirty checking is required for this field. |
boolean |
isReadonly()
|
java.lang.String |
toString()
|
| Methods inherited from class org.exolab.castor.mapping.loader.AbstractFieldDescriptor |
getClassDescriptor, getContainingClassDescriptor, getFieldName, getFieldType, getHandler, isIdentity, isImmutable, isMultivalued, isRequired, isTransient, setClassDescriptor, setContainingClassDescriptor, setFieldName, setFieldType, setHandler, setIdentity, setImmutable, setMultivalued, setRequired, setTransient |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.exolab.castor.mapping.FieldDescriptor |
getClassDescriptor, getContainingClassDescriptor, getFieldName, getFieldType, getHandler, isImmutable, isMultivalued, isRequired, isTransient, setContainingClassDescriptor |
| Constructor Detail |
public JDOFieldDescriptorImpl(java.lang.String fieldName,
org.exolab.castor.mapping.loader.TypeInfo typeInfo,
org.exolab.castor.mapping.FieldHandler handler,
boolean trans,
java.lang.String[] sqlName,
int[] sqlType,
java.lang.String manyTable,
java.lang.String[] manyKey,
boolean dirtyCheck,
boolean readonly)
fieldName - The field nametypeInfo - The field type informationhandler - The field handler (may be null)trans - True if the field is transient| Method Detail |
public org.exolab.castor.mapping.TypeConvertor getConvertor()
JDOFieldDescriptor
getConvertor in interface JDOFieldDescriptor{@inheritDoc}public java.lang.String[] getSQLName()
JDOFieldDescriptor
getSQLName in interface JDOFieldDescriptor{@inheritDoc}public int[] getSQLType()
JDOFieldDescriptor
getSQLType in interface JDOFieldDescriptor{@inheritDoc}public java.lang.String getManyTable()
getManyTable in interface JDOFieldDescriptor{@inheritDoc}public java.lang.String[] getManyKey()
getManyKey in interface JDOFieldDescriptor{@inheritDoc}public boolean isDirtyCheck()
JDOFieldDescriptor
isDirtyCheck in interface JDOFieldDescriptor{@inheritDoc}public boolean isReadonly()
isReadonly in interface JDOFieldDescriptor{@inheritDoc}public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||