Revision 2720ea2c
Added by Andreas Müller over 3 years ago
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/common/ImportStateBase.java | ||
---|---|---|
6 | 6 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
7 | 7 |
* See LICENSE.TXT at the top of this package for the full license terms. |
8 | 8 |
*/ |
9 |
|
|
10 | 9 |
package eu.etaxonomy.cdm.io.common; |
11 | 10 |
|
12 | 11 |
import java.util.HashMap; |
... | ... | |
65 | 64 |
|
66 | 65 |
private IInputTransformer inputTransformer; |
67 | 66 |
|
68 |
|
|
69 | 67 |
private Map<UUID, ExtensionType> extensionTypeMap = new HashMap<>(); |
70 | 68 |
private Map<UUID, MarkerType> markerTypeMap = new HashMap<>(); |
71 | 69 |
private Map<UUID, AnnotationType> annotationTypeMap = new HashMap<>(); |
... | ... | |
113 | 111 |
|
114 | 112 |
} |
115 | 113 |
|
116 |
|
|
117 |
|
|
118 | 114 |
/** |
119 | 115 |
* Resets (empties) all maps which map a uuid to a {@link DefinedTermBase term}. |
120 | 116 |
* This is usually needed when a a new transaction is opened and user defined terms are reused. |
... | ... | |
141 | 137 |
nomenclaturalStatusTypeMap = new HashMap<>(); |
142 | 138 |
} |
143 | 139 |
|
144 |
|
|
145 | 140 |
//different type of stores that are used by the known imports |
146 | 141 |
protected Map<String, MapWrapper<? extends CdmBase>> stores = new HashMap<String, MapWrapper<? extends CdmBase>>(); |
147 | 142 |
|
... | ... | |
168 | 163 |
return treeUuidMap.size(); |
169 | 164 |
} |
170 | 165 |
|
171 |
/** |
|
172 |
* @return the treeUuid |
|
173 |
*/ |
|
174 | 166 |
public UUID getTreeUuid(Reference ref) { |
175 | 167 |
return treeUuidMap.get(ref); |
176 | 168 |
} |
Also available in: Unified diff
cleanup