| java.lang.Object org.apache.commons.sql.model.Column
Column | public class Column (Code) | | |
Constructor Summary | |
public | Column() | public | Column(String name, int typeCode, int size, boolean required, boolean primaryKey, boolean autoIncrement, String defaultValue) | public | Column(String name, String type, int size, boolean required, boolean primaryKey, boolean autoIncrement, String defaultValue) | public | Column(String name, int typeCode, int size, boolean required, boolean primaryKey, boolean autoIncrement, String defaultValue, int scale) |
Column | public Column(String name, int typeCode, int size, boolean required, boolean primaryKey, boolean autoIncrement, String defaultValue)(Code) | | |
Column | public Column(String name, String type, int size, boolean required, boolean primaryKey, boolean autoIncrement, String defaultValue)(Code) | | |
Column | public Column(String name, int typeCode, int size, boolean required, boolean primaryKey, boolean autoIncrement, String defaultValue, int scale)(Code) | | |
getOrdinalPosition | public int getOrdinalPosition()(Code) | | |
getPrecisionRadix | public int getPrecisionRadix()(Code) | | |
getScale | public int getScale()(Code) | | |
getSize | public int getSize()(Code) | | |
getTypeCode | public int getTypeCode()(Code) | | |
isAutoIncrement | public boolean isAutoIncrement()(Code) | | |
isPrimaryKey | public boolean isPrimaryKey()(Code) | | |
isRequired | public boolean isRequired()(Code) | | |
setAutoIncrement | public void setAutoIncrement(boolean autoIncrement)(Code) | | |
setDefaultValue | public void setDefaultValue(String defaultValue)(Code) | | |
setOrdinalPosition | public void setOrdinalPosition(int ordinalPosition)(Code) | | |
setPrecisionRadix | public void setPrecisionRadix(int precisionRadix)(Code) | | |
setPrimaryKey | public void setPrimaryKey(boolean primaryKey)(Code) | | |
setRequired | public void setRequired(boolean required)(Code) | | |
setScale | public void setScale(int scale)(Code) | | |
setSize | public void setSize(int size)(Code) | | |
setType | public void setType(String type)(Code) | | Set this columns type by name
|
setTypeCode | public void setTypeCode(int typeCode)(Code) | | |
|
|