Class DataBlockSpeciesCodes

java.lang.Object
tethys.species.DataBlockSpeciesCodes
Direct Known Subclasses:
RWSpeciesTypes

public class DataBlockSpeciesCodes extends Object
Class to return lists of species codes or names for a datablock. This information will then get incorporated into a more complicated translation table to provide PAMGuard data on it's way to Tethys with more rigid species code definitions.
Author:
dg50
  • Constructor Details

    • DataBlockSpeciesCodes

      public DataBlockSpeciesCodes(String defaultType)
      Parameters:
      defaultType -
    • DataBlockSpeciesCodes

      public DataBlockSpeciesCodes(int itisDefault, String defaultName, String defaultType)
      Parameters:
      itisDefault -
      defaultType -
    • DataBlockSpeciesCodes

      public DataBlockSpeciesCodes(String defaultType, String[] speciesList)
      constructor to use with a array of String names.
      Parameters:
      speciesList -
  • Method Details

    • getSpeciesNames

      public ArrayList<String> getSpeciesNames()
      Returns:
      the speciesNames
    • getItisDefault

      public int getItisDefault()
      Returns:
      the itisDefault
    • setItisDefault

      public void setItisDefault(int itisDefault)
      Parameters:
      itisDefault - the itisDefault to set
    • getDefaultType

      public String getDefaultType()
      Returns:
      the defaultType
    • setDefaultType

      public void setDefaultType(String defaultType)
      Parameters:
      defaultType - the defaultType to set
    • setSpeciesNames

      public void setSpeciesNames(ArrayList<String> speciesNames)
      Parameters:
      speciesNames - the speciesNames to set