1
2
3
4
5
6
7
8
9
10
11 package eu.etaxonomy.cdm.io.berlinModel.out;
12
13 import org.apache.log4j.Logger;
14
15 import eu.etaxonomy.cdm.io.common.DbExportStateBase;
16
17
18
19
20
21
22 public class BerlinModelExportState extends DbExportStateBase<BerlinModelExportConfigurator>{
23 @SuppressWarnings("unused")
24 private static final Logger logger = Logger.getLogger(BerlinModelExportState.class);
25
26
27
28
29
30
31
32
33
34
35
36
37 public BerlinModelExportState(BerlinModelExportConfigurator config) {
38 super(config);
39 }
40
41
42 private Integer nextRefDetailId = null;
43 private Integer nextFactCategoryId = null;
44
45
46
47
48 public Integer getNextRefDetailId() {
49 if (nextRefDetailId == null){
50
51 nextRefDetailId = 1;
52 }
53 return nextRefDetailId++;
54 }
55
56
57
58
59 public Integer getNextFactCategoryId() {
60 if (nextFactCategoryId == null){
61
62 nextFactCategoryId = 30;
63 }
64 return nextFactCategoryId++;
65 }
66
67
68
69
70
71 public void setNextFactCategoryId(Integer nextFactCategoryId) {
72 this.nextFactCategoryId = nextFactCategoryId;
73 }
74
75 }