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