public class IntrospectedTableKotlinImpl extends IntrospectedTableMyBatis3Impl
IntrospectedTable.InternalAttribute, IntrospectedTable.TargetRuntime
javaGenerators, kotlinGenerators, xmlMapperGenerator
attributes, baseColumns, blobColumns, context, fullyQualifiedTable, internalAttributes, primaryKeyColumns, remarks, rules, tableConfiguration, tableType, targetRuntime
Constructor and Description |
---|
IntrospectedTableKotlinImpl() |
Modifier and Type | Method and Description |
---|---|
void |
calculateGenerators(List<String> warnings,
ProgressCallback progressCallback)
This method can be used to initialize the generators before they will be called.
|
protected void |
calculateKotlinDataClassGenerator(List<String> warnings,
ProgressCallback progressCallback) |
protected void |
calculateKotlinMapperAndExtensionsGenerator(List<String> warnings,
ProgressCallback progressCallback) |
boolean |
requiresXMLGenerator()
Should return true if an XML generator is required for this table.
|
calculateClientGenerators, calculateJavaModelGenerators, calculateXmlMapperGenerator, createJavaClientGenerator, getClientProject, getExampleProject, getGeneratedJavaFiles, getGeneratedKotlinFiles, getGeneratedXmlFiles, getGenerationSteps, getModelProject, initializeAbstractGenerator
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
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 IntrospectedTableMyBatis3Impl
warnings
- the warningsprogressCallback
- the progress callbackprotected void calculateKotlinMapperAndExtensionsGenerator(List<String> warnings, ProgressCallback progressCallback)
protected void calculateKotlinDataClassGenerator(List<String> warnings, ProgressCallback progressCallback)
public boolean requiresXMLGenerator()
IntrospectedTable
requiresXMLGenerator
in class IntrospectedTableMyBatis3Impl
Copyright © 2006–2024 MyBatis.org. All rights reserved.