public interface TaxonomyDatabase
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsGenus(String genus)
Does the database contain at least one record that exactly matches specified genus?.
|
boolean |
containsSpecies(String genus,
String species)
Does the database contain at least one record that exactly matches specified genus and species?.
|
List<String> |
findSimilarGenus(String genus,
int maxSize)
Return a list of genera close to the specified genus.
|
List<String> |
findSimilarSpecies(String genus,
String species,
int maxSize)
Return a list of species close to the specified genus and species.
|
String |
getSpeciesAuthority(String genus,
String species)
Return the species authority for the specified species within genus.
|
boolean containsGenus(String genus)
genus - the genustrue if there is at least one recordList<String> findSimilarGenus(String genus, int maxSize)
genus - genusmaxSize - TODOboolean containsSpecies(String genus, String species)
genus - the genusspecies - the speciestrue if there is at least one recordList<String> findSimilarSpecies(String genus, String species, int maxSize)
genus - valid genusspecies - speciesmaxSize - TODOCopyright © 2016 Global Crop Diversity Trust. All rights reserved.