Enum Class Rank

java.lang.Object
java.lang.Enum<Rank>
org.gbif.api.vocabulary.Rank
All Implemented Interfaces:
Serializable, Comparable<Rank>, Constable

public enum Rank extends Enum<Rank>
An ordered taxonomic rank enumeration with the most frequently used values. Several static methods, lists, sets and maps are provided to help with ordering and lookup from strings.
See Also:
  • Enum Constant Details

    • DOMAIN

      public static final Rank DOMAIN
    • SUPERKINGDOM

      public static final Rank SUPERKINGDOM
    • KINGDOM

      public static final Rank KINGDOM
    • SUBKINGDOM

      public static final Rank SUBKINGDOM
    • INFRAKINGDOM

      public static final Rank INFRAKINGDOM
    • SUPERPHYLUM

      public static final Rank SUPERPHYLUM
    • PHYLUM

      public static final Rank PHYLUM
    • SUBPHYLUM

      public static final Rank SUBPHYLUM
    • INFRAPHYLUM

      public static final Rank INFRAPHYLUM
    • SUPERCLASS

      public static final Rank SUPERCLASS
    • CLASS

      public static final Rank CLASS
    • SUBCLASS

      public static final Rank SUBCLASS
    • INFRACLASS

      public static final Rank INFRACLASS
    • PARVCLASS

      public static final Rank PARVCLASS
    • SUPERLEGION

      public static final Rank SUPERLEGION
    • LEGION

      public static final Rank LEGION
      Sometimes used in zoology, e.g. for birds and mammals
    • SUBLEGION

      public static final Rank SUBLEGION
    • INFRALEGION

      public static final Rank INFRALEGION
    • SUPERCOHORT

      public static final Rank SUPERCOHORT
    • COHORT

      public static final Rank COHORT
      Sometimes used in zoology, e.g. for birds and mammals
    • SUBCOHORT

      public static final Rank SUBCOHORT
    • INFRACOHORT

      public static final Rank INFRACOHORT
    • MAGNORDER

      public static final Rank MAGNORDER
    • SUPERORDER

      public static final Rank SUPERORDER
    • GRANDORDER

      public static final Rank GRANDORDER
    • ORDER

      public static final Rank ORDER
    • SUBORDER

      public static final Rank SUBORDER
    • INFRAORDER

      public static final Rank INFRAORDER
    • PARVORDER

      public static final Rank PARVORDER
    • SUPERFAMILY

      public static final Rank SUPERFAMILY
    • FAMILY

      public static final Rank FAMILY
    • SUBFAMILY

      public static final Rank SUBFAMILY
    • INFRAFAMILY

      public static final Rank INFRAFAMILY
    • SUPERTRIBE

      public static final Rank SUPERTRIBE
    • TRIBE

      public static final Rank TRIBE
    • SUBTRIBE

      public static final Rank SUBTRIBE
    • INFRATRIBE

      public static final Rank INFRATRIBE
    • SUPRAGENERIC_NAME

      public static final Rank SUPRAGENERIC_NAME
      Used for any other unspecific rank above genera.
    • GENUS

      public static final Rank GENUS
    • SUBGENUS

      public static final Rank SUBGENUS
    • INFRAGENUS

      public static final Rank INFRAGENUS
    • SECTION

      public static final Rank SECTION
    • SUBSECTION

      public static final Rank SUBSECTION
    • SERIES

      public static final Rank SERIES
    • SUBSERIES

      public static final Rank SUBSERIES
    • INFRAGENERIC_NAME

      public static final Rank INFRAGENERIC_NAME
      used for any other unspecific rank below genera and above species.
    • SPECIES_AGGREGATE

      public static final Rank SPECIES_AGGREGATE
      A loosely defined group of species. Zoology: Aggregate - a group of species, other than a subgenus, within a genus. An aggregate may be denoted by a group name interpolated in parentheses. The Berlin/MoreTax model notes: [these] aren't taxonomic ranks but cirumscriptions because on the one hand they are necessary for the concatenation of the fullname and on the other hand they are necessary for distinguishing the aggregate or species group from the microspecies.
    • SPECIES

      public static final Rank SPECIES
    • INFRASPECIFIC_NAME

      public static final Rank INFRASPECIFIC_NAME
      used for any other unspecific rank below species.
    • GREX

      public static final Rank GREX
      The term grex has been coined to expand botanical nomenclature to describe hybrids of orchids. Grex names are one of the three categories of plant names governed by the International Code of Nomenclature for Cultivated Plants Within a grex the Groups category can be used to refer to plants by their shared characteristics (rather than by their parentage), and individual orchid plants can be selected (and propagated) and named as cultivars https://en.wikipedia.org/wiki/Grex_(horticulture)
    • SUBSPECIES

      public static final Rank SUBSPECIES
    • CULTIVAR_GROUP

      public static final Rank CULTIVAR_GROUP
      Rank in use from the code for cultivated plants. It does not use a classic rank marker but indicated the Group rank after the actual groups name For example Rhododendron boothii Mishmiense Group or Primula Border Auricula Group Sometimes authors also used the words "sort", "type", "selections" or "hybrids" instead of Group which is not legal according to the code.
    • CONVARIETY

      public static final Rank CONVARIETY
      A group of cultivars. These can be roughly comparable to cultivar groups, but convarieties, unlike cultivar groups, do not necessarily contain named varieties, and convarieties are members of traditional "Linnaean" ranks. The ICNCP replaced this term with the term cultivar-group, and convarieties should not be used in modern cultivated plant taxonomy. From Spooner et al., Horticultural Reviews 28 (2003): 1-60
    • INFRASUBSPECIFIC_NAME

      public static final Rank INFRASUBSPECIFIC_NAME
      used also for any other unspecific rank below subspecies.
    • PROLES

      public static final Rank PROLES
      Botanical legacy rank
    • RACE

      public static final Rank RACE
      Botanical legacy rank
    • NATIO

      public static final Rank NATIO
      Zoological legacy rank
    • ABERRATION

      public static final Rank ABERRATION
      Zoological legacy rank
    • MORPH

      public static final Rank MORPH
      Zoological legacy rank
    • VARIETY

      public static final Rank VARIETY
    • SUBVARIETY

      public static final Rank SUBVARIETY
    • FORM

      public static final Rank FORM
    • SUBFORM

      public static final Rank SUBFORM
    • PATHOVAR

      public static final Rank PATHOVAR
      Microbial rank based on pathogenic reactions in one or more hosts. For recommendations on designating pathovars and use of designations when reviving names see Dye et al. (1980) Standards for naming pathovars of phytopathogenic bacteria and a list of pathovar names and pathotype strains. Rev. Plant Pathol. 59:153–168. See Bacteriological Code See International Standards for Naming Pathovars of Phytopathogenic Bacteria See Demystifying the nomenclature of bacterial plant pathogens See Problems with the Pathovar Concept For example Pseudomonas syringae pv. lachrymans
    • BIOVAR

      public static final Rank BIOVAR
      Microbial rank based on biochemical or physiological properties. See Bacteriological Code For example Francisella tularensis biovar tularensis
    • CHEMOVAR

      public static final Rank CHEMOVAR
      Microbial rank based on production or amount of production of a particular chemical. See Bacteriological Code For example Vibrio alginolyticus chemovar iophagus
    • MORPHOVAR

      public static final Rank MORPHOVAR
      Microbial rank based on morphological characterislics. See Bacteriological Code For example Acinetobacter junii morphovar I
    • PHAGOVAR

      public static final Rank PHAGOVAR
      Microbial infrasubspecific rank based on reactions to bacteriophage. See Bacteriological Code For example Staphyloccocus aureus phagovar 42D
    • SEROVAR

      public static final Rank SEROVAR
      Microbial infrasubspecific rank based on antigenic characteristics. See Bacteriological Code For example Salmonella enterica serovar Dublin
    • CHEMOFORM

      public static final Rank CHEMOFORM
      Microbial infrasubspecific rank based on chemical constitution. See Bacteriological Code For example Thymus vulgaris ct. geraniol
    • FORMA_SPECIALIS

      public static final Rank FORMA_SPECIALIS
      Microbial infrasubspecific rank. A parasitic, symbiotic, or commensal microorganism distinguished primarily by adaptation to a particular host or habitat. Named preferably by the scientific name of the host in the genitive. See Bacteriological Code For example Puccinia graminis f. sp. avenae
    • CULTIVAR

      public static final Rank CULTIVAR
    • STRAIN

      public static final Rank STRAIN
      A microbial strain.
    • OTHER

      public static final Rank OTHER
      Any other rank we cannot map to this enumeration
    • UNRANKED

      public static final Rank UNRANKED
  • Field Details

    • LINNEAN_RANKS

      public static final List<Rank> LINNEAN_RANKS
      All main Linnean ranks ordered.
    • DWC_RANKS

      public static final List<Rank> DWC_RANKS
      An ordered list of all ranks that appear in Darwin Core with their own term.
  • Method Details

    • values

      public static Rank[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Rank valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getMarker

      public String getMarker()
    • isInfraspecific

      public boolean isInfraspecific()
      Returns:
      true for infraspecific ranks.
    • isInfrasubspecific

      public boolean isInfrasubspecific()
      Returns:
      true for infra subspecific ranks.
    • isInfrageneric

      public boolean isInfrageneric()
      Returns:
      true for rank is below genus. Also incluse species and infraspecific ranks
    • isInfragenericStrictly

      public boolean isInfragenericStrictly()
      Returns:
      true for real infrageneric ranks with an infragenericEpithet below genus and above species aggregate.
    • isLinnean

      public boolean isLinnean()
      True for all mayor Linnéan ranks, ie kingdom,phylum,class,order,family,genus and species.
    • isSpeciesOrBelow

      public boolean isSpeciesOrBelow()
    • isSpeciesAggregateOrBelow

      public boolean isSpeciesAggregateOrBelow()
    • notOtherOrUnknown

      public boolean notOtherOrUnknown()
    • isSuprageneric

      public boolean isSuprageneric()
      Returns:
      true if the rank is above genus.
    • isSupraspecific

      public boolean isSupraspecific()
      Returns:
      true if the rank is above rank species.
    • isUncomparable

      public boolean isUncomparable()
      True for names of informal ranks that represent a range of ranks really and therefore cannot safely be compared to other ranks in all cases. Example ranks are INFRASPECIFIC_NAME or INFRAGENERIC_NAME
      Returns:
      true if uncomparable
    • isLegacy

      public boolean isLegacy()
      Returns:
      true if the rank is considered a legacy rank not used anymore in current nomenclature.
    • isRestrictedToCode

      Returns:
      the nomenclatural code if the rank is restricted to just one code or null otherwise
    • higherThan

      public boolean higherThan(Rank other)
      Returns:
      true if this rank is higher than the given other