01: package liquibase.database.sql;
02:
03: public class NotNullConstraint implements ColumnConstraint {
04: private String columnName;
05:
06: public NotNullConstraint() {
07: }
08:
09: public NotNullConstraint(String columnName) {
10: setColumnName(columnName);
11: }
12:
13: public String getColumnName() {
14: return columnName;
15: }
16:
17: public NotNullConstraint setColumnName(String columnName) {
18: this.columnName = columnName;
19: return this;
20: }
21: }
|