liquibase.database.structure.type
Class BooleanType

java.lang.Object
  extended by liquibase.database.structure.type.DataType
      extended by liquibase.database.structure.type.BooleanType
Direct Known Subclasses:
BooleanType.NumericBooleanType

public class BooleanType
extends DataType


Nested Class Summary
static class BooleanType.NumericBooleanType
           
 
Constructor Summary
BooleanType()
           
BooleanType(String dataTypeName)
           
 
Method Summary
 String convertObjectToString(Object value, Database database)
           
 String getFalseBooleanValue()
          The database-specific value to use for "false" "boolean" columns.
 String getTrueBooleanValue()
          The database-specific value to use for "true" "boolean" columns.
 
Methods inherited from class liquibase.database.structure.type.DataType
equals, getAdditionalInformation, getDataTypeName, getFirstParameter, getMaxParameters, getMinParameters, getSecondParameter, getSupportsPrecision, getUnit, hashCode, setAdditionalInformation, setDataTypeName, setFirstParameter, setSecondParameter, setUnit, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BooleanType

public BooleanType()

BooleanType

public BooleanType(String dataTypeName)
Method Detail

convertObjectToString

public String convertObjectToString(Object value,
                                    Database database)
Overrides:
convertObjectToString in class DataType

getFalseBooleanValue

public String getFalseBooleanValue()
The database-specific value to use for "false" "boolean" columns.


getTrueBooleanValue

public String getTrueBooleanValue()
The database-specific value to use for "true" "boolean" columns.



Copyright © 2012 Liquibase.org. All Rights Reserved.