Class JavaMapperGenerator

Direct Known Subclasses:
AnnotatedClientGenerator, MixedClientGenerator

public class JavaMapperGenerator extends AbstractJavaClientGenerator
  • Constructor Details

    • JavaMapperGenerator

      public JavaMapperGenerator(String project)
    • JavaMapperGenerator

      public JavaMapperGenerator(String project, boolean requiresMatchedXMLGenerator)
  • Method Details

    • getCompilationUnits

      public List<CompilationUnit> getCompilationUnits()
      Specified by:
      getCompilationUnits in class AbstractJavaGenerator
    • addCountByExampleMethod

      protected void addCountByExampleMethod(Interface interfaze)
    • addDeleteByExampleMethod

      protected void addDeleteByExampleMethod(Interface interfaze)
    • addDeleteByPrimaryKeyMethod

      protected void addDeleteByPrimaryKeyMethod(Interface interfaze)
    • addInsertMethod

      protected void addInsertMethod(Interface interfaze)
    • addInsertSelectiveMethod

      protected void addInsertSelectiveMethod(Interface interfaze)
    • addSelectByExampleWithBLOBsMethod

      protected void addSelectByExampleWithBLOBsMethod(Interface interfaze)
    • addSelectByExampleWithoutBLOBsMethod

      protected void addSelectByExampleWithoutBLOBsMethod(Interface interfaze)
    • addSelectByPrimaryKeyMethod

      protected void addSelectByPrimaryKeyMethod(Interface interfaze)
    • addUpdateByExampleSelectiveMethod

      protected void addUpdateByExampleSelectiveMethod(Interface interfaze)
    • addUpdateByExampleWithBLOBsMethod

      protected void addUpdateByExampleWithBLOBsMethod(Interface interfaze)
    • addUpdateByExampleWithoutBLOBsMethod

      protected void addUpdateByExampleWithoutBLOBsMethod(Interface interfaze)
    • addUpdateByPrimaryKeySelectiveMethod

      protected void addUpdateByPrimaryKeySelectiveMethod(Interface interfaze)
    • addUpdateByPrimaryKeyWithBLOBsMethod

      protected void addUpdateByPrimaryKeyWithBLOBsMethod(Interface interfaze)
    • addUpdateByPrimaryKeyWithoutBLOBsMethod

      protected void addUpdateByPrimaryKeyWithoutBLOBsMethod(Interface interfaze)
    • initializeAndExecuteGenerator

      protected void initializeAndExecuteGenerator(AbstractJavaMapperMethodGenerator methodGenerator, Interface interfaze)
    • getExtraCompilationUnits

      public List<CompilationUnit> getExtraCompilationUnits()
    • getMatchedXMLGenerator

      public AbstractXmlGenerator getMatchedXMLGenerator()
      Description copied from class: AbstractJavaClientGenerator
      Returns an instance of the XML generator associated with this client generator.
      Specified by:
      getMatchedXMLGenerator in class AbstractJavaClientGenerator
      Returns:
      the matched XML generator. May return null if no XML is required by this generator