Package liquibase.statement
Class NotNullConstraint
- java.lang.Object
-
- liquibase.statement.NotNullConstraint
-
- All Implemented Interfaces:
ColumnConstraint
public class NotNullConstraint extends Object implements ColumnConstraint
-
-
Constructor Summary
Constructors Constructor Description NotNullConstraint()
NotNullConstraint(String columnName)
NotNullConstraint(String columnName, boolean validateNullable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getColumnName()
String
getConstraintName()
NotNullConstraint
setColumnName(String columnName)
NotNullConstraint
setConstraintName(String name)
NotNullConstraint
setValidateNullable(boolean validateNullable)
boolean
shouldValidateNullable()
-
-
-
Method Detail
-
getColumnName
public String getColumnName()
-
setColumnName
public NotNullConstraint setColumnName(String columnName)
-
getConstraintName
public String getConstraintName()
-
setConstraintName
public NotNullConstraint setConstraintName(String name)
-
shouldValidateNullable
public boolean shouldValidateNullable()
-
setValidateNullable
public NotNullConstraint setValidateNullable(boolean validateNullable)
-
-