本文整理汇总了Java中org.mybatis.generator.codegen.AbstractGenerator.setContext方法的典型用法代码示例。如果您正苦于以下问题:Java AbstractGenerator.setContext方法的具体用法?Java AbstractGenerator.setContext怎么用?Java AbstractGenerator.setContext使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.mybatis.generator.codegen.AbstractGenerator
的用法示例。
在下文中一共展示了AbstractGenerator.setContext方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: initializeAbstractGenerator
import org.mybatis.generator.codegen.AbstractGenerator; //导入方法依赖的package包/类
protected void initializeAbstractGenerator(
AbstractGenerator abstractGenerator, List<String> warnings,
ProgressCallback progressCallback) {
abstractGenerator.setContext(context);
abstractGenerator.setIntrospectedTable(this);
abstractGenerator.setProgressCallback(progressCallback);
abstractGenerator.setWarnings(warnings);
}
示例2: initializeAbstractGenerator
import org.mybatis.generator.codegen.AbstractGenerator; //导入方法依赖的package包/类
/**
* 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);
}
示例3: initializeAbstractGenerator
import org.mybatis.generator.codegen.AbstractGenerator; //导入方法依赖的package包/类
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);
}
示例4: initializeAbstractGenerator
import org.mybatis.generator.codegen.AbstractGenerator; //导入方法依赖的package包/类
protected void initializeAbstractGenerator(AbstractGenerator abstractGenerator) {
if (abstractGenerator == null) {
return;
}
abstractGenerator.setContext(context);
abstractGenerator.setIntrospectedTable(this);
}
示例5: initializeAbstractGenerator
import org.mybatis.generator.codegen.AbstractGenerator; //导入方法依赖的package包/类
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);
}
示例6: initializeAbstractGenerator
import org.mybatis.generator.codegen.AbstractGenerator; //导入方法依赖的package包/类
protected void initializeAbstractGenerator(AbstractGenerator abstractGenerator, List<String> warnings,
ProgressCallback progressCallback) {
abstractGenerator.setContext(context);
abstractGenerator.setIntrospectedTable(this);
abstractGenerator.setProgressCallback(progressCallback);
abstractGenerator.setWarnings(warnings);
}
示例7: initializeAbstractGenerator
import org.mybatis.generator.codegen.AbstractGenerator; //导入方法依赖的package包/类
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);
}
示例8: initializeAbstractGenerator
import org.mybatis.generator.codegen.AbstractGenerator; //导入方法依赖的package包/类
protected void initializeAbstractGenerator(AbstractGenerator abstractGenerator, List<String> warnings, ProgressCallback progressCallback) {
abstractGenerator.setContext(context);
abstractGenerator.setIntrospectedTable(this);
abstractGenerator.setProgressCallback(progressCallback);
abstractGenerator.setWarnings(warnings);
}