Package jebl.evolution.taxa
Class TaxonomicLevel
- java.lang.Object
-
- jebl.evolution.taxa.TaxonomicLevel
-
public class TaxonomicLevel extends java.lang.Object
- Version:
- $Id: TaxonomicLevel.java 185 2006-01-23 23:03:18Z rambaut $
- Author:
- Andrew Rambaut, Alexei Drummond
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
get the name of the taxonomic levelstatic TaxonomicLevel
getTaxonomicLevel(java.lang.String name)
A static method that returns a TaxonomicLevel object with the given name.static java.util.Set
getTaxonomicLevels()
Returns a Set containing all the currently created taxonomic levels.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
get the name of the taxonomic level- Returns:
- the name
-
getTaxonomicLevel
public static TaxonomicLevel getTaxonomicLevel(java.lang.String name)
A static method that returns a TaxonomicLevel object with the given name. If this has already been created then the same instance will be returned.- Parameters:
name
- the name of the taxonomic level- Returns:
- the taxonomic level object
-
getTaxonomicLevels
public static java.util.Set getTaxonomicLevels()
Returns a Set containing all the currently created taxonomic levels.- Returns:
-
-