类 AbstractColumnPojo<C extends Column>
java.lang.Object
cn.featherfly.common.db.model.AbstractColumn
cn.featherfly.common.db.model.AbstractColumnPojo<C>
- 类型参数:
C- the generic type
- 所有已实现的接口:
Column
- 直接已知子类:
ColumnModel,SimpleColumn
public abstract class AbstractColumnPojo<C extends Column> extends AbstractColumn
AbstractColumn
.-
字段概要
从类继承的字段 cn.featherfly.common.db.model.AbstractColumn
autoincrement, columnIndex, decimalDigits, defaultValue, name, nullable, primaryKey, remark, size, sqlType, table, type, typeName -
构造器概要
构造器 构造器 说明 AbstractColumnPojo() -
方法概要
修饰符和类型 方法 说明 CsetAutoincrement(boolean autoincrement)设置autoincrement.CsetColumnIndex(int columnIndex)设置columnIndex.CsetDecimalDigits(int decimalDigits)设置decimalDigits.CsetDefaultValue(java.lang.String defaultValue)设置defaultValue.CsetName(java.lang.String name)设置name.CsetNullable(boolean nullable)设置nullable.CsetPrimaryKey(boolean primaryKey)设置primaryKey.CsetRemark(java.lang.String remark)设置remark.CsetSize(int size)设置size.CsetSqlType(java.sql.SQLType sqlType)设置sqlType.CsetTable(Table table)设置table.CsetType(int type)设置type.CsetTypeName(java.lang.String typeName)设置typeName.从类继承的方法 cn.featherfly.common.db.model.AbstractColumn
equals, getColumnIndex, getDecimalDigits, getDefaultValue, getName, getRemark, getSize, getSqlType, getTable, getType, getTypeName, hashCode, isAutoincrement, isNullable, isPrimaryKey, toString从类继承的方法 java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
构造器详细资料
-
AbstractColumnPojo
public AbstractColumnPojo()
-
-
方法详细资料
-
setName
设置name.- 参数:
name- name- 返回:
- the t
-
setType
设置type.- 参数:
type- type- 返回:
- the t
-
setTypeName
设置typeName.- 参数:
typeName- typeName- 返回:
- the t
-
setSize
设置size.- 参数:
size- size- 返回:
- the t
-
setRemark
设置remark.- 参数:
remark- remark- 返回:
- the t
-
setDefaultValue
设置defaultValue.- 参数:
defaultValue- defaultValue- 返回:
- the t
-
setNullable
设置nullable.- 参数:
nullable- nullable- 返回:
- the t
-
setColumnIndex
设置columnIndex.- 参数:
columnIndex- columnIndex- 返回:
- the t
-
setPrimaryKey
设置primaryKey.- 参数:
primaryKey- primaryKey- 返回:
- the t
-
setDecimalDigits
设置decimalDigits.- 参数:
decimalDigits- decimalDigits- 返回:
- the t
-
setAutoincrement
设置autoincrement.- 参数:
autoincrement- autoincrement- 返回:
- the t
-
setSqlType
设置sqlType.- 参数:
sqlType- sqlType- 返回:
- the t
-
setTable
设置table.- 参数:
table- table- 返回:
- the c
-