org.exolab.castor.jdo.engine
Class SQLEngine.ColumnInfo

java.lang.Object
  extended by org.exolab.castor.jdo.engine.SQLEngine.ColumnInfo
All Implemented Interfaces:
Persistence.ColumnInfo
Enclosing class:
SQLEngine

static final class SQLEngine.ColumnInfo
extends java.lang.Object
implements Persistence.ColumnInfo


Field Summary
(package private)  TypeConvertor convertFrom
          TypeConvertor to use when converting from the SQLType of this column.
(package private)  java.lang.String convertParam
          Type conversion parameters
(package private)  TypeConvertor convertTo
          TypeConvertor to use when converting to the SQLType of this column.
(package private)  java.lang.String name
          Name of the column
(package private)  int sqlType
          SQL type of teh coplumn
 
Constructor Summary
SQLEngine.ColumnInfo(java.lang.String name, int type, TypeConvertor convertTo, TypeConvertor convertFrom, java.lang.String convertParam)
           
 
Method Summary
 TypeConvertor getConvertFrom()
           
 java.lang.String getConvertParam()
           
 TypeConvertor getConvertTo()
           
 java.lang.String getName()
           
 int getSqlType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

final java.lang.String name
Name of the column


sqlType

final int sqlType
SQL type of teh coplumn


convertTo

final TypeConvertor convertTo
TypeConvertor to use when converting to the SQLType of this column.


convertFrom

final TypeConvertor convertFrom
TypeConvertor to use when converting from the SQLType of this column.


convertParam

final java.lang.String convertParam
Type conversion parameters

Constructor Detail

SQLEngine.ColumnInfo

SQLEngine.ColumnInfo(java.lang.String name,
                     int type,
                     TypeConvertor convertTo,
                     TypeConvertor convertFrom,
                     java.lang.String convertParam)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface Persistence.ColumnInfo

getSqlType

public int getSqlType()
Specified by:
getSqlType in interface Persistence.ColumnInfo

getConvertTo

public TypeConvertor getConvertTo()
Specified by:
getConvertTo in interface Persistence.ColumnInfo

getConvertFrom

public TypeConvertor getConvertFrom()
Specified by:
getConvertFrom in interface Persistence.ColumnInfo

getConvertParam

public java.lang.String getConvertParam()
Specified by:
getConvertParam in interface Persistence.ColumnInfo


Intalio Inc. (C) 1999-2004. All rights reserved http://www.intalio.com