org.castor.ddlgen
Class AbstractTypeMapper
java.lang.Object
org.castor.ddlgen.AbstractTypeMapper
- TypeMapper
public abstract class AbstractTypeMapper
extends java.lang.Object
AbstractTypeMapper is the base class for mapping JDBC supported type and
RDBMS data type.
The initialize(Configuration) is used to defined the mapping table in which
the configuration is handled parameters for TypeInfo. Please refer to
org.castor.ddl.typeinfo for TypeInfo definitions
$Revision: 5951 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
AbstractTypeMapper
protected AbstractTypeMapper(DDLGenConfiguration conf)
Construct an abstract TypeMapper using given configuration to get default
parameters for parameterized types.
conf
- The configuration to get default parameter values from.
add
protected final void add(TypeInfo type)
Add TypeInfo to map of known types.
type
- The TypeInfo to add.
initialize
protected abstract void initialize(DDLGenConfiguration conf)
Initialize map of known types using given configuration to get default parameters
for parameterized types.
conf
- The configuration to get default parameter values from.
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com