* @return a {@link eu.etaxonomy.cdm.strategy.match.IMatchStrategy} object.
*/
public static IMatchStrategy TeamOrPersonMatchStrategy() throws MatchException{
- return null;// PreferencesUtil.getMatchStrategy(TeamOrPersonBase.class);
+ return PreferencesUtil.getMatchStrategy(TeamOrPersonBase.class);
}
/**
IMatchStrategy strategy = PreferencesUtil.getDefaultMatchStrategy(NonViralName.class);
strategy.setMatchMode("nomenclaturalReference", MatchMode.IGNORE);
- strategy.setMatchMode("combinationAuthorTeam", MatchMode.IGNORE);
- strategy.setMatchMode("exCombinationAuthorTeam", MatchMode.IGNORE);
- strategy.setMatchMode("basionymAuthorTeam", MatchMode.IGNORE);
- strategy.setMatchMode("exBasionymAuthorTeam", MatchMode.IGNORE);
+ strategy.setMatchMode("combinationAuthorship", MatchMode.IGNORE);
+ strategy.setMatchMode("exCombinationAuthorship", MatchMode.IGNORE);
+ strategy.setMatchMode("basionymAuthorship", MatchMode.IGNORE);
+ strategy.setMatchMode("exBasionymAuthorship", MatchMode.IGNORE);
return strategy;
}