1
|
/**
|
2
|
* Copyright (C) 2016 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
|
package eu.etaxonomy.cdm.persistence.dto;
|
10
|
|
11
|
public enum TaxonStatus{
|
12
|
Accepted,
|
13
|
SynonymObjective,
|
14
|
Synonym; //All others including undefined and explicitly subjective /heterotypic synonyms
|
15
|
|
16
|
public boolean isSynonym(){
|
17
|
return this == SynonymObjective || this == Synonym;
|
18
|
}
|
19
|
}
|