Project

General

Profile

Download (19.9 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
33
        extends DbImportConfiguratorBase<BerlinModelImportState>{
34

    
35
    private static final long serialVersionUID = 70300913255425256L;
36

    
37
    private static Logger logger = Logger.getLogger(BerlinModelImportConfigurator.class);
38

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

    
43
	private PublishMarkerChooser taxonPublishMarker = PublishMarkerChooser.ALL;
44

    
45
	//TODO
46
	private static IInputTransformer defaultTransformer = null;
47

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

    
63
	private boolean isSalvador = false;
64
	private boolean isEuroMed = false;
65

    
66
	//taxa
67
	private boolean doTaxa = true;
68
	private boolean doRelTaxa = true;
69

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

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

    
77
	//references
78
	private boolean doSourceNumber = false;
79

    
80
    //nullValues
81
    private boolean ignoreNull = false;
82

    
83
	//occurrences
84
	private boolean isSplitTdwgCodes = true;
85

    
86
	private boolean useEmAreaVocabulary = false;
87

    
88
	private boolean includesEmCode = true;  // in Campanula we do not have an EMCOde
89
	private boolean allowInfraSpecTaxonRank = true;
90

    
91
	private Method namerelationshipTypeMethod;
92
	private Method uuidForDefTermMethod;
93
	private Method nameTypeDesignationStatusMethod;
94

    
95
	private boolean logNotMatchingOldNames = false;
96
	private boolean logMatchingNotExportedOldNames = true;
97
	private boolean checkOldNameIsSynonym = false;
98
	private boolean includeMANsForOldNameCheck = false;
99

    
100
	// NameFact stuff
101
	private URL mediaUrl;
102
	private File mediaPath;
103
	private int maximumNumberOfNameFacts;
104
	private boolean isIgnore0AuthorTeam = false;
105

    
106
	private boolean switchSpeciesGroup = false;
107

    
108
	//Term labels
109
	private String infrGenericRankAbbrev = null;
110
	private String infrSpecificRankAbbrev = null;
111

    
112
	private boolean removeHttpMapsAnchor = false;
113

    
114
	//Data Filter
115
	private String taxonTable = "PTaxon";
116
	private String classificationQuery = null;
117
	private String relTaxaIdQuery = null;
118
	private String nameIdTable = null;
119
	private String referenceIdTable = null;
120
	private String authorTeamFilter = null;
121
	private String authorFilter = null;
122
	private String factFilter = null;
123
	private String refDetailFilter = null;
124
	private String commonNameFilter = null;
125
	private String occurrenceFilter = null;
126
	private String occurrenceSourceFilter = null;
127
	private String webMarkerFilter = null;
128

    
129
	//specific functions
130
	private Method 	makeUrlForTaxon = null;
131

    
132
	private UUID featureTreeUuid;
133
	private String featureTreeTitle;
134

    
135
    private boolean isTaxonNoteAsFeature = false;
136

    
137
    private boolean doPreliminaryRefDetailsWithNames = false;
138

    
139

    
140
    public boolean isTaxonNoteAsFeature() {return isTaxonNoteAsFeature;}
141
    public void setTaxonNoteAsFeature(boolean isTaxonNoteAsFeature) {this.isTaxonNoteAsFeature = isTaxonNoteAsFeature;}
142

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

    
167
		};
168
	}
169

    
170
	@Override
171
    public BerlinModelImportState getNewState() {
172
		return new BerlinModelImportState(this);
173
	}
174

    
175
	protected BerlinModelImportConfigurator(Source berlinModelSource, ICdmDataSource destination) {
176
	   super(berlinModelSource, destination, NomenclaturalCode.ICNAFP, defaultTransformer); //default for Berlin Model
177
	}
178

    
179
	/**
180
	 * Import name relationships yes/no?.
181
	 */
182
	public boolean isDoRelNames() {
183
		return doRelNames;
184
	}
