org.exolab.castor.jdo.engine

Class JDOFieldDescriptorImpl

public final class JDOFieldDescriptorImpl extends FieldDescriptorImpl implements JDOFieldDescriptor

JDO field descriptor. Wraps FieldDescriptorImpl and adds SQL-related information, type conversion, and set/get for JDBC.

Version: $Revision: 6071 $ $Date: 2005-12-06 14:55:28 -0700 (Tue, 06 Dec 2005) $

Author: Assaf Arkin Ralf Joachim

Constructor Summary
JDOFieldDescriptorImpl(String fieldName, TypeInfo typeInfo, FieldHandler handler, boolean trans, String[] sqlName, int[] sqlType, String manyTable, String[] manyKey, boolean dirtyCheck, boolean readonly)
Construct a new field descriptor for the specified field.
Method Summary
TypeConvertorgetConvertor()
StringgetConvertorParam()
String[]getManyKey()
StringgetManyTable()
String[]getSQLName()
int[]getSQLType()
booleanisDirtyCheck()
booleanisReadonly()
StringtoString()

Constructor Detail

JDOFieldDescriptorImpl

public JDOFieldDescriptorImpl(String fieldName, TypeInfo typeInfo, FieldHandler handler, boolean trans, String[] sqlName, int[] sqlType, String manyTable, String[] manyKey, boolean dirtyCheck, boolean readonly)
Construct a new field descriptor for the specified field.

Parameters: fieldName The field name typeInfo The field type information handler The field handler (may be null) trans True if the field is transient

Method Detail

getConvertor

public TypeConvertor getConvertor()

See Also: {@inheritDoc }

getConvertorParam

public String getConvertorParam()

See Also: {@inheritDoc }

getManyKey

public String[] getManyKey()

See Also: {@inheritDoc }

getManyTable

public String getManyTable()

See Also: {@inheritDoc }

getSQLName

public String[] getSQLName()

See Also: {@inheritDoc }

getSQLType

public int[] getSQLType()

See Also: {@inheritDoc }

isDirtyCheck

public boolean isDirtyCheck()

See Also: {@inheritDoc }

isReadonly

public boolean isReadonly()

See Also: {@inheritDoc }

toString

public String toString()
Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com