Class ITISFunctions

java.lang.Object
tethys.species.ITISFunctions

public class ITISFunctions extends Object
Functions associated with pulling ITIS information from the databsae.
Author:
dg50
  • Constructor Details

    • ITISFunctions

      public ITISFunctions(TethysControl tethysControl)
  • Method Details

    • getITISInformation

      public TethysITISResult getITISInformation(int itisCode)
    • searchSpecies

      public ArrayList<SpeciesMapItem> searchSpecies(String searchTerm)
      Search species codes. If the search term is a valid Integer number then it's assumed to be an ITIS code and the function should return a single map item. If it's non-integer, it's assumed to be a common or latin name search
      Parameters:
      searchTerm -
      Returns:
      array list of possible matches.
    • searchNames

      public ArrayList<SpeciesMapItem> searchNames(String searchTerm)
      Search common and latin names for partial matched of the search term and return an array list of all possible matches.
      Parameters:
      searchTerm -
      Returns: