Project

General

Profile

Download (19.5 KB) Statistics
| Branch: | Revision:
1
/**
2
* Copyright (C) 2007 EDIT
3
* European Distributed Institute of Taxonomy
4
* http://www.e-taxonomy.eu
5
*
6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7
* See LICENSE.TXT at the top of this package for the full license terms.
8
*/
9

    
10
package eu.etaxonomy.cdm.io.berlinModel.in;
11

    
12
import java.io.File;
13
import java.lang.reflect.Method;
14
import java.net.MalformedURLException;
15
import java.net.URL;
16
import java.util.UUID;
17

    
18
import org.apache.log4j.Logger;
19

    
20
import eu.etaxonomy.cdm.database.ICdmDataSource;
21
import eu.etaxonomy.cdm.io.berlinModel.in.BerlinModelTaxonImport.PublishMarkerChooser;
22
import eu.etaxonomy.cdm.io.berlinModel.in.validation.BerlinModelGeneralImportValidator;
23
import eu.etaxonomy.cdm.io.common.DbImportConfiguratorBase;
24
import eu.etaxonomy.cdm.io.common.Source;
25
import eu.etaxonomy.cdm.io.common.mapping.IInputTransformer;
26
import eu.etaxonomy.cdm.model.name.NomenclaturalCode;
27

    
28
/**
29
 * @author a.mueller
30
 * @since 20.03.2008
31
 */
