org.mybatis.generator.codegen.AbstractGenerator Java Examples

The following examples show how to use org.mybatis.generator.codegen.AbstractGenerator. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: IntrospectedTableMyBatis3Impl.java    From mapper-generator-javafx with Apache License 2.0 5 votes vote down vote up
protected void initializeAbstractGenerator(
        AbstractGenerator abstractGenerator, List<String> warnings,
        ProgressCallback progressCallback) {
    if (abstractGenerator == null) {
        return;
    }

    abstractGenerator.setContext(context);
    abstractGenerator.setIntrospectedTable(this);
    abstractGenerator.setProgressCallback(progressCallback);
    abstractGenerator.setWarnings(warnings);
}
 
Example #2
Source File: IntrospectedTableIbatis2Java2Impl.java    From mybatis-generator-core-fix with Apache License 2.0 5 votes vote down vote up
protected void initializeAbstractGenerator(
        AbstractGenerator abstractGenerator, List<String> warnings,
        ProgressCallback progressCallback) {
    abstractGenerator.setContext(context);
    abstractGenerator.setIntrospectedTable(this);
    abstractGenerator.setProgressCallback(progressCallback);
    abstractGenerator.setWarnings(warnings);
}
 
Example #3
Source File: IntrospectedTableMyBatis3Impl.java    From mybatis-generator-core-fix with Apache License 2.0 5 votes vote down vote up
/**
 * Initialize abstract generator.
 *
 * @param abstractGenerator
 *            the abstract generator
 * @param warnings
 *            the warnings
 * @param progressCallback
 *            the progress callback
 */
protected void initializeAbstractGenerator(
        AbstractGenerator abstractGenerator, List<String> warnings,
        ProgressCallback progressCallback) {
    if (abstractGenerator == null) {
        return;
    }
    
    abstractGenerator.setContext(context);
    abstractGenerator.setIntrospectedTable(this);
    abstractGenerator.setProgressCallback(progressCallback);
    abstractGenerator.setWarnings(warnings);
}
 
Example #4
Source File: IntrospectedTableMyBatis3Impl.java    From mybatis-generator-plus with Apache License 2.0 5 votes vote down vote up
protected void initializeAbstractGenerator(AbstractGenerator abstractGenerator, List<String> warnings, ProgressCallback progressCallback) {
	if (abstractGenerator == null) {
		return;
	}

	abstractGenerator.setContext(context);
	abstractGenerator.setIntrospectedTable(this);
	abstractGenerator.setProgressCallback(progressCallback);
	abstractGenerator.setWarnings(warnings);
}
 
Example #5
Source File: IntrospectedTableIbatis2Java2Impl.java    From mybatis-generator-plus with Apache License 2.0 4 votes vote down vote up
protected void initializeAbstractGenerator(AbstractGenerator abstractGenerator, List<String> warnings, ProgressCallback progressCallback) {
	abstractGenerator.setContext(context);
	abstractGenerator.setIntrospectedTable(this);
	abstractGenerator.setProgressCallback(progressCallback);
	abstractGenerator.setWarnings(warnings);
}