3 * Copyright (C) 2009 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
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.
10 package eu
.etaxonomy
.cdm
.api
.service
.config
;
12 import eu
.etaxonomy
.cdm
.api
.service
.ITaxonService
;
15 * This class is used to configure synonym deletion.
17 * @see ITaxonService#deleteSynonym(eu.etaxonomy.cdm.model.taxon.Synonym)
23 public class SynonymDeletionConfigurator
extends TaxonBaseDeletionConfigurator
{
24 private boolean newHomotypicGroupIfNeeded
= true;
26 public boolean isNewHomotypicGroupIfNeeded() {
27 return newHomotypicGroupIfNeeded
;
30 public void setNewHomotypicGroupIfNeeded(boolean newHomotypicGroupIfNeeded
) {
31 this.newHomotypicGroupIfNeeded
= newHomotypicGroupIfNeeded
;