Package org.mybatis.generator.codegen.mybatis3.xmlmapper.elements

Examples of org.mybatis.generator.codegen.mybatis3.xmlmapper.elements.AbstractXmlElementGenerator


  }

  protected boolean addSelectByExampleWithoutBLOBsMethod(TopLevelClass topLevelClass) {
    boolean rc = false;
    if (introspectedTable.getRules().generateSelectByExampleWithoutBLOBs()) {
      AbstractJavaProviderMethodGenerator methodGenerator = new ProviderSelectByExampleWithoutBLOBsMethodGenerator();
      initializeAndExecuteGenerator(methodGenerator, topLevelClass);
      rc = true;
    }

    return rc;
View Full Code Here


  }

  protected boolean addUpdateByExampleSelectiveMethod(TopLevelClass topLevelClass) {
    boolean rc = false;
    if (introspectedTable.getRules().generateUpdateByExampleSelective()) {
      AbstractJavaProviderMethodGenerator methodGenerator = new ProviderUpdateByExampleSelectiveMethodGenerator();
      initializeAndExecuteGenerator(methodGenerator, topLevelClass);
      rc = true;
    }

    return rc;
View Full Code Here

  }

  protected boolean addUpdateByExampleWithBLOBsMethod(TopLevelClass topLevelClass) {
    boolean rc = false;
    if (introspectedTable.getRules().generateUpdateByExampleWithBLOBs()) {
      AbstractJavaProviderMethodGenerator methodGenerator = new ProviderUpdateByExampleWithBLOBsMethodGenerator();
      initializeAndExecuteGenerator(methodGenerator, topLevelClass);
      rc = true;
    }

    return rc;
View Full Code Here

    return null;
  }

  @Override
  public AbstractXmlGenerator getMatchedXMLGenerator() {
    return new XMLMapperGenerator();
  }
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 addResultMapWithBLOBsElement(XmlElement parentElement) {
    if (introspectedTable.getRules().generateResultMapWithBLOBs()) {
      AbstractXmlElementGenerator elementGenerator = new ResultMapWithBLOBsElementGenerator();
      initializeAndExecuteGenerator(elementGenerator, parentElement);
    }
  }
View Full Code Here

    }
  }

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

    }
  }

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

    }
  }

  protected void addBaseColumnListElement(XmlElement parentElement) {
    if (introspectedTable.getRules().generateBaseColumnList()) {
      AbstractXmlElementGenerator elementGenerator = new BaseColumnListElementGenerator();
      initializeAndExecuteGenerator(elementGenerator, parentElement);
    }
  }
View Full Code Here

    }
  }

  protected void addBlobColumnListElement(XmlElement parentElement) {
    if (introspectedTable.getRules().generateBlobColumnList()) {
      AbstractXmlElementGenerator elementGenerator = new BlobColumnListElementGenerator();
      initializeAndExecuteGenerator(elementGenerator, parentElement);
    }
  }
View Full Code Here

TOP

Related Classes of org.mybatis.generator.codegen.mybatis3.xmlmapper.elements.AbstractXmlElementGenerator

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.