liquibase.database.typeconversion.core
Class DB2TypeConverter

java.lang.Object
  extended by liquibase.database.typeconversion.core.AbstractTypeConverter
      extended by liquibase.database.typeconversion.core.DB2TypeConverter
All Implemented Interfaces:
TypeConverter, PrioritizedService

public class DB2TypeConverter
extends AbstractTypeConverter


Field Summary
 
Fields inherited from interface liquibase.servicelocator.PrioritizedService
PRIORITY_DATABASE, PRIORITY_DEFAULT
 
Constructor Summary
DB2TypeConverter()
           
 
Method Summary
 Object convertDatabaseValueToObject(Object defaultValue, int dataType, int columnSize, int decimalDigits, Database database)
           
 BooleanType getBooleanType()
           
 CurrencyType getCurrencyType()
           
 DateTimeType getDateTimeType()
           
 NumberType getNumberType()
           
 int getPriority()
           
 boolean supports(Database database)
           
 
Methods inherited from class liquibase.database.typeconversion.core.AbstractTypeConverter
addPrecisionToType, convertToCorrectObjectType, convertToDatabaseTypeString, getBigIntType, getBlobType, getCharType, getClobType, getDataType, getDataType, getDataType, getDataType, getDateType, getDoubleType, getFloatType, getIntType, getLongBlobType, getNVarcharType, getSmallIntType, getTextType, getTimeType, getTinyIntType, getUUIDType, getVarcharType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DB2TypeConverter

public DB2TypeConverter()
Method Detail

getPriority

public int getPriority()

supports

public boolean supports(Database database)

convertDatabaseValueToObject

public Object convertDatabaseValueToObject(Object defaultValue,
                                           int dataType,
                                           int columnSize,
                                           int decimalDigits,
                                           Database database)
                                    throws ParseException
Specified by:
convertDatabaseValueToObject in interface TypeConverter
Overrides:
convertDatabaseValueToObject in class AbstractTypeConverter
Throws:
ParseException

getBooleanType

public BooleanType getBooleanType()
Specified by:
getBooleanType in interface TypeConverter
Overrides:
getBooleanType in class AbstractTypeConverter

getCurrencyType

public CurrencyType getCurrencyType()
Specified by:
getCurrencyType in interface TypeConverter
Overrides:
getCurrencyType in class AbstractTypeConverter

getDateTimeType

public DateTimeType getDateTimeType()
Specified by:
getDateTimeType in interface TypeConverter
Overrides:
getDateTimeType in class AbstractTypeConverter

getNumberType

public NumberType getNumberType()
Overrides:
getNumberType in class AbstractTypeConverter


Copyright © 2012 Liquibase.org. All Rights Reserved.