public abstract class AbstractJavaMapperMethodGenerator extends AbstractGenerator
context, introspectedTable, progressCallback, warnings
Modifier | Constructor and Description |
---|---|
protected |
AbstractJavaMapperMethodGenerator() |
setContext, setIntrospectedTable, setProgressCallback, setWarnings
public abstract void addInterfaceElements(Interface interfaze)
protected static String getResultAnnotation(Interface interfaze, IntrospectedColumn introspectedColumn, boolean idColumn, boolean constructorBased)
protected Set<FullyQualifiedJavaType> buildGeneratedKeyImportsIfRequired()
protected void addAnnotatedSelectImports(Interface interfaze)
protected List<String> buildUpdateByPrimaryKeyAnnotations(List<IntrospectedColumn> columnList)
protected void addPrimaryKeyMethodParameters(boolean isSimple, Method method, Set<FullyQualifiedJavaType> importedTypes)
protected void addAnnotatedResults(Interface interfaze, Method method, List<IntrospectedColumn> nonPrimaryKeyColumns)
protected Method buildBasicUpdateByExampleMethod(String statementId, FullyQualifiedJavaType parameterType, Set<FullyQualifiedJavaType> importedTypes)
protected Method buildBasicUpdateByPrimaryKeyMethod(String statementId, FullyQualifiedJavaType parameterType)
Copyright © 2006–2024 MyBatis.org. All rights reserved.