Package liquibase.statement
Class PrimaryKeyConstraint
java.lang.Object
liquibase.statement.PrimaryKeyConstraint
- All Implemented Interfaces:
ColumnConstraint
-
Constructor Summary
ConstructorDescriptionPrimaryKeyConstraint
(String constraintName) PrimaryKeyConstraint
(String constraintName, boolean validatePrimaryKey) -
Method Summary
Modifier and TypeMethodDescriptionaddColumns
(String... columns) boolean
boolean
setDeferrable
(boolean deferrable) setInitiallyDeferred
(boolean initiallyDeferred) setTablespace
(String tablespace) void
setValidatePrimaryKey
(boolean validatePrimaryKey) boolean
-
Constructor Details
-
PrimaryKeyConstraint
public PrimaryKeyConstraint() -
PrimaryKeyConstraint
-
PrimaryKeyConstraint
-
-
Method Details
-
getConstraintName
-
getTablespace
-
setTablespace
-
getColumns
-
addColumns
-
shouldValidatePrimaryKey
public boolean shouldValidatePrimaryKey() -
setValidatePrimaryKey
public void setValidatePrimaryKey(boolean validatePrimaryKey) -
isInitiallyDeferred
public boolean isInitiallyDeferred() -
setInitiallyDeferred
-
isDeferrable
public boolean isDeferrable() -
setDeferrable
-