jebl.evolution.taxa
Class TaxonomicLevel

java.lang.Object
  extended by jebl.evolution.taxa.TaxonomicLevel

public class TaxonomicLevel
extends Object

Author:
Andrew Rambaut, Alexei Drummond

Method Summary
 String getName()
          get the name of the taxonomic level
static TaxonomicLevel getTaxonomicLevel(String name)
          A static method that returns a TaxonomicLevel object with the given name.
static Set getTaxonomicLevels()
          Returns a Set containing all the currently created taxonomic levels.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public String getName()
get the name of the taxonomic level

Returns:
the name

getTaxonomicLevel

public static TaxonomicLevel getTaxonomicLevel(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 Set getTaxonomicLevels()
Returns a Set containing all the currently created taxonomic levels.

Returns: