Project

General

Profile

Download (19.8 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
package eu.etaxonomy.cdm.io.berlinModel.in;
10

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

    
17
import org.apache.logging.log4j.LogManager;
18
import org.apache.logging.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 final Logger logger = LogManager.getLogger();
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
	private boolean isMcl = false;
66

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

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

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

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

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

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

    
87
	private boolean useEmAreaVocabulary = false;
88

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

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

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

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

    
107
	private boolean switchSpeciesGroup = false;
108

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

    
113
	private boolean removeHttpMapsAnchor = false;
114

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

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

    
133
	private UUID featureTreeUuid;
134
	private String featureTreeTitle;
135

    
136
    private boolean isTaxonNoteAsFeature = false;
137

    
138
    private boolean doPreliminaryRefDetailsWithNames = false;
139

    
140

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

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

    
169
		};
170
	}
171

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    
290

    
291

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

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

    
306

    
307

    
308

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

    
316

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

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

    
332

    
333
	public boolean isDoCommonNames() {
334
		return doCommonNames;
335
	}
336

    
337

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

    
344
	}
345

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

    
353

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

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

    
368

    
369
	public boolean isDoMarker() {
370
		return doMarker;
371
	}
372

    
373
	public void setDoMarker(boolean doMarker) {
374
		this.doMarker = doMarker;
375
	}
376

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

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

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

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

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

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

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

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

    
433

    
434
	public String getTaxonTable() {
435
		return this.taxonTable ;
436
	}
437
	public void setTaxonTable(String taxonTable) {
438
		this.taxonTable = taxonTable;
439
	}
440

    
441
	public String getClassificationQuery() {
442
		return this.classificationQuery ;
443
	}
444
	public void setClassificationQuery(String classificationQuery) {
445
		this.classificationQuery = classificationQuery;
446
	}
447

    
448
	public void setRelTaxaIdQuery(String relTaxaIdQuery) {
449
		this.relTaxaIdQuery = relTaxaIdQuery;
450
	}
451
	public String getRelTaxaIdQuery() {
452
		return this.relTaxaIdQuery ;
453
	}
454

    
455
	public String getNameIdTable() {
456
		return nameIdTable;
457
	}
458
	public void setNameIdTable(String nameIdTable) {
459
		this.nameIdTable = nameIdTable;
460
	}
461

    
462
	public String getReferenceIdTable() {
463
	    return referenceIdTable;
464
	}
465
	public void setReferenceIdTable(String referenceIdTable) {
466
		this.referenceIdTable = referenceIdTable;
467
	}
468

    
469
	public String getFactFilter() {
470
	    return factFilter;
471
	}
472
	public void setFactFilter(String factFilter) {
473
		this.factFilter = factFilter;
474
	}
475

    
476
	public String getRefDetailFilter() {
477
	    return refDetailFilter;
478
	}
479
	public void setRefDetailFilter(String refDetailFilter) {
480
		this.refDetailFilter = refDetailFilter;
481
	}
482

    
483

    
484

    
485
	public String getOccurrenceFilter() {
486
		return occurrenceFilter;
487
	}
488
	public void setOccurrenceFilter(String occurrenceFilter) {
489
		this.occurrenceFilter = occurrenceFilter;
490
	}
491

    
492

    
493

    
494
	public String getCommonNameFilter() {
495
		return commonNameFilter;
496
	}
497
	public void setCommonNameFilter(String commonNameFilter) {
498
		this.commonNameFilter = commonNameFilter;
499
	}
500

    
501

    
502

    
503
	public String getOccurrenceSourceFilter() {
504
		return occurrenceSourceFilter;
505
	}
506
	public void setOccurrenceSourceFilter(String occurrenceSourceFilter) {
507
		this.occurrenceSourceFilter = occurrenceSourceFilter;
508
	}
509

    
510

    
511

    
512
	public String getWebMarkerFilter() {
513
		return webMarkerFilter;
514
	}
515
	public void setWebMarkerFilter(String webMarkerFilter) {
516
		this.webMarkerFilter = webMarkerFilter;
517
	}
518

    
519

    
520
	public boolean isUseSingleClassification() {
521
		return useSingleClassification;
522
	}
