Merge branch 'release/5.44.0'
[cdmlib.git] / cdmlib-services / src / main / java / eu / etaxonomy / cdm / api / service / config / SynonymDeletionConfigurator.java
1 /**
2 * Copyright (C) 2009 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.api.service.config;
10
11 import eu.etaxonomy.cdm.api.service.ITaxonService;
12
13 /**
14 * This class is used to configure synonym deletion.
15 *
16 * @see ITaxonService#deleteSynonym(eu.etaxonomy.cdm.model.taxon.Synonym)
17 *
18 * @author k.luther
19 * @since 09.11.2011
20 */
21 public class SynonymDeletionConfigurator extends TaxonBaseDeletionConfigurator{
22 private static final long serialVersionUID = 6899789097652652387L;
23
24 private boolean newHomotypicGroupIfNeeded = true;
25
26 public boolean isNewHomotypicGroupIfNeeded() {
27 return newHomotypicGroupIfNeeded;
28 }
29 public void setNewHomotypicGroupIfNeeded(boolean newHomotypicGroupIfNeeded) {
30 this.newHomotypicGroupIfNeeded = newHomotypicGroupIfNeeded;
31 }
32 }