185
	public void setDoRelNames(boolean doRelNames) {
186
		this.doRelNames = doRelNames;
187
	}
188

    
189
	public URL getMediaUrl() {
190
		return mediaUrl;
191
	}
192
	public void setMediaUrl(URL mediaUrl) {
193
		this.mediaUrl = mediaUrl;
194
	}
195

    
196
	public File getMediaPath() {
197
		return mediaPath;
198
	}
199
	public void setMediaPath(File mediaPath) {
200
		this.mediaPath = mediaPath;
201
	}
202

    
203
	public void setMediaPath(String mediaPathString){
204
		this.mediaPath = new File(mediaPathString);
205
	}
206

    
207
	public void setMediaUrl(String mediaUrlString) {
208
		try {
209
			this.mediaUrl = new URL(mediaUrlString);
210
		} catch (MalformedURLException e) {
211
			logger.error("Could not set mediaUrl because it was malformed: " + mediaUrlString);
212
		}
213
	}
214

    
215
	/**
216
	 * @return the maximumNumberOfNameFacts
217
	 */
218
	public int getMaximumNumberOfNameFacts() {
219
		return maximumNumberOfNameFacts;
220
	}
221

    
222
	/**
223
	 * set to 0 for unlimited
224
	 *
225
	 * @param maximumNumberOfNameFacts the maximumNumberOfNameFacts to set
226
	 */
227
	public void setMaximumNumberOfNameFacts(int maximumNumberOfNameFacts) {
228
		this.maximumNumberOfNameFacts = maximumNumberOfNameFacts;
229
	}
230

    
231
    /**
232
     * If true, no errors occur if objects are not found that should exist. This may
233
     * be needed e.g. when only subsets of the data are imported.
234
     * Default value is <cod>false</code>.
235
     * @return the ignoreNull
236
     */
237
    public boolean isIgnoreNull() {
238
        return ignoreNull;
239
    }
240
    public void setIgnoreNull(boolean ignoreNull) {
241
        this.ignoreNull = ignoreNull;
242
    }
243

    
244
	/**
245
	 * If true, an authorTeam with authorTeamId = 0 is not imported (casus Salvador)
246
	 * @return the isIgnore0AuthorTeam
247
	 */
248
	public boolean isIgnore0AuthorTeam() {
249
		return isIgnore0AuthorTeam;
250
	}
251

    
252
	/**
253
	 * @param isIgnore0AuthorTeam the isIgnore0AuthorTeam to set
254
	 */
255
	public void setIgnore0AuthorTeam(boolean isIgnore0AuthorTeam) {
256
		this.isIgnore0AuthorTeam = isIgnore0AuthorTeam;
257
	}
258

    
259
	/**
260
	 * @return the namerelationshipTypeMethod
261
	 */
262
	public Method getNamerelationshipTypeMethod() {
263
		return namerelationshipTypeMethod;
264
	}
265

    
266
	/**
267
	 * @param namerelationshipTypeMethod the namerelationshipTypeMethod to set
268
	 */
269
	public void setNamerelationshipTypeMethod(Method namerelationshipTypeMethod) {
270
		this.namerelationshipTypeMethod = namerelationshipTypeMethod;
271
	}
272

    
273
	/**
274
	 * @return the taxonPublishMarker
275
	 */
276
	public BerlinModelTaxonImport.PublishMarkerChooser getTaxonPublishMarker() {
277
		return taxonPublishMarker;
278
	}
279

    
280
	/**
281
	 * @param taxonPublishMarker the taxonPublishMarker to set
282
	 */
283
	public void setTaxonPublishMarker(
284
			BerlinModelTaxonImport.PublishMarkerChooser taxonPublishMarker) {
285
		this.taxonPublishMarker = taxonPublishMarker;
286
	}
287

    
288

    
289

    
290
	/**
291
	 * @return the uuidForDefTermMethod
292
	 */
