liquibase.datatype
Class DatabaseDataType

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

public class DatabaseDataType
extends Object


Constructor Summary
DatabaseDataType(String type)
           
DatabaseDataType(String name, Object... parameters)
           
 
Method Summary
 void addAdditionalInformation(String additionalInformation)
           
 String getType()
           
 boolean isAutoIncrement()
          Mainly for postgres, check if the column is a serial data type.
 void setType(String type)
           
 String toSql()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DatabaseDataType

public DatabaseDataType(String type)

DatabaseDataType

public DatabaseDataType(String name,
                        Object... parameters)
Method Detail

addAdditionalInformation

public void addAdditionalInformation(String additionalInformation)

isAutoIncrement

public boolean isAutoIncrement()
Mainly for postgres, check if the column is a serial data type.

Returns:
Whether the type is serial

toSql

public String toSql()

toString

public String toString()
Overrides:
toString in class Object

getType

public String getType()

setType

public void setType(String type)


Copyright © 2016 Liquibase.org. All rights reserved.