View Javadoc

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              boolean nullable) {
14          this.schemaName = schemaName;
15          this.tableName = tableName;
16          this.columnName = columnName;
17          this.columnDataType = columnDataType;
18          this.nullable = nullable;
19      }
20  
21      public String getSchemaName() {
22          return schemaName;
23      }
24  
25      public String getTableName() {
26          return tableName;
27      }
28  
29      public String getColumnName() {
30          return columnName;
31      }
32  
33      public String getColumnDataType() {
34          return columnDataType;
35      }
36  
37      public boolean isNullable() {
38          return nullable;
39      }
40  }