1 | |
package liquibase.statement.core; |
2 | |
|
3 | |
import liquibase.statement.AbstractSqlStatement; |
4 | |
|
5 | |
public class SetNullableStatement extends AbstractSqlStatement { |
6 | |
private String schemaName; |
7 | |
private String tableName; |
8 | |
private String columnName; |
9 | |
private String columnDataType; |
10 | |
private boolean nullable; |
11 | |
|
12 | |
public SetNullableStatement(String schemaName, String tableName, String columnName, String columnDataType, |
13 | 149 | boolean nullable) { |
14 | 149 | this.schemaName = schemaName; |
15 | 149 | this.tableName = tableName; |
16 | 149 | this.columnName = columnName; |
17 | 149 | this.columnDataType = columnDataType; |
18 | 149 | this.nullable = nullable; |
19 | 149 | } |
20 | |
|
21 | |
public String getSchemaName() { |
22 | 1 | return schemaName; |
23 | |
} |
24 | |
|
25 | |
public String getTableName() { |
26 | 43 | return tableName; |
27 | |
} |
28 | |
|
29 | |
public String getColumnName() { |
30 | 43 | return columnName; |
31 | |
} |
32 | |
|
33 | |
public String getColumnDataType() { |
34 | 13 | return columnDataType; |
35 | |
} |
36 | |
|
37 | |
public boolean isNullable() { |
38 | 1 | return nullable; |
39 | |
} |
40 | |
} |