293
	public Method getUuidForDefTermMethod() {
294
		return uuidForDefTermMethod;
295
	}
296

    
297
	/**
298
	 * @param uuidForDefTermMethod the uuidForDefTermMethod to set
299
	 */
300
	public void setUuidForDefTermMethod(Method uuidForDefTermMethod) {
301
		this.uuidForDefTermMethod = uuidForDefTermMethod;
302
	}
303

    
304

    
305

    
306

    
307
	/**
308
	 * @return the nameTypeDesignationStatusMethod
309
	 */
310
	public Method getNameTypeDesignationStatusMethod() {
311
		return nameTypeDesignationStatusMethod;
312
	}
313

    
314

    
315
	/**
316
	 * @param nameTypeDesignationStatusMethod the nameTypeDesignationStatusMethod to set
317
	 */
318
	public void setNameTypeDesignationStatusMethod(
319
			Method nameTypeDesignationStatusMethod) {
320
		this.nameTypeDesignationStatusMethod = nameTypeDesignationStatusMethod;
321
	}
322

    
323
	public boolean isDoNameStatus() {
324
		return doNameStatus;
325
	}
326
	public void setDoNameStatus(boolean doNameStatus) {
327
		this.doNameStatus = doNameStatus;
328
	}
329

    
330

    
331
	public boolean isDoCommonNames() {
332
		return doCommonNames;
333
	}
334

    
335

    
336
	/**
337
	 * @param doCommonNames
338
	 */
339
	public void setDoCommonNames(boolean doCommonNames) {
340
		this.doCommonNames = doCommonNames;
341

    
342
	}
343

    
344
	public boolean isDoFacts() {
345
		return doFacts;
346
	}
347
	public void setDoFacts(boolean doFacts) {
348
		this.doFacts = doFacts;
349
	}
350

    
351

    
352
	public boolean isDoOccurrence() {
353
		return doOccurrence;
354
	}
355
	public void setDoOccurrence(boolean doOccurrence) {
356
		this.doOccurrence = doOccurrence;
357
	}
358

    
359
    public boolean isDoOccurrenceSources() {
360
        return doOccurrenceSources;
361
    }
362
    public void setDoOccurrenceSources(boolean doOccurrenceSources) {
363
        this.doOccurrenceSources = doOccurrenceSources;
364
	}
365

    
366

    
367
	public boolean isDoMarker() {
368
		return doMarker;
369
	}
370

    
371
	public void setDoMarker(boolean doMarker) {
372
		this.doMarker = doMarker;
373
	}
374

    
375
	public boolean isDoUser() {
376
		return doUser;
377
	}
378
	public void setDoUser(boolean doUser) {
379
		this.doUser = doUser;
380
	}
381

    
382
	public boolean isDoNameFacts() {
383
		return doNameFacts;
384
	}
385
	public void setDoNameFacts(boolean doNameFacts) {
386
		this.doNameFacts = doNameFacts;
387
	}
388

    
389
	public boolean isDoAuthors() {
390
		return doAuthors;
391
	}
392
	public void setDoAuthors(boolean doAuthors) {
393
		this.doAuthors = doAuthors;
394
	}
395

    
396
	public DO_REFERENCES getDoReferences() {
397
		return doReferences;
398
	}
399
	public void setDoReferences(DO_REFERENCES doReferences) {
400
		this.doReferences = doReferences;
401
	}
402

    
403
	public boolean isDoTaxonNames() {
404
		return doTaxonNames;
405
	}
406
	public void setDoTaxonNames(boolean doTaxonNames) {
407
		this.doTaxonNames = doTaxonNames;
408
	}
409

    
410
	public boolean isDoTypes() {
411
		return doTypes;
412
	}
413
	public void setDoTypes(boolean doTypes) {
414
		this.doTypes = doTypes;
415
	}
416

    
417
	public boolean isDoTaxa() {
418
		return doTaxa;
419
	}
