Interface ITaxon


public interface ITaxon
Biological classifications from domain down to genus. Used by the Forestry analyzers to display hierarchies.
  • Method Details

    • name

      String name()
      Returns:
      The lowercase name of the taxon.
    • rank

      Returns:
      The level inside the full hierarchy this particular taxon is located at.
    • children

      List<ITaxon> children()
      Returns:
      The taxa directly below this taxon. Guaranteed to be empty if this taxon is a TaxonomicRank.GENUS.
    • species

      List<ISpecies<?>> species()
      Returns:
      The member species of this group. Empty if this taxon is not a TaxonomicRank.GENUS.
    • parent

      @Nullable ITaxon parent()
      Returns:
      The parent taxon, or null if this is a TaxonomicRank.DOMAIN.
    • alleles

      A taxon may have alleles added to it so that its species will inherit a common set of default alleles upon registration. For example, the default genomes of all bee species in the boggy genus will have the Mushroom flower type allele.
      Returns:
      A map of default alleles inherited by members of this taxon. Does not include alleles from parent taxa.