1
|
// $Id$
|
2
|
/**
|
3
|
* Copyright (C) 2009 EDIT
|
4
|
* European Distributed Institute of Taxonomy
|
5
|
* http://www.e-taxonomy.eu
|
6
|
*
|
7
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
8
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
9
|
*/
|
10
|
package eu.etaxonomy.cdm.api.service.config;
|
11
|
|
12
|
import eu.etaxonomy.cdm.api.service.ITaxonService;
|
13
|
|
14
|
/**
|
15
|
* This class is used to configure synonym deletion.
|
16
|
*
|
17
|
* @see ITaxonService#deleteSynonym(eu.etaxonomy.cdm.model.taxon.Synonym)
|
18
|
*
|
19
|
* @author k.luther
|
20
|
* @date 09.11.2011
|
21
|
*
|
22
|
*/
|
23
|
public class SynonymDeletionConfigurator extends TaxonBaseDeletionConfigurator{
|
24
|
private boolean newHomotypicGroupIfNeeded = true;
|
25
|
|
26
|
public boolean isNewHomotypicGroupIfNeeded() {
|
27
|
return newHomotypicGroupIfNeeded;
|
28
|
}
|
29
|
|
30
|
public void setNewHomotypicGroupIfNeeded(boolean newHomotypicGroupIfNeeded) {
|
31
|
this.newHomotypicGroupIfNeeded = newHomotypicGroupIfNeeded;
|
32
|
}
|
33
|
|
34
|
|
35
|
|
36
|
|
37
|
}
|