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
.algaterra
;
13 import java
.util
.HashMap
;
15 import java
.util
.UUID
;
17 import org
.apache
.log4j
.Logger
;
19 import eu
.etaxonomy
.cdm
.io
.berlinModel
.in
.BerlinModelImportState
;
20 import eu
.etaxonomy
.cdm
.model
.description
.StatisticalMeasure
;
27 public class AlgaTerraImportState
extends BerlinModelImportState
{
29 @SuppressWarnings("unused")
30 private static final Logger logger
= Logger
.getLogger(AlgaTerraImportState
.class);
32 private boolean specimenVocabulariesCreated
= false;
33 private boolean currentFieldObservationNotNew
= false;
34 private Map
<String
, UUID
> parameterFeatureUuidMap
= new HashMap
<String
, UUID
>();
36 public AlgaTerraImportState(AlgaTerraImportConfigurator config
) {
40 public AlgaTerraImportConfigurator
getAlgaTerraConfigurator(){
41 return (AlgaTerraImportConfigurator
)getConfig();
44 public boolean isSpecimenVocabulariesCreated() {
45 return specimenVocabulariesCreated
;
48 public void setSpecimenVocabulariesCreated(boolean specimenVocabulariesCreated
) {
49 this.specimenVocabulariesCreated
= specimenVocabulariesCreated
;
52 public boolean isCurrentFieldObservationNotNew() {
53 return currentFieldObservationNotNew
;
56 public void setCurrentFieldObservationNotNew(
57 boolean currentFieldObservationNotNew
) {
58 this.currentFieldObservationNotNew
= currentFieldObservationNotNew
;
61 public UUID
getParameterFeatureUuid(String key
) {
62 return parameterFeatureUuidMap
.get(key
);
65 public void putParameterFeatureUuid(String key
, UUID parameterFeatureUuid
) {
66 this.parameterFeatureUuidMap
.put(key
, parameterFeatureUuid
);