Class UniqueConstraint

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

public class UniqueConstraint extends Object implements ColumnConstraint
  • Constructor Details

    • UniqueConstraint

      public UniqueConstraint()
    • UniqueConstraint

      public UniqueConstraint(String constraintName)
    • UniqueConstraint

      public UniqueConstraint(String constraintName, boolean validateUnique)
  • Method Details

    • addColumns

      public UniqueConstraint addColumns(String... columns)
    • getConstraintName

      public String getConstraintName()
    • setConstraintName

      public void setConstraintName(String constraintName)
    • getColumns

      public List<String> getColumns()
    • shouldValidateUnique

      public boolean shouldValidateUnique()
    • setValidateUnique

      public void setValidateUnique(boolean validateUnique)