420
	public void setDoTaxa(boolean doTaxa) {
421
		this.doTaxa = doTaxa;
422
	}
423

    
424
	public boolean isDoRelTaxa() {
425
		return doRelTaxa;
426
	}
427
	public void setDoRelTaxa(boolean doRelTaxa) {
428
		this.doRelTaxa = doRelTaxa;
429
	}
430

    
431

    
432
	public String getTaxonTable() {
433
		return this.taxonTable ;
434
	}
435
	/**
436
	 * @param taxonTable the taxonTable to set
437
	 */
438
	public void setTaxonTable(String taxonTable) {
439
		this.taxonTable = taxonTable;
440
	}
441

    
442

    
443

    
444
	public String getClassificationQuery() {
445
		return this.classificationQuery ;
446
	}
447
	/**
448
	 * @param classificationQuery the classificationQuery to set
449
	 */
450
	public void setClassificationQuery(String classificationQuery) {
451
		this.classificationQuery = classificationQuery;
452
	}
453

    
454
	/**
455
	 * @param relTaxaIdQuery the relTaxaIdQuery to set
456
	 */
457
	public void setRelTaxaIdQuery(String relTaxaIdQuery) {
458
		this.relTaxaIdQuery = relTaxaIdQuery;
459
	}
460
	public String getRelTaxaIdQuery() {
461
		return this.relTaxaIdQuery ;
462
	}
463

    
464

    
465
	/**
466
	 * @return the nameIdTable
467
	 */
468
	public String getNameIdTable() {
469
		return nameIdTable;
470
	}
471
	/**
472
	 * @param nameIdTable the nameIdTable to set
473
	 */
474
	public void setNameIdTable(String nameIdTable) {
475
		this.nameIdTable = nameIdTable;
476
	}
477

    
478

    
479
	public void setReferenceIdTable(String referenceIdTable) {
480
		this.referenceIdTable = referenceIdTable;
481
	}
482
	public String getReferenceIdTable() {
483
		return referenceIdTable;
484
	}
485

    
486
	public void setFactFilter(String factFilter) {
487
		this.factFilter = factFilter;
488
	}
489
	public String getFactFilter() {
490
		return factFilter;
491
	}
492

    
493
	public void setRefDetailFilter(String refDetailFilter) {
494
		this.refDetailFilter = refDetailFilter;
495
	}
496
	public String getRefDetailFilter() {
497
		return refDetailFilter;
498
	}
499

    
500

    
501

    
502
	public String getOccurrenceFilter() {
503
		return occurrenceFilter;
504
	}
505
	public void setOccurrenceFilter(String occurrenceFilter) {
506
		this.occurrenceFilter = occurrenceFilter;
507
	}
508

    
509

    
510

    
511
	public String getCommonNameFilter() {
512
		return commonNameFilter;
513
	}
514
	public void setCommonNameFilter(String commonNameFilter) {
515
		this.commonNameFilter = commonNameFilter;
516
	}
517

    
518

    
519

    
520
	public String getOccurrenceSourceFilter() {
521
		return occurrenceSourceFilter;
522
	}
523
	public void setOccurrenceSourceFilter(String occurrenceSourceFilter) {
524
		this.occurrenceSourceFilter = occurrenceSourceFilter;
525
	}
526

    
527

    
528

    
529
	public String getWebMarkerFilter() {
530
		return webMarkerFilter;
531
	}
532
	public void setWebMarkerFilter(String webMarkerFilter) {
533
		this.webMarkerFilter = webMarkerFilter;
534
	}
535

    
536

    
537
	public boolean isUseSingleClassification() {
538
		return useSingleClassification;
539
	}
540
	public void setUseSingleClassification(boolean useSingleClassification) {
541
		this.useSingleClassification = useSingleClassification;
542
	}
543

    
544

    
545
	public void setAuthorTeamFilter(String authorTeamFilter) {
546
		this.authorTeamFilter = authorTeamFilter;
547
	}
