1
|
// $Id$
|
2
|
/**
|
3
|
* Copyright (C) 2007 EDIT
|
4
|
* European Distributed Institute of Taxonomy
|
5
|
* http://www.e-taxonomy.eu
|
6
|
*
|
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.
|
9
|
*/
|
10
|
|
11
|
package eu.etaxonomy.cdm.io.algaterra;
|
12
|
|
13
|
import java.util.HashMap;
|
14
|
import java.util.Map;
|
15
|
import java.util.UUID;
|
16
|
|
17
|
import org.apache.log4j.Logger;
|
18
|
|
19
|
import eu.etaxonomy.cdm.io.berlinModel.in.BerlinModelImportState;
|
20
|
import eu.etaxonomy.cdm.model.description.StatisticalMeasure;
|
21
|
|
22
|
/**
|
23
|
* @author a.mueller
|
24
|
* @created 11.05.2009
|
25
|
* @version 1.0
|
26
|
*/
|
27
|
public class AlgaTerraImportState extends BerlinModelImportState{
|
28
|
|
29
|
@SuppressWarnings("unused")
|
30
|
private static final Logger logger = Logger.getLogger(AlgaTerraImportState.class);
|
31
|
|
32
|
private boolean specimenVocabulariesCreated = false;
|
33
|
private boolean currentFieldObservationNotNew = false;
|
34
|
private Map<String, UUID> parameterFeatureUuidMap = new HashMap<String, UUID>();
|
35
|
|
36
|
public AlgaTerraImportState(AlgaTerraImportConfigurator config) {
|
37
|
super(config);
|
38
|
}
|
39
|
|
40
|
public AlgaTerraImportConfigurator getAlgaTerraConfigurator(){
|
41
|
return (AlgaTerraImportConfigurator)getConfig();
|
42
|
}
|
43
|
|
44
|
public boolean isSpecimenVocabulariesCreated() {
|
45
|
return specimenVocabulariesCreated;
|
46
|
}
|
47
|
|
48
|
public void setSpecimenVocabulariesCreated(boolean specimenVocabulariesCreated) {
|
49
|
this.specimenVocabulariesCreated = specimenVocabulariesCreated;
|
50
|
}
|
51
|
|
52
|
public boolean isCurrentFieldObservationNotNew() {
|
53
|
return currentFieldObservationNotNew;
|
54
|
}
|
55
|
|
56
|
public void setCurrentFieldObservationNotNew(
|
57
|
boolean currentFieldObservationNotNew) {
|
58
|
this.currentFieldObservationNotNew = currentFieldObservationNotNew;
|
59
|
}
|
60
|
|
61
|
public UUID getParameterFeatureUuid(String key) {
|
62
|
return parameterFeatureUuidMap.get(key);
|
63
|
}
|
64
|
|
65
|
public void putParameterFeatureUuid(String key, UUID parameterFeatureUuid) {
|
66
|
this.parameterFeatureUuidMap.put(key, parameterFeatureUuid);
|
67
|
}
|
68
|
|
69
|
}
|