Package org.mybatis.generator.codegen.ibatis2.model

Examples of org.mybatis.generator.codegen.ibatis2.model.PrimaryKeyGenerator


    }
  }

  protected void addCountByExampleElement(XmlElement parentElement) {
    if (introspectedTable.getRules().generateCountByExample()) {
      AbstractXmlElementGenerator elementGenerator = new CountByExampleElementGenerator();
      initializeAndExecuteGenerator(elementGenerator, parentElement);
    }
  }
View Full Code Here


    }
  }

  protected void addDeleteByExampleElement(XmlElement parentElement) {
    if (introspectedTable.getRules().generateDeleteByExample()) {
      AbstractXmlElementGenerator elementGenerator = new DeleteByExampleElementGenerator();
      initializeAndExecuteGenerator(elementGenerator, parentElement);
    }
  }
View Full Code Here

    }
  }

  protected void addDeleteByPrimaryKeyElement(XmlElement parentElement) {
    if (introspectedTable.getRules().generateDeleteByPrimaryKey()) {
      AbstractXmlElementGenerator elementGenerator = new DeleteByPrimaryKeyElementGenerator();
      initializeAndExecuteGenerator(elementGenerator, parentElement);
    }
  }
View Full Code Here

    }
  }

  protected void addExampleWhereClauseElement(XmlElement parentElement) {
    if (introspectedTable.getRules().generateSQLExampleWhereClause()) {
      AbstractXmlElementGenerator elementGenerator = new ExampleWhereClauseElementGenerator();
      initializeAndExecuteGenerator(elementGenerator, parentElement);
    }
  }
View Full Code Here

    }
  }

  protected void addInsertElement(XmlElement parentElement) {
    if (introspectedTable.getRules().generateInsert()) {
      AbstractXmlElementGenerator elementGenerator = new InsertElementGenerator();
      initializeAndExecuteGenerator(elementGenerator, parentElement);
    }
  }
View Full Code Here

    }
  }

  protected void addInsertSelectiveElement(XmlElement parentElement) {
    if (introspectedTable.getRules().generateInsertSelective()) {
      AbstractXmlElementGenerator elementGenerator = new InsertSelectiveElementGenerator();
      initializeAndExecuteGenerator(elementGenerator, parentElement);
    }
  }
View Full Code Here

    }
  }

  protected void addResultMapWithBLOBsElement(XmlElement parentElement) {
    if (introspectedTable.getRules().generateResultMapWithBLOBs()) {
      AbstractXmlElementGenerator elementGenerator = new ResultMapWithBLOBsElementGenerator();
      initializeAndExecuteGenerator(elementGenerator, parentElement);
    }
  }
View Full Code Here

    return answer;
  }

  protected void addResultMapWithoutBLOBsElement(XmlElement parentElement) {
    if (introspectedTable.getRules().generateBaseResultMap()) {
      AbstractXmlElementGenerator elementGenerator = new ResultMapWithoutBLOBsElementGenerator();
      initializeAndExecuteGenerator(elementGenerator, parentElement);
    }
  }
View Full Code Here

    }
  }

  protected void addSelectByExampleWithBLOBsElement(XmlElement parentElement) {
    if (introspectedTable.getRules().generateSelectByExampleWithBLOBs()) {
      AbstractXmlElementGenerator elementGenerator = new SelectByExampleWithBLOBsElementGenerator();
      initializeAndExecuteGenerator(elementGenerator, parentElement);
    }
  }
View Full Code Here

    }
  }

  protected void addSelectByExampleWithoutBLOBsElement(XmlElement parentElement) {
    if (introspectedTable.getRules().generateSelectByExampleWithoutBLOBs()) {
      AbstractXmlElementGenerator elementGenerator = new SelectByExampleWithoutBLOBsElementGenerator();
      initializeAndExecuteGenerator(elementGenerator, parentElement);
    }
  }
View Full Code Here

TOP

Related Classes of org.mybatis.generator.codegen.ibatis2.model.PrimaryKeyGenerator

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.