2 * Copyright (C) 2007 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.
10 package eu
.etaxonomy
.cdm
.strategy
.cache
;
15 * Tags for atomised taxon name strings and atomised reference citation strings.
16 * Used by {@link TaggedText}.
18 * @author a.kohlbecker
20 * @created 13.12.2007 12:04:15
26 * A taxon name including genus name, epithet etc.
30 * A name rank abbreviation, e.g. subsp.
34 * Non-atomised addition to a taxon name not ruled by a nomenclatural code
38 * The authors of a reference, also used in taxon names
46 * Volume, page number etc. of a reference
50 * Publication year of a reference
54 * A full taxon name including all name information and nomenclatural
55 * reference information
59 * The nomenclatural status of a name
63 * A separator to separate two tags () .
64 * A separator should include all needed whitespaces. So adding of whitespace
65 * is not needed if a separator is given.
75 public boolean isName(){
78 public boolean isRank(){
81 public boolean isAuthors(){
82 return this == authors
;
84 public boolean isAppendedPhrase(){
85 return this == appendedPhrase
;
87 public boolean isReference(){
88 return this == reference
;
90 public boolean isYear(){
93 public boolean isFullName(){
94 return this == fullName
;
97 public boolean isNomStatus(){
98 return this == nomStatus
;
100 public boolean isSeparator(){
101 return this == separator
;
103 public boolean isHybridSign(){
104 return this == hybridSign
;