32
public class BerlinModelImportConfigurator extends DbImportConfiguratorBase<BerlinModelImportState>{
33
    private static final long serialVersionUID = 70300913255425256L;
34

    
35
    private static Logger logger = Logger.getLogger(BerlinModelImportConfigurator.class);
36

    
37
	public static BerlinModelImportConfigurator NewInstance(Source berlinModelSource, ICdmDataSource destination){
38
			return new BerlinModelImportConfigurator(berlinModelSource, destination);
39
	}
40

    
41
	private PublishMarkerChooser taxonPublishMarker = PublishMarkerChooser.ALL;
42

    
43
	//TODO
44
	private static IInputTransformer defaultTransformer = null;
45

    
46
	private boolean doNameStatus = true;
47
	private boolean doRelNames = true;
48
	private boolean doCommonNames = true;
49
	private boolean doOccurrence = true;
50
	private boolean doOccurrenceSources = true;
51
	private boolean doMarker = true;
52
	private boolean doUser = true;
53
	private boolean doFacts = true;
54
	private boolean doNameFacts = true;
55
	private boolean doAuthors = true;
56
	private DO_REFERENCES doReferences = DO_REFERENCES.ALL;
57
	private boolean doTaxonNames = true;
58
	private boolean doTypes = true;
59
	private boolean doNamedAreas = true;
60

    
61
	private boolean isSalvador = false;
62
	private boolean isEuroMed = false;
63

    
64
	//taxa
65
	private boolean doTaxa = true;
66
	private boolean doRelTaxa = true;
67

    
68
	private boolean useSingleClassification = false;
69
	private boolean includeFlatClassifications = false;  //concepts with no taxon relationship (even no misapplied name or synonym rel)
70
	private boolean includeAllNonMisappliedRelatedClassifications = true;  //all concepts with any relationship except for misapplied name relationships
71
	private boolean useLastScrutinyAsSec = false;
72

    
73
	private boolean warnForDifferingSynonymReference = true;   //do not warn for E+M as it uses last scrutiny
74

    
75
	//references
76
	private boolean doSourceNumber = false;
77

    
78
	//occurrences
79
	private boolean isSplitTdwgCodes = true;
80

    
81
	private boolean useEmAreaVocabulary = false;
82

    
83
	private boolean includesEmCode = true;  // in Campanula we do not have an EMCOde
84
	private boolean allowInfraSpecTaxonRank = true;
85

    
86
	private Method namerelationshipTypeMethod;
87
	private Method uuidForDefTermMethod;
88
	private Method nameTypeDesignationStatusMethod;
89

    
90
	private boolean logNotMatchingOldNames = false;
91
	private boolean logMatchingNotExportedOldNames = true;
92
	private boolean checkOldNameIsSynonym = false;
93

    
94
	// NameFact stuff
95
	private URL mediaUrl;
96
	private File mediaPath;
97
	private int maximumNumberOfNameFacts;
98
	private boolean isIgnore0AuthorTeam = false;
99

    
100
	private boolean switchSpeciesGroup = false;
101

    
102
	//Term labels
103
	private String infrGenericRankAbbrev = null;
104
	private String infrSpecificRankAbbrev = null;
105

    
106
	private boolean removeHttpMapsAnchor = false;
107

    
108
	//Data Filter
109
	private String taxonTable = "PTaxon";
110
	private String classificationQuery = null;
111
	private String relTaxaIdQuery = null;
112
	private String nameIdTable = null;
113
	private String referenceIdTable = null;
114
	private String authorTeamFilter = null;
115
	private String authorFilter = null;
116
	private String factFilter = null;
117
	private String refDetailFilter = null;
118
	private String commonNameFilter = null;
119
	private String occurrenceFilter = null;
120
	private String occurrenceSourceFilter = null;
121
	private String webMarkerFilter = null;
122

    
123
	//specific functions
124
	private Method 	makeUrlForTaxon = null;
125

    
126
	private UUID featureTreeUuid;
127
	private String featureTreeTitle;
128

    
129
    private boolean isTaxonNoteAsFeature = false;
130

    
131
    private boolean doPreliminaryRefDetailsWithNames = false;
132

    
133

    
134
    public boolean isTaxonNoteAsFeature() {return isTaxonNoteAsFeature;}
135
    public void setTaxonNoteAsFeature(boolean isTaxonNoteAsFeature) {this.isTaxonNoteAsFeature = isTaxonNoteAsFeature;}
136

    
137
    @Override
138
    protected void makeIoClassList(){
139
		ioClassList = new Class[]{
140
			BerlinModelGeneralImportValidator.class
141
			, BerlinModelUserImport.class
142
			, BerlinModelAuthorImport.class
143
			, BerlinModelAuthorTeamImport.class
144
			, BerlinModelRefDetailImport.class
145
			, BerlinModelReferenceImport.class
146
			, BerlinModelTaxonNameImport.class
147
			, BerlinModelTaxonNameRelationImport.class
148
			, BerlinModelNameStatusImport.class
149
			, BerlinModelNameFactsImport.class
150
			, BerlinModelTypesImport.class
151
			, BerlinModelTaxonImport.class
152
			, BerlinModelFactsImport.class
153
			, BerlinModelTaxonRelationImport.class
154
			, BerlinModelAreaImport.class
155
			, BerlinModelOccurrenceImport.class
156
			, BerlinModelOccurrenceSourceImport.class
157
			, BerlinModelWebMarkerCategoryImport.class
158
			, BerlinModelWebMarkerImport.class
159
            , BerlinModelCommonNamesImport.class
160

    
161
		};
162
	}
163

    
164

    
165

    
166
	/* (non-Javadoc)
167
	 * @see eu.etaxonomy.cdm.io.common.IImportConfigurator#getNewState()
168
	 */
169
	@Override
170
    public BerlinModelImportState getNewState() {
171
		return new BerlinModelImportState(this);
172
	}
173

    
174

    
175

    
176
	/**
177
	 * @param berlinModelSource
178
	 * @param sourceReference
179
	 * @param destination
180
	 */
181
	protected BerlinModelImportConfigurator(Source berlinModelSource, ICdmDataSource destination) {
182
	   super(berlinModelSource, destination, NomenclaturalCode.ICNAFP, defaultTransformer); //default for Berlin Model
183
	}
184

    
185

    
186
	/**
187
	 * Import name relationships yes/no?.
188
	 * @return
189
	 */
190
	public boolean isDoRelNames() {
191
		return doRelNames;
192
	}
193
	public void setDoRelNames(boolean doRelNames) {
194
		this.doRelNames = doRelNames;
195
	}
196

    
197
	/**
198
	 * @return the mediaUrl
199
	 */
200
	public URL getMediaUrl() {
201
		return mediaUrl;
202
	}
203

    
204
	/**
205
	 * @param mediaUrl the mediaUrl to set
206
	 */
207
	public void setMediaUrl(URL mediaUrl) {
208
		this.mediaUrl = mediaUrl;
209
	}
210

    
211
	/**
212
	 * @return the mediaPath
213
	 */
214
	public File getMediaPath() {
215
		return mediaPath;
216
	}
217

    
218
	/**
219
	 * @param mediaPath the mediaPath to set
220
	 */
221
	public void setMediaPath(File mediaPath) {
222
		this.mediaPath = mediaPath;
223
	}
224

    
225
	public void setMediaPath(String mediaPathString){
226
		this.mediaPath = new File(mediaPathString);
227
	}
228

    
229
	public void setMediaUrl(String mediaUrlString) {
230
		try {
231
			this.mediaUrl = new URL(mediaUrlString);
232
		} catch (MalformedURLException e) {
233
			logger.error("Could not set mediaUrl because it was malformed: " + mediaUrlString);
234
		}
235
	}
236

    
237
	/**
238
	 * @return the maximumNumberOfNameFacts
239
	 */
240
	public int getMaximumNumberOfNameFacts() {
241
		return maximumNumberOfNameFacts;
242
	}
243

    
244
	/**
245
	 * set to 0 for unlimited
246
	 *
247
	 * @param maximumNumberOfNameFacts the maximumNumberOfNameFacts to set
248
	 */
249
	public void setMaximumNumberOfNameFacts(int maximumNumberOfNameFacts) {
250
		this.maximumNumberOfNameFacts = maximumNumberOfNameFacts;
251
	}
252

    
253
	/**
254
	 * If true, an authorTeam with authorTeamId = 0 is not imported (casus Salvador)
255
	 * @return the isIgnore0AuthorTeam
256
	 */
257
	public boolean isIgnore0AuthorTeam() {
258
		return isIgnore0AuthorTeam;
259
	}
260

    
261
	/**
262
	 * @param isIgnore0AuthorTeam the isIgnore0AuthorTeam to set
263
	 */
264
	public void setIgnore0AuthorTeam(boolean isIgnore0AuthorTeam) {
265
		this.isIgnore0AuthorTeam = isIgnore0AuthorTeam;
266
	}
267

    
268
	/**
269
	 * @return the namerelationshipTypeMethod
270
	 */
271
	public Method getNamerelationshipTypeMethod() {
272
		return namerelationshipTypeMethod;
273
	}
274

    
275
	/**
276
	 * @param namerelationshipTypeMethod the namerelationshipTypeMethod to set
277
	 */
278
	public void setNamerelationshipTypeMethod(Method namerelationshipTypeMethod) {
279
		this.namerelationshipTypeMethod = namerelationshipTypeMethod;
280
	}
281

    
282
	/**
283
	 * @return the taxonPublishMarker
284
	 */
285
	public BerlinModelTaxonImport.PublishMarkerChooser getTaxonPublishMarker() {
286
		return taxonPublishMarker;
287
	}
288

    
289
	/**
290
	 * @param taxonPublishMarker the taxonPublishMarker to set
291
	 */
292
	public void setTaxonPublishMarker(
293
			BerlinModelTaxonImport.PublishMarkerChooser taxonPublishMarker) {
294
		this.taxonPublishMarker = taxonPublishMarker;
295
	}
296

    
297

    
298

    
299
	/**
300
	 * @return the uuidForDefTermMethod
301
	 */
302
	public Method getUuidForDefTermMethod() {
303
		return uuidForDefTermMethod;
304
	}
305

    
306
	/**
307
	 * @param uuidForDefTermMethod the uuidForDefTermMethod to set
308
	 */
309
	public void setUuidForDefTermMethod(Method uuidForDefTermMethod) {
310
		this.uuidForDefTermMethod = uuidForDefTermMethod;
311
	}
312

    
313

    
314

    
315

    
316
	/**
317
	 * @return the nameTypeDesignationStatusMethod
318
	 */
319
	public Method getNameTypeDesignationStatusMethod() {
320
		return nameTypeDesignationStatusMethod;
321
	}
322

    
323

    
324
	/**
325
	 * @param nameTypeDesignationStatusMethod the nameTypeDesignationStatusMethod to set
326
	 */
327
	public void setNameTypeDesignationStatusMethod(
328
			Method nameTypeDesignationStatusMethod) {
329
		this.nameTypeDesignationStatusMethod = nameTypeDesignationStatusMethod;
330
	}
331

    
332
	public boolean isDoNameStatus() {
333
		return doNameStatus;
334
	}
335
	public void setDoNameStatus(boolean doNameStatus) {
336
		this.doNameStatus = doNameStatus;
337
	}
338

    
339

    
340
	public boolean isDoCommonNames() {
341
		return doCommonNames;
342
	}
343

    
344

    
345
	/**
346
	 * @param doCommonNames
347
	 */
348
	public void setDoCommonNames(boolean doCommonNames) {
349
		this.doCommonNames = doCommonNames;
350

    
351
	}
352

    
353
	public boolean isDoFacts() {
354
		return doFacts;
355
	}
356
	public void setDoFacts(boolean doFacts) {
357
		this.doFacts = doFacts;
358
	}
359

    
360

    
361
	public boolean isDoOccurrence() {
362
		return doOccurrence;
363
	}
364
	public void setDoOccurrence(boolean doOccurrence) {
365
		this.doOccurrence = doOccurrence;
366
	}
367

    
368
    public boolean isDoOccurrenceSources() {
369
        return doOccurrenceSources;
370
    }
371
    public void setDoOccurrenceSources(boolean doOccurrenceSources) {
372
        this.doOccurrenceSources = doOccurrenceSources;
373
	}
374

    
375

    
376
	public boolean isDoMarker() {
377
		return doMarker;
378
	}
379

    
380
	public void setDoMarker(boolean doMarker) {
381
		this.doMarker = doMarker;
382
	}
383

    
384
	public boolean isDoUser() {
385
		return doUser;
386
	}
387
	public void setDoUser(boolean doUser) {
388
		this.doUser = doUser;
389
	}
390

    
391
	public boolean isDoNameFacts() {
392
		return doNameFacts;
393
	}
394
	public void setDoNameFacts(boolean doNameFacts) {
395
		this.doNameFacts = doNameFacts;
396
	}
397

    
398
	public boolean isDoAuthors() {
399
		return doAuthors;
400
	}
401
	public void setDoAuthors(boolean doAuthors) {
402
		this.doAuthors = doAuthors;
403
	}
404

    
405
	public DO_REFERENCES getDoReferences() {
406
		return doReferences;
407
	}
408
	public void setDoReferences(DO_REFERENCES doReferences) {
409
		this.doReferences = doReferences;
410
	}
411

    
412
	public boolean isDoTaxonNames() {
413
		return doTaxonNames;
414
	}
415
	public void setDoTaxonNames(boolean doTaxonNames) {
416
		this.doTaxonNames = doTaxonNames;
417
	}
418

    
419
	public boolean isDoTypes() {
420
		return doTypes;
421
	}
422
	public void setDoTypes(boolean doTypes) {
423
		this.doTypes = doTypes;
424
	}
425

    
426
	public boolean isDoTaxa() {
427
		return doTaxa;
428
	}
429
	public void setDoTaxa(boolean doTaxa) {
430
		this.doTaxa = doTaxa;
431
	}
432

    
433
	public boolean isDoRelTaxa() {
434
		return doRelTaxa;
435
	}
436
	public void setDoRelTaxa(boolean doRelTaxa) {
437
		this.doRelTaxa = doRelTaxa;
438
	}
439

    
440

    
441
	public String getTaxonTable() {
442
		return this.taxonTable ;
443
	}
444
	/**
445
	 * @param taxonTable the taxonTable to set
446
	 */
447
	public void setTaxonTable(String taxonTable) {
448
		this.taxonTable = taxonTable;
449
	}
450

    
451

    
452

    
453
	public String getClassificationQuery() {
454
		return this.classificationQuery ;
455
	}
456
	/**
457
	 * @param classificationQuery the classificationQuery to set
458
	 */
459
	public void setClassificationQuery(String classificationQuery) {
460
		this.classificationQuery = classificationQuery;
461
	}
462

    
463
	/**
464
	 * @param relTaxaIdQuery the relTaxaIdQuery to set
465
	 */
466
	public void setRelTaxaIdQuery(String relTaxaIdQuery) {
467
		this.relTaxaIdQuery = relTaxaIdQuery;
468
	}
469
	public String getRelTaxaIdQuery() {
470
		return this.relTaxaIdQuery ;
471
	}
472

    
473

    
474
	/**
475
	 * @return the nameIdTable
476
	 */
477
	public String getNameIdTable() {
478
		return nameIdTable;
479
	}
480
	/**
481
	 * @param nameIdTable the nameIdTable to set
482
	 */
483
	public void setNameIdTable(String nameIdTable) {
484
		this.nameIdTable = nameIdTable;
485
	}
486

    
487

    
488
	public void setReferenceIdTable(String referenceIdTable) {
489
		this.referenceIdTable = referenceIdTable;
490
	}
491
	public String getReferenceIdTable() {
492
		return referenceIdTable;
493
	}
494

    
495
	public void setFactFilter(String factFilter) {
496
		this.factFilter = factFilter;
497
	}
498
	public String getFactFilter() {
499
		return factFilter;
500
	}
501

    
502
	public void setRefDetailFilter(String refDetailFilter) {
503
		this.refDetailFilter = refDetailFilter;
504
	}
505
	public String getRefDetailFilter() {
506
		return refDetailFilter;
507
	}
508

    
509

    
510

    
511
	public String getOccurrenceFilter() {
512
		return occurrenceFilter;
513
	}
514
	public void setOccurrenceFilter(String occurrenceFilter) {
515
		this.occurrenceFilter = occurrenceFilter;
516
	}
517

    
518

    
519

    
520
	public String getCommonNameFilter() {
521
		return commonNameFilter;
522
	}
523
	public void setCommonNameFilter(String commonNameFilter) {
524
		this.commonNameFilter = commonNameFilter;
525
	}
526

    
527

    
528

    
529
	public String getOccurrenceSourceFilter() {
530
		return occurrenceSourceFilter;
531
	}
532
	public void setOccurrenceSourceFilter(String occurrenceSourceFilter) {
533
		this.occurrenceSourceFilter = occurrenceSourceFilter;
534
	}
535

    
536

    
537

    
538
	public String getWebMarkerFilter() {
539
		return webMarkerFilter;
540
	}
541
	public void setWebMarkerFilter(String webMarkerFilter) {
542
		this.webMarkerFilter = webMarkerFilter;
543
	}
544

    
545

    
546
	public boolean isUseSingleClassification() {
547
		return useSingleClassification;
548
	}
549
	public void setUseSingleClassification(boolean useSingleClassification) {
550
		this.useSingleClassification = useSingleClassification;
551
	}
552

    
553

    
554
	public void setAuthorTeamFilter(String authorTeamFilter) {
555
		this.authorTeamFilter = authorTeamFilter;
556
	}
557
	public String getAuthorTeamFilter() {
558
		return authorTeamFilter;
559
	}
560

    
561

    
562
	public String getAuthorFilter() {
563
		return authorFilter;
564
	}
565
	public void setAuthorFilter(String authorFilter) {
566
		this.authorFilter = authorFilter;
567
	}
568

    
569

    
570

    
571
	public boolean isSwitchSpeciesGroup() {
572
		return switchSpeciesGroup;
573
	}
574
	/**
575
	 * If true, the rankId for speicesGroup is changed from 59 to 57 and
576
	 * 59 is used for coll. species instead
577
	 * @param switchSpeciesGroup
578
	 */
579
	public void setSwitchSpeciesGroup(boolean switchSpeciesGroup) {
580
		this.switchSpeciesGroup = switchSpeciesGroup;
581
	}
582

    
583

    
584
	public boolean isSplitTdwgCodes() {
585
		return isSplitTdwgCodes;
586
	}
587
	public void setSplitTdwgCodes(boolean isSplitTdwgCodes) {
588
		this.isSplitTdwgCodes = isSplitTdwgCodes;
589
	}
590

    
591

    
592
	public Method getMakeUrlForTaxon() {
593
		return makeUrlForTaxon;
594
	}
595
	public void setMakeUrlForTaxon(Method makeUrlForTaxon) {
596
		this.makeUrlForTaxon = makeUrlForTaxon;
597
	}
598

    
599

    
600
	public String getInfrGenericRankAbbrev() {
601
		return infrGenericRankAbbrev;
602
	}
603
	public void setInfrGenericRankAbbrev(String infrGenericRankAbbrev) {
604
		this.infrGenericRankAbbrev = infrGenericRankAbbrev;
605
	}
606

    
607

    
608
	public String getInfrSpecificRankAbbrev() {
609
		return infrSpecificRankAbbrev;
610
	}
611
	public void setInfrSpecificRankAbbrev(String infrSpecificRankAbbrev) {
612
		this.infrSpecificRankAbbrev = infrSpecificRankAbbrev;
613
	}
614

    
615

    
616
	public boolean isRemoveHttpMapsAnchor() {
617
		return removeHttpMapsAnchor;
618
	}
619
	public void setRemoveHttpMapsAnchor(boolean removeHttpMapsAnchor) {
620
		this.removeHttpMapsAnchor = removeHttpMapsAnchor;
621
	}
622

    
623

    
624
	public boolean isIncludeFlatClassifications() {
625
		return includeFlatClassifications;
626
	}
627
	public void setIncludeFlatClassifications(boolean includeFlatClassifications) {
628
		this.includeFlatClassifications = includeFlatClassifications;
629
	}
630

    
631

    
632
	public boolean isIncludesAreaEmCode() {
633
		return includesEmCode;
634
	}
635
	public void setIncludesEmCode(boolean includesEmCode) {
636
		this.includesEmCode = includesEmCode;
637

    
638
	}
639

    
640

    
641
	public boolean isAllowInfraSpecTaxonRank() {
642
		return allowInfraSpecTaxonRank ;
643
	}
644
	public void setAllowInfraSpecTaxonRank(boolean allowInfraSpecTaxonRank) {
645
		this.allowInfraSpecTaxonRank = allowInfraSpecTaxonRank;
646
	}
647

    
648

    
649
	public boolean isIncludeAllNonMisappliedRelatedClassifications() {
650
		return includeAllNonMisappliedRelatedClassifications;
651
	}
652
	public void setIncludeAllNonMisappliedRelatedClassifications(boolean includeAllNonMisappliedRelatedClassifications) {
653
		this.includeAllNonMisappliedRelatedClassifications = includeAllNonMisappliedRelatedClassifications;
654
	}
655

    
656

    
657
	public boolean isUseEmAreaVocabulary() {
658
		return useEmAreaVocabulary;
659
	}
660
	public void setUseEmAreaVocabulary(boolean useEmAreaVocabulary) {
661
		this.useEmAreaVocabulary = useEmAreaVocabulary;
662
	}
663

    
664

    
665
    public boolean isSalvador() {return isSalvador;}
666
    public void setSalvador(boolean isSalvador) {this.isSalvador = isSalvador;}
667

    
668
    public boolean isEuroMed() {return isEuroMed;}
669
    public void setEuroMed(boolean isEuroMed) {this.isEuroMed = isEuroMed;}
670

    
671
    public UUID getFeatureTreeUuid() {
672
        return featureTreeUuid;
673
    }
674
    public void setFeatureTreeUuid(UUID featureTreeUuid) {
675
        this.featureTreeUuid = featureTreeUuid;
676
    }
677

    
678
    @Override
679
    public String getFeatureTreeTitle() {
680
        return featureTreeTitle;
681
    }
682
    @Override
683
    public void setFeatureTreeTitle(String featureTreeTitle) {
684
        this.featureTreeTitle = featureTreeTitle;
685
    }
686

    
687
    public boolean isUseLastScrutinyAsSec() {
688
        return useLastScrutinyAsSec;
689
    }
690
    public void setUseLastScrutinyAsSec(boolean useLastScrutinyAsSec) {
691
        this.useLastScrutinyAsSec = useLastScrutinyAsSec;
692
    }
693

    
694

    
695
    public boolean isDoPreliminaryRefDetailsWithNames() {
696
        return doPreliminaryRefDetailsWithNames;
697
    }
698
    public void setDoPreliminaryRefDetailsWithNames(boolean doPreliminaryRefDetailsWithNames) {
699
        this.doPreliminaryRefDetailsWithNames = doPreliminaryRefDetailsWithNames;
700
    }
701

    
702
    public boolean isWarnForDifferingSynonymReference() {
703
        return warnForDifferingSynonymReference;
704
    }
705
    public void setWarnForDifferingSynonymReference(boolean warnForDifferingSynonymReference) {
706
        this.warnForDifferingSynonymReference = warnForDifferingSynonymReference;
707
    }
708

    
709
    public boolean isLogNotMatchingOldNames() {
710
        return logNotMatchingOldNames;
711
    }
712
    public void setLogNotMatchingOldNames(boolean logNotMatchingOldNames) {
713
        this.logNotMatchingOldNames = logNotMatchingOldNames;
714
    }
715

    
716
    public boolean isCheckOldNameIsSynonym() {
717
        return checkOldNameIsSynonym;
718
    }
719
    public void setCheckOldNameIsSynonym(boolean checkOldNameIsSynonym) {
720
        this.checkOldNameIsSynonym = checkOldNameIsSynonym;
721
    }
722

    
723
    public boolean isLogMatchingNotExportedOldNames() {
724
        return logMatchingNotExportedOldNames;
725
    }
726
    public void setLogMatchingNotExportedOldNames(boolean logMatchingNotExportedOldNames) {
727
        this.logMatchingNotExportedOldNames = logMatchingNotExportedOldNames;
728
    }
729

    
730
    public boolean isDoSourceNumber() {
731
        return doSourceNumber;
732
    }
733
    public void setDoSourceNumber(boolean doSourceNumber) {
734
        this.doSourceNumber = doSourceNumber;
735
    }
736
    public boolean isDoNamedAreas() {
737
        return doNamedAreas;
738
    }
739
    public void setDoNamedAreas(boolean doNamedAreas) {
740
        this.doNamedAreas = doNamedAreas;
741
    }
742

    
743
}
(7-7/22)