org.wwbota.identification
Class SimpleTaxonomy

java.lang.Object
  |
  +--org.wwbota.identification.SimpleTaxonomy
All Implemented Interfaces:
Taxonomy

public class SimpleTaxonomy
extends java.lang.Object
implements Taxonomy

A Taxonomy is an aggregation of Descriptions of Taxa and Character objects


Constructor Summary
SimpleTaxonomy()
           
 
Method Summary
 Character getCharacter(java.lang.String key)
          Helper function; it uses getCharacters().
 java.util.Map getCharacters()
           
 java.util.Map getDescriptions()
           
 void load(java.lang.String fileName)
          NOT YET implemented ZZZZZZZZZZZZZZZZZZZZ
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleTaxonomy

public SimpleTaxonomy()
Method Detail

load

public void load(java.lang.String fileName)
NOT YET implemented ZZZZZZZZZZZZZZZZZZZZ
Specified by:
load in interface Taxonomy

getCharacters

public java.util.Map getCharacters()
Specified by:
getCharacters in interface Taxonomy
Following copied from interface: org.wwbota.identification.Taxonomy
Returns:
a Map of Character objects; the key is the unique name for the Character. So, using the Map API, you can use this to access the Character object by its name: (Character)myTaxonomy.getCharacters().get(name);

getDescriptions

public java.util.Map getDescriptions()
Specified by:
getDescriptions in interface Taxonomy
Following copied from interface: org.wwbota.identification.Taxonomy
Returns:
a Map of Description objects; the key is the unique name for the item (Taxon) being described

getCharacter

public Character getCharacter(java.lang.String key)
Helper function; it uses getCharacters().

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object