public class IntrospectedTableMyBatis3Impl extends IntrospectedTable
IntrospectedTable.InternalAttribute, IntrospectedTable.TargetRuntime
Modifier and Type | Field and Description |
---|---|
protected List<AbstractJavaGenerator> |
javaGenerators |
protected List<AbstractKotlinGenerator> |
kotlinGenerators |
protected AbstractXmlGenerator |
xmlMapperGenerator |
attributes, baseColumns, blobColumns, context, fullyQualifiedTable, internalAttributes, primaryKeyColumns, remarks, rules, tableConfiguration, tableType, targetRuntime
Constructor and Description |
---|
IntrospectedTableMyBatis3Impl() |
Modifier and Type | Method and Description |
---|---|
protected AbstractJavaClientGenerator |
calculateClientGenerators(List<String> warnings,
ProgressCallback progressCallback) |
void |
calculateGenerators(List<String> warnings,
ProgressCallback progressCallback)
This method can be used to initialize the generators before they will be called.
|
protected void |
calculateJavaModelGenerators(List<String> warnings,
ProgressCallback progressCallback) |
protected void |
calculateXmlMapperGenerator(AbstractJavaClientGenerator javaClientGenerator,
List<String> warnings,
ProgressCallback progressCallback) |
protected AbstractJavaClientGenerator |
createJavaClientGenerator() |
protected String |
getClientProject() |
protected String |
getExampleProject() |
List<GeneratedJavaFile> |
getGeneratedJavaFiles()
This method should return a list of generated Java files related to this
table.
|
List<GeneratedKotlinFile> |
getGeneratedKotlinFiles()
This method should return a list of generated Kotlin files related to this
table.
|
List<GeneratedXmlFile> |
getGeneratedXmlFiles()
This method should return a list of generated XML files related to this
table.
|
int |
getGenerationSteps()
This method should return the number of progress messages that will be
send during the generation phase.
|
protected String |
getModelProject() |
protected void |
initializeAbstractGenerator(AbstractGenerator abstractGenerator,
List<String> warnings,
ProgressCallback progressCallback) |
boolean |
requiresXMLGenerator()
Should return true if an XML generator is required for this table.
|
addColumn, addPrimaryKeyColumn, calculateDynamicSqlSupportPackage, calculateJavaClientAttributes, calculateJavaClientInterfacePackage, calculateJavaModelExamplePackage, calculateJavaModelPackage, calculateModelAttributes, calculateMyBatis3FallbackSqlMapNamespace, calculateMyBatis3XmlMapperFileName, calculateSqlMapAliasedFullyQualifiedRuntimeTableName, calculateSqlMapFullyQualifiedRuntimeTableName, calculateSqlMapPackage, calculateXmlAttributes, getAliasedFullyQualifiedTableNameAtRuntime, getAllColumns, getAttribute, getBaseColumnListId, getBaseColumns, getBaseRecordType, getBaseResultMapId, getBlobColumnListId, getBLOBColumns, getColumn, getContext, getCountByExampleStatementId, getDeleteByExampleStatementId, getDeleteByPrimaryKeyStatementId, getExampleType, getExampleWhereClauseId, getFullyQualifiedTable, getFullyQualifiedTableNameAtRuntime, getGeneratedKey, getInsertSelectiveStatementId, getInsertStatementId, getKotlinRecordType, getMyBatis3FallbackSqlMapNamespace, getMyBatis3JavaMapperType, getMyBatis3SqlMapNamespace, getMyBatis3SqlProviderType, getMyBatis3UpdateByExampleWhereClauseId, getMyBatis3XmlMapperFileName, getMyBatis3XmlMapperPackage, getMyBatisDynamicSqlSupportType, getMyBatisDynamicSQLTableObjectName, getNonBLOBColumnCount, getNonBLOBColumns, getNonPrimaryKeyColumns, getPrimaryKeyColumns, getPrimaryKeyType, getRecordWithBLOBsType, getRemarks, getResultMapWithBLOBsId, getRules, getSelectAllStatementId, getSelectByExampleQueryId, getSelectByExampleStatementId, getSelectByExampleWithBLOBsStatementId, getSelectByPrimaryKeyQueryId, getSelectByPrimaryKeyStatementId, getTableConfiguration, getTableConfigurationProperty, getTableType, getTargetRuntime, getUpdateByExampleSelectiveStatementId, getUpdateByExampleStatementId, getUpdateByExampleWithBLOBsStatementId, getUpdateByPrimaryKeySelectiveStatementId, getUpdateByPrimaryKeyStatementId, getUpdateByPrimaryKeyWithBLOBsStatementId, hasAnyColumns, hasBaseColumns, hasBLOBColumns, hasJDBCDateColumns, hasJDBCTimeColumns, hasPrimaryKeyColumns, initialize, isConstructorBased, isImmutable, removeAttribute, setAttribute, setBaseColumnListId, setBaseRecordType, setBaseResultMapId, setBlobColumnListId, setContext, setCountByExampleStatementId, setDeleteByExampleStatementId, setDeleteByPrimaryKeyStatementId, setExampleType, setExampleWhereClauseId, setFullyQualifiedTable, setInsertSelectiveStatementId, setInsertStatementId, setKotlinRecordType, setMyBatis3FallbackSqlMapNamespace, setMyBatis3JavaMapperType, setMyBatis3SqlProviderType, setMyBatis3UpdateByExampleWhereClauseId, setMyBatis3XmlMapperFileName, setMyBatis3XmlMapperPackage, setMyBatisDynamicSqlSupportType, setMyBatisDynamicSQLTableObjectName, setPrimaryKeyType, setRecordWithBLOBsType, setRemarks, setResultMapWithBLOBsId, setRules, setSelectAllStatementId, setSelectByExampleStatementId, setSelectByExampleWithBLOBsStatementId, setSelectByPrimaryKeyStatementId, setSqlMapAliasedFullyQualifiedRuntimeTableName, setSqlMapFullyQualifiedRuntimeTableName, setTableConfiguration, setTableType, setUpdateByExampleSelectiveStatementId, setUpdateByExampleStatementId, setUpdateByExampleWithBLOBsStatementId, setUpdateByPrimaryKeySelectiveStatementId, setUpdateByPrimaryKeyStatementId, setUpdateByPrimaryKeyWithBLOBsStatementId
protected final List<AbstractJavaGenerator> javaGenerators
protected final List<AbstractKotlinGenerator> kotlinGenerators
protected AbstractXmlGenerator xmlMapperGenerator
public void calculateGenerators(List<String> warnings, ProgressCallback progressCallback)
IntrospectedTable
This method is called after all the setX methods, but before getNumberOfSubtasks(), getGeneratedJavaFiles, and getGeneratedXmlFiles.
calculateGenerators
in class IntrospectedTable
warnings
- the warningsprogressCallback
- the progress callbackprotected void calculateXmlMapperGenerator(AbstractJavaClientGenerator javaClientGenerator, List<String> warnings, ProgressCallback progressCallback)
protected AbstractJavaClientGenerator calculateClientGenerators(List<String> warnings, ProgressCallback progressCallback)
protected AbstractJavaClientGenerator createJavaClientGenerator()
protected void calculateJavaModelGenerators(List<String> warnings, ProgressCallback progressCallback)
protected void initializeAbstractGenerator(AbstractGenerator abstractGenerator, List<String> warnings, ProgressCallback progressCallback)
public List<GeneratedJavaFile> getGeneratedJavaFiles()
IntrospectedTable
getGeneratedJavaFiles
in class IntrospectedTable
public List<GeneratedKotlinFile> getGeneratedKotlinFiles()
IntrospectedTable
getGeneratedKotlinFiles
in class IntrospectedTable
protected String getClientProject()
protected String getModelProject()
protected String getExampleProject()
public List<GeneratedXmlFile> getGeneratedXmlFiles()
IntrospectedTable
getGeneratedXmlFiles
in class IntrospectedTable
public int getGenerationSteps()
IntrospectedTable
getGenerationSteps
in class IntrospectedTable
public boolean requiresXMLGenerator()
IntrospectedTable
requiresXMLGenerator
in class IntrospectedTable
Copyright © 2006–2022 MyBatis.org. All rights reserved.