liquibase.statement.core
Class AddColumnStatement

java.lang.Object
  extended by liquibase.statement.AbstractSqlStatement
      extended by liquibase.statement.core.AddColumnStatement
All Implemented Interfaces:
SqlStatement

public class AddColumnStatement
extends AbstractSqlStatement


Constructor Summary
AddColumnStatement(String schemaName, String tableName, String columnName, String columnType, Object defaultValue, ColumnConstraint... constraints)
           
 
Method Summary
 String getColumnName()
           
 String getColumnType()
           
 Set<ColumnConstraint> getConstraints()
           
 Object getDefaultValue()
           
 String getSchemaName()
           
 String getTableName()
           
 boolean isAutoIncrement()
           
 boolean isNullable()
           
 boolean isPrimaryKey()
           
 boolean isUnique()
           
 
Methods inherited from class liquibase.statement.AbstractSqlStatement
skipOnUnsupported
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddColumnStatement

public AddColumnStatement(String schemaName,
                          String tableName,
                          String columnName,
                          String columnType,
                          Object defaultValue,
                          ColumnConstraint... constraints)
Method Detail

getSchemaName

public String getSchemaName()

getTableName

public String getTableName()

getColumnName

public String getColumnName()

getColumnType

public String getColumnType()

getConstraints

public Set<ColumnConstraint> getConstraints()

isAutoIncrement

public boolean isAutoIncrement()

isPrimaryKey

public boolean isPrimaryKey()

isNullable

public boolean isNullable()

isUnique

public boolean isUnique()

getDefaultValue

public Object getDefaultValue()


Copyright © 2004-2011 Liquibase.org. All Rights Reserved.