liquibase.statement.core
Class AddForeignKeyConstraintStatement

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

public class AddForeignKeyConstraintStatement
extends AbstractSqlStatement


Constructor Summary
AddForeignKeyConstraintStatement(String constraintName, String baseTableSchemaName, String baseTableName, String baseColumnNames, String referencedTableSchemaName, String referencedTableName, String referencedColumnNames)
           
 
Method Summary
 String getBaseColumnNames()
           
 String getBaseTableName()
           
 String getBaseTableSchemaName()
           
 String getConstraintName()
           
 String getOnDelete()
           
 String getOnUpdate()
           
 String getReferencedColumnNames()
           
 String getReferencedTableName()
           
 String getReferencedTableSchemaName()
           
 boolean getReferencesUniqueColumn()
           
 boolean isDeferrable()
           
 boolean isInitiallyDeferred()
           
 AddForeignKeyConstraintStatement setDeferrable(boolean deferrable)
           
 AddForeignKeyConstraintStatement setInitiallyDeferred(boolean initiallyDeferred)
           
 AddForeignKeyConstraintStatement setOnDelete(String deleteRule)
           
 AddForeignKeyConstraintStatement setOnUpdate(String updateRule)
           
 AddForeignKeyConstraintStatement setReferencesUniqueColumn(Boolean referencesUniqueColumn)
           
 
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

AddForeignKeyConstraintStatement

public AddForeignKeyConstraintStatement(String constraintName,
                                        String baseTableSchemaName,
                                        String baseTableName,
                                        String baseColumnNames,
                                        String referencedTableSchemaName,
                                        String referencedTableName,
                                        String referencedColumnNames)
Method Detail

getBaseTableSchemaName

public String getBaseTableSchemaName()

getBaseTableName

public String getBaseTableName()

getBaseColumnNames

public String getBaseColumnNames()

getReferencedTableSchemaName

public String getReferencedTableSchemaName()

getReferencedTableName

public String getReferencedTableName()

getReferencedColumnNames

public String getReferencedColumnNames()

getConstraintName

public String getConstraintName()

isDeferrable

public boolean isDeferrable()

getOnDelete

public String getOnDelete()

getOnUpdate

public String getOnUpdate()

setDeferrable

public AddForeignKeyConstraintStatement setDeferrable(boolean deferrable)

isInitiallyDeferred

public boolean isInitiallyDeferred()

setInitiallyDeferred

public AddForeignKeyConstraintStatement setInitiallyDeferred(boolean initiallyDeferred)

setOnUpdate

public AddForeignKeyConstraintStatement setOnUpdate(String updateRule)

setOnDelete

public AddForeignKeyConstraintStatement setOnDelete(String deleteRule)

getReferencesUniqueColumn

public boolean getReferencesUniqueColumn()

setReferencesUniqueColumn

public AddForeignKeyConstraintStatement setReferencesUniqueColumn(Boolean referencesUniqueColumn)


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