public class SQLTableAlterColumn extends SQLTableAlter
| Modifier and Type | Field and Description |
|---|---|
protected SQLColumn |
column
The column that are going to be modified in the database table.
|
add| Constructor and Description |
|---|
SQLTableAlterColumn(String tableName,
boolean add)
Creates a new
SQLTableAlterColumn indicating the name of the
table to be altered and the kind of operation to realize with the
parameter add. |
SQLTableAlterColumn(String tableName,
SQLColumn column,
boolean add)
Creates a new
SQLTableAlterColumn indicating the name of the
table to be altered, the column that are going to be modified in the
database table and the kind of operation to realize with the parameter
add. |
| Modifier and Type | Method and Description |
|---|---|
SQLColumn |
getColumn()
Returns the column that are going to be modified in the database table.
|
void |
setColumn(SQLColumn column)
Sets the column to be modified in the database table.
|
isAdd, setAddgetTableNameprotected SQLColumn column
public SQLTableAlterColumn(String tableName, boolean add)
SQLTableAlterColumn indicating the name of the
table to be altered and the kind of operation to realize with the
parameter add. If it is true the operation will be ADD COLUMN and if the
parameter is false the operation will be DROP COLUMN.tableName - The name of the table.add - The value of the parameter add. Indicates add or drop.public SQLTableAlterColumn(String tableName, SQLColumn column, boolean add)
SQLTableAlterColumn indicating the name of the
table to be altered, the column that are going to be modified in the
database table and the kind of operation to realize with the parameter
add. If it is true the operation will be ADD COLUMN and if the parameter
is false the operation will be DROP COLUMN.tableName - The name of the table.column - The SQLColumn with whole definition of it.add - The value of the parameter add. Indicates add or drop.Copyright © 2016 Imatia Innovation S.L.. All rights reserved.