523
	public void setUseSingleClassification(boolean useSingleClassification) {
524
		this.useSingleClassification = useSingleClassification;
525
	}
526

    
527
	public String getAuthorTeamFilter() {
528
	    return authorTeamFilter;
529
	}
530
	public void setAuthorTeamFilter(String authorTeamFilter) {
531
		this.authorTeamFilter = authorTeamFilter;
532
	}
533

    
534
	public String getAuthorFilter() {
535
		return authorFilter;
536
	}
537
	public void setAuthorFilter(String authorFilter) {
538
		this.authorFilter = authorFilter;
539
	}
540

    
541
	public boolean isSwitchSpeciesGroup() {
542
		return switchSpeciesGroup;
543
	}
544
	/**
545
	 * If true, the rankId for speicesGroup is changed from 59 to 57 and
546
	 * 59 is used for coll. species instead
547
	 * @param switchSpeciesGroup
548
	 */
549
	public void setSwitchSpeciesGroup(boolean switchSpeciesGroup) {
550
		this.switchSpeciesGroup = switchSpeciesGroup;
551
	}
552

    
553

    
554
	public boolean isSplitTdwgCodes() {
555
		return isSplitTdwgCodes;
556
	}
557
	public void setSplitTdwgCodes(boolean isSplitTdwgCodes) {
558
		this.isSplitTdwgCodes = isSplitTdwgCodes;
559
	}
560

    
561

    
562
	public Method getMakeUrlForTaxon() {
563
		return makeUrlForTaxon;
564
	}
565
	public void setMakeUrlForTaxon(Method makeUrlForTaxon) {
566
		this.makeUrlForTaxon = makeUrlForTaxon;
567
	}
568

    
569

    
570
	public String getInfrGenericRankAbbrev() {
571
		return infrGenericRankAbbrev;
572
	}
573
	public void setInfrGenericRankAbbrev(String infrGenericRankAbbrev) {
574
		this.infrGenericRankAbbrev = infrGenericRankAbbrev;
575
	}
576

    
577

    
578
	public String getInfrSpecificRankAbbrev() {
579
		return infrSpecificRankAbbrev;
580
	}
581
	public void setInfrSpecificRankAbbrev(String infrSpecificRankAbbrev) {
582
		this.infrSpecificRankAbbrev = infrSpecificRankAbbrev;
583
	}
584

    
585

    
586
	public boolean isRemoveHttpMapsAnchor() {
587
		return removeHttpMapsAnchor;
588
	}
589
	public void setRemoveHttpMapsAnchor(boolean removeHttpMapsAnchor) {
590
		this.removeHttpMapsAnchor = removeHttpMapsAnchor;
591
	}
592

    
593

    
594
	public boolean isIncludeFlatClassifications() {
595
		return includeFlatClassifications;
596
	}
597
	public void setIncludeFlatClassifications(boolean includeFlatClassifications) {
598
		this.includeFlatClassifications = includeFlatClassifications;
599
	}
600

    
601

    
602
	public boolean isIncludesAreaEmCode() {
603
		return includesEmCode;
604
	}
605
	public void setIncludesEmCode(boolean includesEmCode) {
606
		this.includesEmCode = includesEmCode;
607

    
608
	}
609

    
610

    
611
	public boolean isAllowInfraSpecTaxonRank() {
612
		return allowInfraSpecTaxonRank ;
613
	}
614
	public void setAllowInfraSpecTaxonRank(boolean allowInfraSpecTaxonRank) {
615
		this.allowInfraSpecTaxonRank = allowInfraSpecTaxonRank;
616
	}
617

    
618

    
619
	public boolean isIncludeAllNonMisappliedRelatedClassifications() {
620
		return includeAllNonMisappliedRelatedClassifications;
621
	}
622
	public void setIncludeAllNonMisappliedRelatedClassifications(boolean includeAllNonMisappliedRelatedClassifications) {
623
		this.includeAllNonMisappliedRelatedClassifications = includeAllNonMisappliedRelatedClassifications;
624
	}
625

    
626

    
627
	public boolean isUseEmAreaVocabulary() {
628
		return useEmAreaVocabulary;
629
	}
