3 * Copyright (C) 2007 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
11 package eu
.etaxonomy
.cdm
.io
.berlinModel
.out
;
13 import org
.apache
.log4j
.Logger
;
15 import eu
.etaxonomy
.cdm
.io
.common
.DbExportStateBase
;
16 import eu
.etaxonomy
.cdm
.io
.common
.mapping
.out
.IExportTransformer
;
23 public class BerlinModelExportState
extends DbExportStateBase
<BerlinModelExportConfigurator
, IExportTransformer
>{
24 @SuppressWarnings("unused")
25 private static final Logger logger
= Logger
.getLogger(BerlinModelExportState
.class);
30 // * @see eu.etaxonomy.cdm.io.common.IoStateBase#initialize(eu.etaxonomy.cdm.io.common.IIoConfigurator)
33 // public void initialize(BerlinModelExportConfigurator config) {
38 public BerlinModelExportState(BerlinModelExportConfigurator config
) {
43 private Integer nextRefDetailId
= null;
44 private Integer nextFactCategoryId
= null;
47 * @return the nextRefDetailId
49 public Integer
getNextRefDetailId() {
50 if (nextRefDetailId
== null){
54 return nextRefDetailId
++;
58 * @return the nextRefDetailId
60 public Integer
getNextFactCategoryId() {
61 if (nextFactCategoryId
== null){
63 nextFactCategoryId
= 30;
65 return nextFactCategoryId
++;
70 * @param nextRefDetailId the nextRefDetailId to set
72 public void setNextFactCategoryId(Integer nextFactCategoryId
) {
73 this.nextFactCategoryId
= nextFactCategoryId
;