类 AbstractTablePojo<T extends AbstractTablePojo<T,C>,C extends AbstractColumnPojo<C>>
java.lang.Object
cn.featherfly.common.db.model.AbstractTable<C>
cn.featherfly.common.db.model.AbstractTablePojo<T,C>
- 类型参数:
T- the generic typeC- the generic type
- 所有已实现的接口:
Table
- 直接已知子类:
SimpleTable,TableModel
public abstract class AbstractTablePojo<T extends AbstractTablePojo<T,C>,C extends AbstractColumnPojo<C>> extends AbstractTable<C>
AbstractTable
.-
字段概要
从类继承的字段 cn.featherfly.common.db.model.AbstractTable
catalog, columnMap, indexMap, name, primaryColumns, remark, schema, type -
构造器概要
构造器 构造器 说明 AbstractTablePojo()Instantiates a new table model. -
方法概要
修饰符和类型 方法 说明 TaddColumn(C column)添加列TaddColumn(C... columns)添加列元数据.TaddColumn(java.util.Collection<C> columns)添加列元数据.TaddIndex(cn.featherfly.common.repository.Index index)添加索引.TaddIndex(cn.featherfly.common.repository.Index... indexs)添加索引.TaddIndex(java.util.Collection<cn.featherfly.common.repository.Index> indexs)添加索引.TsetCatalog(java.lang.String catalog)设置catalog.TsetName(java.lang.String name)设置name.TsetRemark(java.lang.String remark)设置remark.TsetSchema(java.lang.String schema)设置schema.TsetType(java.lang.String type)设置type.从类继承的方法 cn.featherfly.common.db.model.AbstractTable
add, add, equals, getCatalog, getColumn, getColumnMap, getColumns, getIndex, getIndexMap, getIndexs, getName, getPrimaryColumns, getRemark, getSchema, getType, hasColumn, hashCode, hasIndex, toString从类继承的方法 java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
构造器详细资料
-
AbstractTablePojo
public AbstractTablePojo()Instantiates a new table model.
-
-
方法详细资料
-
addColumn
添加列
.- 参数:
column- column- 返回:
- the table model
-
addColumn
添加列元数据.
- 参数:
columns- 列元数据对象数组- 返回:
- the table model
-
addColumn
添加列元数据.
- 参数:
columns- 列元数据对象集合- 返回:
- the table model
-
addIndex
添加索引.- 参数:
index- 索引- 返回:
- the t
-
addIndex
添加索引.- 参数:
indexs- 索引对象数组- 返回:
- the t
-
addIndex
添加索引.- 参数:
indexs- 索引集合- 返回:
- the t
-
setType
设置type.- 参数:
type- type- 返回:
- the table model
-
setName
设置name.- 参数:
name- name- 返回:
- the table model
-
setRemark
设置remark.- 参数:
remark- remark- 返回:
- the table model
-
setCatalog
设置catalog.- 参数:
catalog- catalog- 返回:
- the table model
-
setSchema
设置schema.- 参数:
schema- schema- 返回:
- the table model
-