public final class JDOFieldDescriptorImpl extends FieldDescriptorImpl implements JDOFieldDescriptor
FieldDescriptorImpl and adds
SQL-related information, type conversion, and set/get for JDBC.| Constructor and Description |
|---|
JDOFieldDescriptorImpl(java.lang.String fieldName,
TypeInfo typeInfo,
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.
|
| Modifier and Type | Method and Description |
|---|---|
TypeConvertor |
getConvertor()
Returns the convertor from the field type to an external type.
|
java.lang.String |
getConvertorParam()
Returns the convertor parameter.
|
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() |
getClassDescriptor, getContainingClassDescriptor, getFieldName, getFieldType, getHandler, isImmutable, isMultivalued, isRequired, isTransient, setClassDescriptor, setContainingClassDescriptor, setFieldName, setFieldType, setHandler, setImmutable, setMultivalued, setRequired, setTransientclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetClassDescriptor, getContainingClassDescriptor, getFieldName, getFieldType, getHandler, isImmutable, isMultivalued, isRequired, isTransient, setContainingClassDescriptorpublic JDOFieldDescriptorImpl(java.lang.String fieldName,
TypeInfo typeInfo,
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 transientpublic TypeConvertor getConvertor()
JDOFieldDescriptorgetConvertor in interface JDOFieldDescriptor{@inheritDoc}public java.lang.String getConvertorParam()
JDOFieldDescriptorgetConvertorParam in interface JDOFieldDescriptor{@inheritDoc}public java.lang.String[] getSQLName()
JDOFieldDescriptorgetSQLName in interface JDOFieldDescriptor{@inheritDoc}public int[] getSQLType()
JDOFieldDescriptorgetSQLType 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()
JDOFieldDescriptorisDirtyCheck in interface JDOFieldDescriptor{@inheritDoc}public boolean isReadonly()
isReadonly in interface JDOFieldDescriptor{@inheritDoc}public java.lang.String toString()
toString in class FieldDescriptorImplIntalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com