net.aditsu.depeche
public class MutableColumn extends Column
| Constructor and Description |
|---|
MutableColumn() |
MutableColumn(Column col)
Copy constructor
|
MutableColumn(String name,
ColumnType type)
Creates a new column
|
| Modifier and Type | Method and Description |
|---|---|
void |
setAutoIncrement(boolean autoIncrement) |
void |
setClassName(String className) |
void |
setComment(String comment) |
void |
setDecimals(int decimals) |
void |
setDefValue(String defValue) |
void |
setLabel(String label) |
void |
setName(String name) |
void |
setNullable(int nullable) |
void |
setSize(int size) |
void |
setSqlType(int sqlType) |
void |
setType(ColumnType type) |
void |
setTypeName(String typeName) |
getClassName, getColumnClass, getComment, getDecimals, getDefValue, getFKey, getLabel, getName, getNullable, getSize, getSqlType, getType, getTypeName, isAutoIncrement, isNotNull, toStringpublic MutableColumn()
public MutableColumn(String name, ColumnType type)
name - column nametype - column typepublic MutableColumn(Column col)
public void setName(String name)
public void setLabel(String label)
public void setSqlType(int sqlType)
public void setTypeName(String typeName)
public void setSize(int size)
public void setDecimals(int decimals)
public void setNullable(int nullable)
public void setComment(String comment)
public void setDefValue(String defValue)
public void setAutoIncrement(boolean autoIncrement)
public void setClassName(String className)
public void setType(ColumnType type)