public class ConditionalModelRules extends BaseRules
introspectedTable, isModelOnly, tableConfiguration
Constructor and Description |
---|
ConditionalModelRules(IntrospectedTable introspectedTable) |
Modifier and Type | Method and Description |
---|---|
boolean |
generateBaseRecordClass()
Generate a base record if there are any base columns, or if there is only
one primary key coulmn (in which case we will not generate a primary key
class), or if there is only one BLOB column (in which case we will not
generate a record with BLOBs class).
|
boolean |
generatePrimaryKeyClass()
We generate a primary key if there is more than one primary key field.
|
boolean |
generateRecordWithBLOBsClass()
We generate a record with BLOBs class if there is more than one BLOB
column.
|
calculateAllFieldsClass, generateBaseColumnList, generateBaseResultMap, generateBlobColumnList, generateCountByExample, generateDeleteByExample, generateDeleteByPrimaryKey, generateExampleClass, generateInsert, generateInsertSelective, generateJavaClient, generateMyBatis3UpdateByExampleWhereClause, generateResultMapWithBLOBs, generateSelectByExampleWithBLOBs, generateSelectByExampleWithoutBLOBs, generateSelectByPrimaryKey, generateSQLExampleWhereClause, generateUpdateByExampleSelective, generateUpdateByExampleWithBLOBs, generateUpdateByExampleWithoutBLOBs, generateUpdateByPrimaryKeySelective, generateUpdateByPrimaryKeyWithBLOBs, generateUpdateByPrimaryKeyWithoutBLOBs, getIntrospectedTable
public ConditionalModelRules(IntrospectedTable introspectedTable)
public boolean generatePrimaryKeyClass()
public boolean generateBaseRecordClass()
public boolean generateRecordWithBLOBsClass()
Copyright © 2010–2018 MyBatis.org. All rights reserved.