liquibase.datatype.core
Class MediumIntType

java.lang.Object
  extended by liquibase.datatype.LiquibaseDataType
      extended by liquibase.datatype.core.MediumIntType
All Implemented Interfaces:
PrioritizedService

public class MediumIntType
extends LiquibaseDataType


Field Summary
 
Fields inherited from interface liquibase.servicelocator.PrioritizedService
COMPARATOR, PRIORITY_DATABASE, PRIORITY_DEFAULT
 
Constructor Summary
MediumIntType()
           
 
Method Summary
 boolean isAutoIncrement()
           
 String objectToSql(Object value, Database database)
          Returns the value object in a format to include in SQL.
 void setAutoIncrement(boolean autoIncrement)
           
 DatabaseDataType toDatabaseDataType(Database database)
           
 
Methods inherited from class liquibase.datatype.LiquibaseDataType
addParameter, equals, finishInitialization, formatNumber, functionToSql, getAdditionalInformation, getAliases, getMaxParameters, getMinParameters, getName, getParameters, getPriority, getRawDefinition, hashCode, isCurrentDateTimeFunction, numberToSql, otherToSql, setAdditionalInformation, sqlToObject, supports, toString, validate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MediumIntType

public MediumIntType()
Method Detail

isAutoIncrement

public boolean isAutoIncrement()

setAutoIncrement

public void setAutoIncrement(boolean autoIncrement)

toDatabaseDataType

public DatabaseDataType toDatabaseDataType(Database database)
Overrides:
toDatabaseDataType in class LiquibaseDataType

objectToSql

public String objectToSql(Object value,
                          Database database)
Description copied from class: LiquibaseDataType
Returns the value object in a format to include in SQL. Quote if necessary.

Overrides:
objectToSql in class LiquibaseDataType


Copyright © 2016 Liquibase.org. All rights reserved.