Project

General

Profile

Download (1.05 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2007 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

    
10
package eu.etaxonomy.taxeditor.preference.matching;
11

    
12
import eu.etaxonomy.cdm.model.common.CdmBase;
13
import eu.etaxonomy.cdm.model.name.TaxonName;
14
import eu.etaxonomy.cdm.strategy.match.IMatchStrategy;
15
import eu.etaxonomy.cdm.strategy.match.MatchException;
16
import eu.etaxonomy.cdm.strategy.match.MatchStrategyConfigurator;
17

    
18
/**
19
 * <p>NonViralNameMatchingPreference class.</p>
20
 *
21
 * @author n.hoffmann
22
 * @created Jan 22, 2010
23
 */
24
public class NonViralNameMatchingPreference extends AbstractMatchingPreferences<TaxonName>{
25

    
26
    @Override
27
    public Class<? extends CdmBase> getType(){
28
        return TaxonName.class;
29
    }
30

    
31
	/** {@inheritDoc} */
32
	@Override
33
	protected IMatchStrategy getDefaultMatchStrategy() throws MatchException {
34
		return MatchStrategyConfigurator.getDefaultNonViralNameMatchStrategy();
35
	}
36
}
(2-2/4)