org.exolab.castor.jdo.engine

Class JDOFieldDescriptor

public class JDOFieldDescriptor extends FieldDescriptorImpl

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

Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:08:17 $

Author: Assaf Arkin

Constructor Summary
JDOFieldDescriptor(FieldDescriptorImpl fieldDesc, String[] sqlName, int[] sqlType, boolean dirtyCheck, String manyTable, String[] manyKey, boolean readonly)
Construct a new field descriptor for the specified field.
Method Summary
String[]getManyKey()
StringgetManyTable()
String[]getSQLName()
Returns the SQL name of this field.
int[]getSQLType()
Returns the SQL type of this field.
booleanisDirtyCheck()
Returns true if dirty checking is required for this field.
booleanisReadonly()
StringtoString()

Constructor Detail

JDOFieldDescriptor

public JDOFieldDescriptor(FieldDescriptorImpl fieldDesc, String[] sqlName, int[] sqlType, boolean dirtyCheck, String manyTable, String[] manyKey, boolean readonly)
Construct a new field descriptor for the specified field. This is a JDO field descriptor wrapping a field descriptor and adding JDO related properties and methods.

Parameters: fieldDesc The field descriptor

Throws: MappingException Invalid mapping information

Method Detail

getManyKey

public String[] getManyKey()

getManyTable

public String getManyTable()

getSQLName

public String[] getSQLName()
Returns the SQL name of this field.

Returns: The SQL name of this field

getSQLType

public int[] getSQLType()
Returns the SQL type of this field.

Returns: The SQL type of this field

isDirtyCheck

public boolean isDirtyCheck()
Returns true if dirty checking is required for this field.

Returns: True if dirty checking required

isReadonly

public boolean isReadonly()

toString

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