1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.common.impex.data;
17
18 import java.io.File;
19 import java.util.List;
20 import javax.sql.DataSource;
21
22 public class ExportDataContext {
23
24 protected DataSource dataSource;
25 protected int dataThreads;
26 protected File workingDir;
27 protected String encoding;
28 protected List<ExportTableContext> tableContexts;
29
30 protected int rowCountInterval;
31 protected int dataSizeInterval;
32
33 public DataSource getDataSource() {
34 return dataSource;
35 }
36
37 public void setDataSource(DataSource dataSource) {
38 this.dataSource = dataSource;
39 }
40
41 public int getDataThreads() {
42 return dataThreads;
43 }
44
45 public void setDataThreads(int dataThreads) {
46 this.dataThreads = dataThreads;
47 }
48
49 public File getWorkingDir() {
50 return workingDir;
51 }
52
53 public void setWorkingDir(File workingDir) {
54 this.workingDir = workingDir;
55 }
56
57 public String getEncoding() {
58 return encoding;
59 }
60
61 public void setEncoding(String encoding) {
62 this.encoding = encoding;
63 }
64
65 public int getDataSizeInterval() {
66 return dataSizeInterval;
67 }
68
69 public void setDataSizeInterval(int dataSizeInterval) {
70 this.dataSizeInterval = dataSizeInterval;
71 }
72
73 public int getRowCountInterval() {
74 return rowCountInterval;
75 }
76
77 public void setRowCountInterval(int rowCountInterval) {
78 this.rowCountInterval = rowCountInterval;
79 }
80
81 public List<ExportTableContext> getTableContexts() {
82 return tableContexts;
83 }
84
85 public void setTableContexts(List<ExportTableContext> tableContexts) {
86 this.tableContexts = tableContexts;
87 }
88
89 }