org.mybatis.generator.codegen.mybatis3.javamapper.elements
Class AbstractJavaMapperMethodGenerator

java.lang.Object
  extended by org.mybatis.generator.codegen.AbstractGenerator
      extended by org.mybatis.generator.codegen.mybatis3.javamapper.elements.AbstractJavaMapperMethodGenerator
Direct Known Subclasses:
CountByExampleMethodGenerator, DeleteByExampleMethodGenerator, DeleteByPrimaryKeyMethodGenerator, InsertMethodGenerator, InsertSelectiveMethodGenerator, SelectAllMethodGenerator, SelectByExampleWithBLOBsMethodGenerator, SelectByExampleWithoutBLOBsMethodGenerator, SelectByPrimaryKeyMethodGenerator, UpdateByExampleSelectiveMethodGenerator, UpdateByExampleWithBLOBsMethodGenerator, UpdateByExampleWithoutBLOBsMethodGenerator, UpdateByPrimaryKeySelectiveMethodGenerator, UpdateByPrimaryKeyWithBLOBsMethodGenerator, UpdateByPrimaryKeyWithoutBLOBsMethodGenerator

public abstract class AbstractJavaMapperMethodGenerator
extends AbstractGenerator

Author:
Jeff Butler

Field Summary
 
Fields inherited from class org.mybatis.generator.codegen.AbstractGenerator
context, introspectedTable, progressCallback, warnings
 
Constructor Summary
AbstractJavaMapperMethodGenerator()
           
 
Method Summary
protected  void addGeneratedKeyAnnotation(Interface interfaze, Method method, GeneratedKey gk)
           
abstract  void addInterfaceElements(Interface interfaze)
           
protected  String getResultAnnotation(Interface interfaze, IntrospectedColumn introspectedColumn, boolean idColumn, boolean constructorBased)
           
 
Methods inherited from class org.mybatis.generator.codegen.AbstractGenerator
getContext, getIntrospectedTable, getProgressCallback, getWarnings, setContext, setIntrospectedTable, setProgressCallback, setWarnings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractJavaMapperMethodGenerator

public AbstractJavaMapperMethodGenerator()
Method Detail

addInterfaceElements

public abstract void addInterfaceElements(Interface interfaze)

getResultAnnotation

protected String getResultAnnotation(Interface interfaze,
                                     IntrospectedColumn introspectedColumn,
                                     boolean idColumn,
                                     boolean constructorBased)

addGeneratedKeyAnnotation

protected void addGeneratedKeyAnnotation(Interface interfaze,
                                         Method method,
                                         GeneratedKey gk)


Copyright © 2010-2012 MyBatis.org. All Rights Reserved.