liquibase.datatype
Class DataTypeFactory

java.lang.Object
  extended by liquibase.datatype.DataTypeFactory

public class DataTypeFactory
extends Object


Constructor Summary
protected DataTypeFactory()
           
 
Method Summary
 LiquibaseDataType from(DatabaseDataType type)
           
 LiquibaseDataType from(DataType type)
           
 LiquibaseDataType fromDescription(String dataTypeDefinition)
           
 LiquibaseDataType fromObject(Object object, Database database)
           
 String getFalseBooleanValue(Database database)
           
static DataTypeFactory getInstance()
           
 Map<String,SortedSet<Class<? extends LiquibaseDataType>>> getRegistry()
           
 String getTrueBooleanValue(Database database)
           
 void register(Class<? extends LiquibaseDataType> dataTypeClass)
           
static void reset()
           
 void unregister(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataTypeFactory

protected DataTypeFactory()
Method Detail

getInstance

public static DataTypeFactory getInstance()

reset

public static void reset()

register

public void register(Class<? extends LiquibaseDataType> dataTypeClass)

unregister

public void unregister(String name)

getRegistry

public Map<String,SortedSet<Class<? extends LiquibaseDataType>>> getRegistry()

fromDescription

public LiquibaseDataType fromDescription(String dataTypeDefinition)

fromObject

public LiquibaseDataType fromObject(Object object,
                                    Database database)

from

public LiquibaseDataType from(DataType type)

from

public LiquibaseDataType from(DatabaseDataType type)

getTrueBooleanValue

public String getTrueBooleanValue(Database database)

getFalseBooleanValue

public String getFalseBooleanValue(Database database)


Copyright © 2014 Liquibase.org. All Rights Reserved.