548
	public String getAuthorTeamFilter() {
549
		return authorTeamFilter;
550
	}
551

    
552

    
553
	public String getAuthorFilter() {
554
		return authorFilter;
555
	}
556
	public void setAuthorFilter(String authorFilter) {
557
		this.authorFilter = authorFilter;
558
	}
559

    
560

    
561

    
562
	public boolean isSwitchSpeciesGroup() {
563
		return switchSpeciesGroup;
564
	}
565
	/**
566
	 * If true, the rankId for speicesGroup is changed from 59 to 57 and
567
	 * 59 is used for coll. species instead
568
	 * @param switchSpeciesGroup
569
	 */
570
	public void setSwitchSpeciesGroup(boolean switchSpeciesGroup) {
571
		this.switchSpeciesGroup = switchSpeciesGroup;
572
	}
573

    
574

    
575
	public boolean isSplitTdwgCodes() {
576
		return isSplitTdwgCodes;
577
	}
578
	public void setSplitTdwgCodes(boolean isSplitTdwgCodes) {
579
		this.isSplitTdwgCodes = isSplitTdwgCodes;
580
	}
581

    
582

    
583
	public Method getMakeUrlForTaxon() {
584
		return makeUrlForTaxon;
585
	}
586
	public void setMakeUrlForTaxon(Method makeUrlForTaxon) {
587
		this.makeUrlForTaxon = makeUrlForTaxon;
588
	}
589

    
590

    
591
	public String getInfrGenericRankAbbrev() {
592
		return infrGenericRankAbbrev;
593
	}
594
	public void setInfrGenericRankAbbrev(String infrGenericRankAbbrev) {
595
		this.infrGenericRankAbbrev = infrGenericRankAbbrev;
596
	}
597

    
598

    
599
	public String getInfrSpecificRankAbbrev() {
600
		return infrSpecificRankAbbrev;
601
	}
602
	public void setInfrSpecificRankAbbrev(String infrSpecificRankAbbrev) {
603
		this.infrSpecificRankAbbrev = infrSpecificRankAbbrev;
604
	}
605

    
606

    
607
	public boolean isRemoveHttpMapsAnchor() {
608
		return removeHttpMapsAnchor;
609
	}
610
	public void setRemoveHttpMapsAnchor(boolean removeHttpMapsAnchor) {
611
		this.removeHttpMapsAnchor = removeHttpMapsAnchor;
612
	}
613

    
614

    
615
	public boolean isIncludeFlatClassifications() {
616
		return includeFlatClassifications;
617
	}
618
	public void setIncludeFlatClassifications(boolean includeFlatClassifications) {
619
		this.includeFlatClassifications = includeFlatClassifications;
620
	}
621

    
622

    
623
	public boolean isIncludesAreaEmCode() {
624
		return includesEmCode;
625
	}
626
	public void setIncludesEmCode(boolean includesEmCode) {
627
		this.includesEmCode = includesEmCode;
628

    
629
	}
630

    
631

    
632
	public boolean isAllowInfraSpecTaxonRank() {
633
		return allowInfraSpecTaxonRank ;
634
	}
635
	public void setAllowInfraSpecTaxonRank(boolean allowInfraSpecTaxonRank) {
636
		this.allowInfraSpecTaxonRank = allowInfraSpecTaxonRank;
637
	}
638

    
639

    
640
	public boolean isIncludeAllNonMisappliedRelatedClassifications() {
641
		return includeAllNonMisappliedRelatedClassifications;
642
	}
643
	public void setIncludeAllNonMisappliedRelatedClassifications(boolean includeAllNonMisappliedRelatedClassifications) {
644
		this.includeAllNonMisappliedRelatedClassifications = includeAllNonMisappliedRelatedClassifications;
645
	}
646

    
647

    
648
	public boolean isUseEmAreaVocabulary() {
649
		return useEmAreaVocabulary;
650
	}
