2 * Copyright (C) 2013 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
;
11 import java
.util
.EnumSet
;
14 * @author a.kohlbecker
18 public enum TaxaAndNamesSearchMode
{
27 public static EnumSet
<TaxaAndNamesSearchMode
> taxaAndSynonyms(){
28 return EnumSet
.of(doTaxa
, doSynonyms
);
30 public static EnumSet
<TaxaAndNamesSearchMode
> taxaAndSynonymsWithUnpublished(){
31 return EnumSet
.of(doTaxa
, doSynonyms
, includeUnpublished
);