Package org.mybatis.generator.codegen.ibatis2.sqlmap.elements

Examples of org.mybatis.generator.codegen.ibatis2.sqlmap.elements.DeleteByExampleElementGenerator


    }
  }

  protected void addDeleteByPrimaryKeyMethod(TopLevelClass topLevelClass, Interface interfaze) {
    if (introspectedTable.getRules().generateDeleteByPrimaryKey()) {
      AbstractDAOElementGenerator methodGenerator = new DeleteByPrimaryKeyMethodGenerator();
      initializeAndExecuteGenerator(methodGenerator, topLevelClass, interfaze);
    }
  }
View Full Code Here


    }
  }

  protected void addInsertMethod(TopLevelClass topLevelClass, Interface interfaze) {
    if (introspectedTable.getRules().generateInsert()) {
      AbstractDAOElementGenerator methodGenerator = new InsertMethodGenerator();
      initializeAndExecuteGenerator(methodGenerator, topLevelClass, interfaze);
    }
  }
View Full Code Here

    }
  }

  protected void addInsertSelectiveMethod(TopLevelClass topLevelClass, Interface interfaze) {
    if (introspectedTable.getRules().generateInsertSelective()) {
      AbstractDAOElementGenerator methodGenerator = new InsertSelectiveMethodGenerator();
      initializeAndExecuteGenerator(methodGenerator, topLevelClass, interfaze);
    }
  }
View Full Code Here

    }
  }

  protected void addSelectByExampleWithBLOBsMethod(TopLevelClass topLevelClass, Interface interfaze) {
    if (introspectedTable.getRules().generateSelectByExampleWithBLOBs()) {
      AbstractDAOElementGenerator methodGenerator = new SelectByExampleWithBLOBsMethodGenerator(generateForJava5);
      initializeAndExecuteGenerator(methodGenerator, topLevelClass, interfaze);
    }
  }
View Full Code Here

    }
  }

  protected void addSelectByExampleWithoutBLOBsMethod(TopLevelClass topLevelClass, Interface interfaze) {
    if (introspectedTable.getRules().generateSelectByExampleWithoutBLOBs()) {
      AbstractDAOElementGenerator methodGenerator = new SelectByExampleWithoutBLOBsMethodGenerator(
          generateForJava5);
      initializeAndExecuteGenerator(methodGenerator, topLevelClass, interfaze);
    }
  }
View Full Code Here

    }
  }

  protected void addSelectByPrimaryKeyMethod(TopLevelClass topLevelClass, Interface interfaze) {
    if (introspectedTable.getRules().generateSelectByPrimaryKey()) {
      AbstractDAOElementGenerator methodGenerator = new SelectByPrimaryKeyMethodGenerator();
      initializeAndExecuteGenerator(methodGenerator, topLevelClass, interfaze);
    }
  }
View Full Code Here

  protected void addUpdateByExampleParmsInnerclass(TopLevelClass topLevelClass, Interface interfaze) {
    Rules rules = introspectedTable.getRules();
    if (rules.generateUpdateByExampleSelective() || rules.generateUpdateByExampleWithBLOBs()
        || rules.generateUpdateByExampleWithoutBLOBs()) {
      AbstractDAOElementGenerator methodGenerator = new UpdateByExampleParmsInnerclassGenerator();
      initializeAndExecuteGenerator(methodGenerator, topLevelClass, interfaze);
    }
  }
View Full Code Here

    }
  }

  protected void addUpdateByExampleSelectiveMethod(TopLevelClass topLevelClass, Interface interfaze) {
    if (introspectedTable.getRules().generateUpdateByExampleSelective()) {
      AbstractDAOElementGenerator methodGenerator = new UpdateByExampleSelectiveMethodGenerator();
      initializeAndExecuteGenerator(methodGenerator, topLevelClass, interfaze);
    }
  }
View Full Code Here

    }
  }

  protected void addUpdateByExampleWithBLOBsMethod(TopLevelClass topLevelClass, Interface interfaze) {
    if (introspectedTable.getRules().generateUpdateByExampleWithBLOBs()) {
      AbstractDAOElementGenerator methodGenerator = new UpdateByExampleWithBLOBsMethodGenerator();
      initializeAndExecuteGenerator(methodGenerator, topLevelClass, interfaze);
    }
  }
View Full Code Here

    }
  }

  protected void addUpdateByExampleWithoutBLOBsMethod(TopLevelClass topLevelClass, Interface interfaze) {
    if (introspectedTable.getRules().generateUpdateByExampleWithoutBLOBs()) {
      AbstractDAOElementGenerator methodGenerator = new UpdateByExampleWithoutBLOBsMethodGenerator();
      initializeAndExecuteGenerator(methodGenerator, topLevelClass, interfaze);
    }
  }
View Full Code Here

TOP

Related Classes of org.mybatis.generator.codegen.ibatis2.sqlmap.elements.DeleteByExampleElementGenerator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.