限定符和类型 | 字段和说明 |
---|---|
protected boolean |
checkTable |
protected int |
checkTableExistLevel |
protected java.lang.Class |
clazz |
static int |
CURRENT_LEVEL |
protected FieldColumnMapper[] |
fieldMappers |
protected DataInitJob |
job |
static java.lang.String |
MARK_STRING |
static java.lang.String |
PREFIX_NAME |
protected Table |
table |
protected java.lang.String[][] |
uniqueColumns |
构造器和说明 |
---|
ObjectTableMapper() |
ObjectTableMapper(java.lang.Class clazz,
FieldColumnMapper[] fieldMappers) |
ObjectTableMapper(java.lang.Class clazz,
FieldColumnMapper[] fieldMappers,
java.lang.String[][] uniqueColumns) |
ObjectTableMapper(java.lang.Class clazz,
FieldColumnMapper[] fieldMappers,
java.lang.String[][] uniqueColumns,
DataInitJob job) |
ObjectTableMapper(java.lang.Class clazz,
FieldColumnMapper[] fieldMappers,
java.lang.String[][] uniqueColumns,
int checkTableExistLevel) |
ObjectTableMapper(java.lang.Class clazz,
Table table,
FieldColumnMapper[] fieldMappers) |
ObjectTableMapper(java.lang.Class clazz,
Table table,
FieldColumnMapper[] fieldMappers,
int checkTableExistLevel) |
ObjectTableMapper(java.lang.Class clazz,
Table table,
FieldColumnMapper[] fieldMappers,
java.lang.String[][] uniqueColumns) |
ObjectTableMapper(java.lang.Class clazz,
Table table,
FieldColumnMapper[] fieldMappers,
java.lang.String[][] uniqueColumns,
DataInitJob job) |
ObjectTableMapper(java.lang.Class clazz,
Table table,
FieldColumnMapper[] fieldMappers,
java.lang.String[][] uniqueColumns,
int checkTableExistLevel) |
ObjectTableMapper(java.lang.Class clazz,
TableName tableName,
FieldColumnMapper[] fieldMappers,
int checkTableExistLevel) |
ObjectTableMapper(java.lang.Class clazz,
TableName tableName,
FieldColumnMapper[] fieldMappers,
java.lang.String[][] uniqueColumns) |
ObjectTableMapper(java.lang.Class clazz,
TableName tableName,
FieldColumnMapper[] fieldMappers,
java.lang.String[][] uniqueColumns,
DataInitJob job) |
ObjectTableMapper(java.lang.Class clazz,
TableName tableName,
FieldColumnMapper[] fieldMappers,
java.lang.String[][] uniqueColumns,
int checkTableExistLevel) |
ObjectTableMapper(java.lang.String prefixName,
java.lang.Class clazz,
Table table,
FieldColumnMapper[] fieldMappers,
java.lang.String[][] uniqueColumns) |
ObjectTableMapper(Table table,
java.lang.Class clazz,
FieldColumnMapper[] fieldMappers,
java.lang.String[][] uniqueColumns,
DataInitJob job) |
ObjectTableMapper(Table table,
FieldColumnMapper[] fieldMappers,
java.lang.String[][] uniqueColumns) |
限定符和类型 | 方法和说明 |
---|---|
ObjectTableMapper |
applyNoCheckTableObjectCase()
设置无需新建或删除表
|
java.lang.Object |
clone() |
int |
currentAPILevel()
当前接口的API等级,用于判断是否需要升级插件
|
java.lang.String |
findColumnNameByFieldName(java.lang.String fieldName)
根据字段名找列名
|
FieldColumnMapper |
findFCMapperByColumnName(java.lang.String columnName)
根据列名找列字段
|
FieldColumnMapper |
findFCMapperByFieldName(java.lang.String fieldName)
根据字段名找列字段
|
DataInitJob |
getDataInitJob() |
int |
getFieldColumnMapperCount()
获取总字段数
|
FieldColumnMapper[] |
getFieldColumnMappers() |
java.lang.Class |
getObjectClass() |
java.lang.String |
getPrefixName() |
FieldColumnMapper |
getPrimaryKey() |
Table |
getTable() |
UniqueKey[] |
getUniqueKeys() |
boolean |
isCheckTable()
是否需要新建删除表
|
java.lang.String |
mark4Provider()
获取当前provider的标记(可以使用类路径保证唯一)以避免provider的重复加载
|
void |
setCheckTableExistLevel(int level) |
void |
setFieldColumnMappers(FieldColumnMapper[] fieldMappers) |
void |
setObjectClass(java.lang.Class clazz) |
void |
setPrefixName(java.lang.String prefixName) |
void |
setTable(Table table) |
boolean |
shouleCheckTable()
已过时。
See isCheckTable
|
equals, hashCode
public static final java.lang.String MARK_STRING
public static final java.lang.String PREFIX_NAME
public static final int CURRENT_LEVEL
protected Table table
protected FieldColumnMapper[] fieldMappers
protected java.lang.Class clazz
protected java.lang.String[][] uniqueColumns
protected DataInitJob job
protected boolean checkTable
protected int checkTableExistLevel
public ObjectTableMapper()
public ObjectTableMapper(Table table, FieldColumnMapper[] fieldMappers, java.lang.String[][] uniqueColumns)
public ObjectTableMapper(java.lang.Class clazz, FieldColumnMapper[] fieldMappers)
public ObjectTableMapper(java.lang.Class clazz, FieldColumnMapper[] fieldMappers, java.lang.String[][] uniqueColumns)
public ObjectTableMapper(java.lang.Class clazz, TableName tableName, FieldColumnMapper[] fieldMappers, java.lang.String[][] uniqueColumns)
public ObjectTableMapper(java.lang.Class clazz, FieldColumnMapper[] fieldMappers, java.lang.String[][] uniqueColumns, DataInitJob job)
public ObjectTableMapper(Table table, java.lang.Class clazz, FieldColumnMapper[] fieldMappers, java.lang.String[][] uniqueColumns, DataInitJob job)
public ObjectTableMapper(java.lang.Class clazz, Table table, FieldColumnMapper[] fieldMappers)
public ObjectTableMapper(java.lang.Class clazz, Table table, FieldColumnMapper[] fieldMappers, java.lang.String[][] uniqueColumns)
public ObjectTableMapper(java.lang.String prefixName, java.lang.Class clazz, Table table, FieldColumnMapper[] fieldMappers, java.lang.String[][] uniqueColumns)
public ObjectTableMapper(java.lang.Class clazz, Table table, FieldColumnMapper[] fieldMappers, java.lang.String[][] uniqueColumns, DataInitJob job)
public ObjectTableMapper(java.lang.Class clazz, Table table, FieldColumnMapper[] fieldMappers, int checkTableExistLevel)
public ObjectTableMapper(java.lang.Class clazz, Table table, FieldColumnMapper[] fieldMappers, java.lang.String[][] uniqueColumns, int checkTableExistLevel)
public ObjectTableMapper(java.lang.Class clazz, TableName tableName, FieldColumnMapper[] fieldMappers, int checkTableExistLevel)
public ObjectTableMapper(java.lang.Class clazz, FieldColumnMapper[] fieldMappers, java.lang.String[][] uniqueColumns, int checkTableExistLevel)
public ObjectTableMapper(java.lang.Class clazz, TableName tableName, FieldColumnMapper[] fieldMappers, java.lang.String[][] uniqueColumns, int checkTableExistLevel)
public ObjectTableMapper(java.lang.Class clazz, TableName tableName, FieldColumnMapper[] fieldMappers, java.lang.String[][] uniqueColumns, DataInitJob job)
public int currentAPILevel()
Level
currentAPILevel
在接口中 Level
public java.lang.String mark4Provider()
Provider
mark4Provider
在接口中 Provider
mark4Provider
在类中 AbstractProvider
public java.lang.String getPrefixName()
public void setPrefixName(java.lang.String prefixName)
public void setTable(Table table)
public Table getTable()
public void setFieldColumnMappers(FieldColumnMapper[] fieldMappers)
public FieldColumnMapper[] getFieldColumnMappers()
public void setObjectClass(java.lang.Class clazz)
public java.lang.Class getObjectClass()
public int getFieldColumnMapperCount()
public DataInitJob getDataInitJob()
public void setCheckTableExistLevel(int level)
public FieldColumnMapper getPrimaryKey()
public UniqueKey[] getUniqueKeys()
public FieldColumnMapper findFCMapperByColumnName(java.lang.String columnName)
columnName
- 列名public FieldColumnMapper findFCMapperByFieldName(java.lang.String fieldName)
fieldName
- 字段名public java.lang.String findColumnNameByFieldName(java.lang.String fieldName)
fieldName
- 字段名public boolean shouleCheckTable()
public boolean isCheckTable()
public ObjectTableMapper applyNoCheckTableObjectCase()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在类中 java.lang.Object
java.lang.CloneNotSupportedException