651
	public void setUseEmAreaVocabulary(boolean useEmAreaVocabulary) {
652
		this.useEmAreaVocabulary = useEmAreaVocabulary;
653
	}
654

    
655

    
656
    public boolean isSalvador() {return isSalvador;}
657
    public void setSalvador(boolean isSalvador) {this.isSalvador = isSalvador;}
658

    
659
    public boolean isEuroMed() {return isEuroMed;}
660
    public void setEuroMed(boolean isEuroMed) {this.isEuroMed = isEuroMed;}
661

    
662
    public UUID getFeatureTreeUuid() {
663
        return featureTreeUuid;
664
    }
665
    public void setFeatureTreeUuid(UUID featureTreeUuid) {
666
        this.featureTreeUuid = featureTreeUuid;
667
    }
668

    
669
    @Override
670
    public String getFeatureTreeTitle() {
671
        return featureTreeTitle;
672
    }
673
    @Override
674
    public void setFeatureTreeTitle(String featureTreeTitle) {
675
        this.featureTreeTitle = featureTreeTitle;
676
    }
677

    
678
    public boolean isUseLastScrutinyAsSec() {
679
        return useLastScrutinyAsSec;
680
    }
681
    public void setUseLastScrutinyAsSec(boolean useLastScrutinyAsSec) {
682
        this.useLastScrutinyAsSec = useLastScrutinyAsSec;
683
    }
684

    
685

    
686
    public boolean isDoPreliminaryRefDetailsWithNames() {
687
        return doPreliminaryRefDetailsWithNames;
688
    }
689
    public void setDoPreliminaryRefDetailsWithNames(boolean doPreliminaryRefDetailsWithNames) {
690
        this.doPreliminaryRefDetailsWithNames = doPreliminaryRefDetailsWithNames;
691
    }
692

    
693
    public boolean isWarnForDifferingSynonymReference() {
694
        return warnForDifferingSynonymReference;
695
    }
696
    public void setWarnForDifferingSynonymReference(boolean warnForDifferingSynonymReference) {
697
        this.warnForDifferingSynonymReference = warnForDifferingSynonymReference;
698
    }
699

    
700
    public boolean isLogNotMatchingOldNames() {
701
        return logNotMatchingOldNames;
702
    }
703
    public void setLogNotMatchingOldNames(boolean logNotMatchingOldNames) {
704
        this.logNotMatchingOldNames = logNotMatchingOldNames;
705
    }
706

    
707
    public boolean isCheckOldNameIsSynonym() {
708
        return checkOldNameIsSynonym;
709
    }
710
    public void setCheckOldNameIsSynonym(boolean checkOldNameIsSynonym) {
711
        this.checkOldNameIsSynonym = checkOldNameIsSynonym;
712
    }
713

    
714
    public boolean isLogMatchingNotExportedOldNames() {
715
        return logMatchingNotExportedOldNames;
716
    }
717
    public void setLogMatchingNotExportedOldNames(boolean logMatchingNotExportedOldNames) {
718
        this.logMatchingNotExportedOldNames = logMatchingNotExportedOldNames;
719
    }
720

    
721
    public boolean isDoSourceNumber() {
722
        return doSourceNumber;
723
    }
724
    public void setDoSourceNumber(boolean doSourceNumber) {
725
        this.doSourceNumber = doSourceNumber;
726
    }
727
    public boolean isDoNamedAreas() {
728
        return doNamedAreas;
729
    }
730
    public void setDoNamedAreas(boolean doNamedAreas) {
731
        this.doNamedAreas = doNamedAreas;
732
    }
733

    
734
    public boolean isIncludeMANsForOldNameCheck() {
735
        return includeMANsForOldNameCheck;
736
    }
737
    public void setIncludeMANsForOldNameCheck(boolean includeMANsForOldNameCheck) {
738
        this.includeMANsForOldNameCheck = includeMANsForOldNameCheck;
739
    }
740

    
741
}
(7-7/22)