org.codehaus.modello.generator.database.model
public class Column extends Object
Constructor Summary | |
---|---|
Column() | |
Column(String name, int typeCode, int size, boolean required, boolean primaryKey, boolean autoIncrement, String defaultValue) | |
Column(String name, String type, int size, boolean required, boolean primaryKey, boolean autoIncrement, String defaultValue) | |
Column(String name, int typeCode, int size, boolean required, boolean primaryKey, boolean autoIncrement, String defaultValue, int scale) |
Method Summary | |
---|---|
String | getDefaultValue() |
String | getName() |
int | getOrdinalPosition() |
int | getPrecisionRadix() |
int | getScale() |
int | getSize() |
String | getType() |
int | getTypeCode() |
boolean | isAutoIncrement() |
boolean | isPrimaryKey() |
boolean | isRequired() |
void | setAutoIncrement(boolean autoIncrement) |
void | setDefaultValue(String defaultValue) |
void | setName(String name) |
void | setOrdinalPosition(int ordinalPosition) |
void | setPrecisionRadix(int precisionRadix) |
void | setPrimaryKey(boolean primaryKey) |
void | setRequired(boolean required) |
void | setScale(int scale) |
void | setSize(int size) |
void | setType(String type)
Set this columns type by name |
void | setTypeCode(int typeCode) |
String | toString() |
String | toStringAll() |