public class Taxon extends Object implements Nameable
A taxonomic rank is the relative level of a group of organisms in a taxonomic hierarchy. Examples of taxonomic ranks are species, genus, family, order, class, phylum, kingdom, domain, etc.
The name is a descriptive term for this group, its hierarchical clade.
| Constructor and Description |
|---|
Taxon(String name)
Creates a taxon with unknown or unspecified rank.
|
Taxon(String rank,
String name)
Creates a new Taxon with rank and name.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the name, by which the object can be referenced.
|
String |
getRank()
Returns the rank of this taxon.
|
void |
setName(String name)
Sets the name of this taxon.
|
void |
setRank(String rank)
Sets the rank of this taxon.
|
public Taxon(String rank, String name)
rank - The rank.name - The name.public Taxon(String name)
name - The name.public String getRank()
public void setRank(String rank)
rank - The rank.public String getName()
Nameablepublic void setName(String name)
name - The name.Copyright © 2017. All rights reserved.