1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.mybatis.generator.codegen;
17
18 import java.util.List;
19
20 import org.mybatis.generator.api.IntrospectedTable;
21 import org.mybatis.generator.api.ProgressCallback;
22 import org.mybatis.generator.config.Context;
23
24
25
26
27
28
29 public abstract class AbstractGenerator {
30 protected Context context;
31 protected IntrospectedTable introspectedTable;
32 protected List<String> warnings;
33 protected ProgressCallback progressCallback;
34
35 public AbstractGenerator() {
36 super();
37 }
38
39 public Context getContext() {
40 return context;
41 }
42
43 public void setContext(Context context) {
44 this.context = context;
45 }
46
47 public IntrospectedTable getIntrospectedTable() {
48 return introspectedTable;
49 }
50
51 public void setIntrospectedTable(IntrospectedTable introspectedTable) {
52 this.introspectedTable = introspectedTable;
53 }
54
55 public List<String> getWarnings() {
56 return warnings;
57 }
58
59 public void setWarnings(List<String> warnings) {
60 this.warnings = warnings;
61 }
62
63 public ProgressCallback getProgressCallback() {
64 return progressCallback;
65 }
66
67 public void setProgressCallback(ProgressCallback progressCallback) {
68 this.progressCallback = progressCallback;
69 }
70 }