Class PrimaryKeyConstraint

java.lang.Object
liquibase.statement.PrimaryKeyConstraint
All Implemented Interfaces:
ColumnConstraint

public class PrimaryKeyConstraint extends Object implements ColumnConstraint
  • Constructor Details

    • PrimaryKeyConstraint

      public PrimaryKeyConstraint()
    • PrimaryKeyConstraint

      public PrimaryKeyConstraint(String constraintName)
    • PrimaryKeyConstraint

      public PrimaryKeyConstraint(String constraintName, boolean validatePrimaryKey)
  • Method Details

    • getConstraintName

      public String getConstraintName()
    • getTablespace

      public String getTablespace()
    • setTablespace

      public PrimaryKeyConstraint setTablespace(String tablespace)
    • getColumns

      public List<String> getColumns()
    • addColumns

      public PrimaryKeyConstraint addColumns(String... columns)
    • shouldValidatePrimaryKey

      public boolean shouldValidatePrimaryKey()
    • setValidatePrimaryKey

      public void setValidatePrimaryKey(boolean validatePrimaryKey)
    • isInitiallyDeferred

      public boolean isInitiallyDeferred()
    • setInitiallyDeferred

      public PrimaryKeyConstraint setInitiallyDeferred(boolean initiallyDeferred)
    • isDeferrable

      public boolean isDeferrable()
    • setDeferrable

      public PrimaryKeyConstraint setDeferrable(boolean deferrable)