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 org
.apache
.log4j
.Logger
;
13 import eu
.etaxonomy
.cdm
.api
.service
.ITaxonNodeService
;
16 * This class is used to configure taxon node deletion.
18 * @see ITaxonNodeService#delete(eu.etaxonomy.cdm.model.taxon.TaxonNode)
24 public class TaxonNodeDeletionConfigurator
extends NodeDeletionConfigurator
{
25 @SuppressWarnings("unused")
26 private static final Logger logger
= Logger
.getLogger(TaxonNodeDeletionConfigurator
.class);
28 public boolean isDeleteTaxon() {
29 return isDeleteElement();
32 public void setDeleteTaxon(boolean deleteTaxon
) {
33 this.deleteElement
= deleteTaxon
;