Revision 246e1070
Added by Andreas Müller about 13 years ago
app-import/src/main/java/eu/etaxonomy/cdm/io/globis/GlobisImportConfigurator.java | ||
---|---|---|
18 | 18 |
import eu.etaxonomy.cdm.io.common.ImportConfiguratorBase; |
19 | 19 |
import eu.etaxonomy.cdm.io.common.ImportStateBase; |
20 | 20 |
import eu.etaxonomy.cdm.io.common.Source; |
21 |
import eu.etaxonomy.cdm.io.common.IImportConfigurator.DO_REFERENCES; |
|
21 | 22 |
import eu.etaxonomy.cdm.io.common.mapping.IInputTransformer; |
22 | 23 |
import eu.etaxonomy.cdm.model.name.NomenclaturalCode; |
23 | 24 |
import eu.etaxonomy.cdm.model.reference.Reference; |
... | ... | |
48 | 49 |
private boolean doNotes = true; |
49 | 50 |
private boolean doImages = true; |
50 | 51 |
private boolean doOccurrence = true; |
52 |
private DO_REFERENCES doReferences = DO_REFERENCES.ALL; |
|
53 |
|
|
51 | 54 |
|
52 | 55 |
private static IInputTransformer defaultTransformer = new GlobisTransformer(); |
53 | 56 |
|
... | ... | |
132 | 135 |
public int getRecordsPerTransaction() { |
133 | 136 |
return recordsPerTransaction; |
134 | 137 |
} |
135 |
|
|
136 | 138 |
/** |
137 | 139 |
* @param limitSave the limitSave to set |
138 | 140 |
*/ |
... | ... | |
162 | 164 |
public void setDoLinks(boolean doLinks) { |
163 | 165 |
this.doLinks = doLinks; |
164 | 166 |
} |
165 |
|
|
166 |
|
|
167 |
|
|
168 | 167 |
/** |
169 | 168 |
* @return the doLinks |
170 | 169 |
*/ |
... | ... | |
180 | 179 |
public void setDoNotes(boolean doNotes) { |
181 | 180 |
this.doNotes = doNotes; |
182 | 181 |
} |
183 |
|
|
184 |
|
|
185 |
|
|
186 | 182 |
/** |
187 | 183 |
* @return the doNotes |
188 | 184 |
*/ |
... | ... | |
190 | 186 |
return doNotes; |
191 | 187 |
} |
192 | 188 |
|
193 |
|
|
194 |
|
|
195 | 189 |
/** |
196 | 190 |
* @param doImages the doImages to set |
197 | 191 |
*/ |
198 | 192 |
public void setDoImages(boolean doImages) { |
199 | 193 |
this.doImages = doImages; |
200 | 194 |
} |
201 |
|
|
202 |
|
|
203 |
|
|
204 | 195 |
/** |
205 | 196 |
* @return the doImages |
206 | 197 |
*/ |
... | ... | |
215 | 206 |
public void setDoOccurrence(boolean doOccurrence) { |
216 | 207 |
this.doOccurrence = doOccurrence; |
217 | 208 |
} |
209 |
|
|
210 |
|
|
211 |
public DO_REFERENCES getDoReferences() { |
|
212 |
return doReferences; |
|
213 |
} |
|
214 |
public void setDoReferences(DO_REFERENCES doReferences) { |
|
215 |
this.doReferences = doReferences; |
|
216 |
} |
|
217 |
|
|
218 | 218 |
|
219 | 219 |
|
220 | 220 |
|
Also available in: Unified diff
removing all doXXX from IImportConfigurator