630
	public void setUseEmAreaVocabulary(boolean useEmAreaVocabulary) {
631
		this.useEmAreaVocabulary = useEmAreaVocabulary;
632
	}
633

    
634

    
635
    public boolean isSalvador() {return isSalvador;}
636
    public void setSalvador(boolean isSalvador) {this.isSalvador = isSalvador;}
637

    
638
    public boolean isEuroMed() {return isEuroMed;}
639
    public void setEuroMed(boolean isEuroMed) {this.isEuroMed = isEuroMed;}
640

    
641
    public boolean isMcl() {return isMcl;}
642
    public void setMcl(boolean isMcl) {this.isMcl = isMcl;}
643

    
644
    public UUID getFeatureTreeUuid() {
645
        return featureTreeUuid;
646
    }
647
    public void setFeatureTreeUuid(UUID featureTreeUuid) {
648
        this.featureTreeUuid = featureTreeUuid;
649
    }
650

    
651
    @Override
652
    public String getFeatureTreeTitle() {
653
        return featureTreeTitle;
654
    }
655
    @Override
656
    public void setFeatureTreeTitle(String featureTreeTitle) {
657
        this.featureTreeTitle = featureTreeTitle;
658
    }
659

    
660
    public boolean isUseLastScrutinyAsSec() {
661
        return useLastScrutinyAsSec;
662
    }
663
    public void setUseLastScrutinyAsSec(boolean useLastScrutinyAsSec) {
664
        this.useLastScrutinyAsSec = useLastScrutinyAsSec;
665
    }
666

    
667

    
668
    public boolean isDoPreliminaryRefDetailsWithNames() {
669
        return doPreliminaryRefDetailsWithNames;
670
    }
671
    public void setDoPreliminaryRefDetailsWithNames(boolean doPreliminaryRefDetailsWithNames) {
672
        this.doPreliminaryRefDetailsWithNames = doPreliminaryRefDetailsWithNames;
673
    }
674

    
675
    public boolean isWarnForDifferingSynonymReference() {
676
        return warnForDifferingSynonymReference;
677
    }
678
    public void setWarnForDifferingSynonymReference(boolean warnForDifferingSynonymReference) {
679
        this.warnForDifferingSynonymReference = warnForDifferingSynonymReference;
680
    }
681

    
682
    public boolean isLogNotMatchingOldNames() {
683
        return logNotMatchingOldNames;
684
    }
685
    public void setLogNotMatchingOldNames(boolean logNotMatchingOldNames) {
686
        this.logNotMatchingOldNames = logNotMatchingOldNames;
687
    }
688

    
689
    public boolean isCheckOldNameIsSynonym() {
690
        return checkOldNameIsSynonym;
691
    }
692
    public void setCheckOldNameIsSynonym(boolean checkOldNameIsSynonym) {
693
        this.checkOldNameIsSynonym = checkOldNameIsSynonym;
694
    }
695

    
696
    public boolean isLogMatchingNotExportedOldNames() {
697
        return logMatchingNotExportedOldNames;
698
    }
699
    public void setLogMatchingNotExportedOldNames(boolean logMatchingNotExportedOldNames) {
700
        this.logMatchingNotExportedOldNames = logMatchingNotExportedOldNames;
701
    }
702

    
703
    public boolean isDoSourceNumber() {
704
        return doSourceNumber;
705
    }
706
    public void setDoSourceNumber(boolean doSourceNumber) {
707
        this.doSourceNumber = doSourceNumber;
708
    }
709
    public boolean isDoNamedAreas() {
710
        return doNamedAreas;
711
    }
712
    public void setDoNamedAreas(boolean doNamedAreas) {
713
        this.doNamedAreas = doNamedAreas;
714
    }
715

    
716
    public boolean isIncludeMANsForOldNameCheck() {
717
        return includeMANsForOldNameCheck;
718
    }
719
    public void setIncludeMANsForOldNameCheck(boolean includeMANsForOldNameCheck) {
720
        this.includeMANsForOldNameCheck = includeMANsForOldNameCheck;
721
    }
722

    
723
}
(7-7/22)