public class BooleanType extends LiquibaseDataType
PRIORITY_DATABASE, PRIORITY_DEFAULT| Constructor and Description |
|---|
BooleanType() |
| Modifier and Type | Method and Description |
|---|---|
void |
finishInitialization(String originalDefinition) |
String |
getFalseBooleanValue(Database database)
The database-specific value to use for "false" "boolean" columns.
|
String |
getTrueBooleanValue(Database database)
The database-specific value to use for "true" "boolean" columns.
|
protected boolean |
isNumericBoolean(Database database) |
String |
objectToSql(Object value,
Database database)
Returns the value object in a format to include in SQL.
|
DatabaseDataType |
toDatabaseDataType(Database database) |
addParameter, equals, getAdditionalInformation, getAliases, getMaxParameters, getMinParameters, getName, getParameters, getPriority, hashCode, isCurrentDateTimeFunction, setAdditionalInformation, sqlToObject, supports, toString, validatepublic DatabaseDataType toDatabaseDataType(Database database)
toDatabaseDataType in class LiquibaseDataTypepublic String objectToSql(Object value, Database database)
LiquibaseDataTypeobjectToSql in class LiquibaseDataTypeprotected boolean isNumericBoolean(Database database)
public String getFalseBooleanValue(Database database)
public String getTrueBooleanValue(Database database)
public void finishInitialization(String originalDefinition)
finishInitialization in class LiquibaseDataTypeCopyright © 2014 Liquibase.org. All rights reserved.