Class IntrospectedTableKotlinImpl
java.lang.Object
org.mybatis.generator.api.IntrospectedTable
org.mybatis.generator.codegen.mybatis3.IntrospectedTableMyBatis3Impl
org.mybatis.generator.runtime.kotlin.IntrospectedTableKotlinImpl
-
Nested Class Summary
Nested classes/interfaces inherited from class org.mybatis.generator.api.IntrospectedTable
IntrospectedTable.InternalAttribute, IntrospectedTable.TargetRuntime -
Field Summary
Fields inherited from class org.mybatis.generator.codegen.mybatis3.IntrospectedTableMyBatis3Impl
javaGenerators, kotlinGenerators, xmlMapperGeneratorFields inherited from class org.mybatis.generator.api.IntrospectedTable
attributes, baseColumns, blobColumns, context, fullyQualifiedTable, internalAttributes, primaryKeyColumns, remarks, rules, tableConfiguration, tableType, targetRuntime -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcalculateGenerators(List<String> warnings, ProgressCallback progressCallback) This method can be used to initialize the generators before they will be called.protected voidcalculateKotlinDataClassGenerator(List<String> warnings, ProgressCallback progressCallback) protected voidcalculateKotlinMapperAndExtensionsGenerator(List<String> warnings, ProgressCallback progressCallback) private booleanbooleanShould return true if an XML generator is required for this table.Methods inherited from class org.mybatis.generator.codegen.mybatis3.IntrospectedTableMyBatis3Impl
calculateClientGenerators, calculateJavaModelGenerators, calculateXmlMapperGenerator, createJavaClientGenerator, getClientProject, getExampleProject, getGeneratedJavaFiles, getGeneratedKotlinFiles, getGeneratedXmlFiles, getGenerationSteps, getModelProject, initializeAbstractGeneratorMethods inherited from class org.mybatis.generator.api.IntrospectedTable
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
-
Constructor Details
-
IntrospectedTableKotlinImpl
public IntrospectedTableKotlinImpl()
-
-
Method Details
-
calculateGenerators
Description copied from class:IntrospectedTableThis method can be used to initialize the generators before they will be called.This method is called after all the setX methods, but before getNumberOfSubtasks(), getGeneratedJavaFiles, and getGeneratedXmlFiles.
- Overrides:
calculateGeneratorsin classIntrospectedTableMyBatis3Impl- Parameters:
warnings- the warningsprogressCallback- the progress callback
-
contextHasClientConfiguration
private boolean contextHasClientConfiguration() -
calculateKotlinMapperAndExtensionsGenerator
protected void calculateKotlinMapperAndExtensionsGenerator(List<String> warnings, ProgressCallback progressCallback) -
calculateKotlinDataClassGenerator
protected void calculateKotlinDataClassGenerator(List<String> warnings, ProgressCallback progressCallback) -
requiresXMLGenerator
public boolean requiresXMLGenerator()Description copied from class:IntrospectedTableShould return true if an XML generator is required for this table. This method will be called during validation of the configuration, so it should not rely on database introspection. This method simply tells the validator if an XML configuration is normally required for this implementation.- Overrides:
requiresXMLGeneratorin classIntrospectedTableMyBatis3Impl- Returns:
- true, if successful
-