Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
NotNullConstraint |
|
| 1.0;1 |
1 | package liquibase.statement; | |
2 | ||
3 | public class NotNullConstraint implements ColumnConstraint { | |
4 | private String columnName; | |
5 | ||
6 | 90 | public NotNullConstraint() { |
7 | 90 | } |
8 | ||
9 | 3 | public NotNullConstraint(String columnName) { |
10 | 3 | setColumnName(columnName); |
11 | 3 | } |
12 | ||
13 | public String getColumnName() { | |
14 | 2 | return columnName; |
15 | } | |
16 | ||
17 | public NotNullConstraint setColumnName(String columnName) { | |
18 | 4 | this.columnName = columnName; |
19 | 4 | return this; |
20 | } | |
21 | } |