Package tethys.species
Class DataBlockSpeciesCodes
java.lang.Object
tethys.species.DataBlockSpeciesCodes
- Direct Known Subclasses:
RWSpeciesTypes
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 Summary
ConstructorDescriptionDataBlockSpeciesCodes
(int itisDefault, String defaultName, String defaultType) DataBlockSpeciesCodes
(String defaultType) DataBlockSpeciesCodes
(String defaultType, String[] speciesList) constructor to use with a array of String names. -
Method Summary
Modifier and TypeMethodDescriptionint
void
setDefaultType
(String defaultType) void
setItisDefault
(int itisDefault) void
setSpeciesNames
(ArrayList<String> speciesNames)
-
Constructor Details
-
DataBlockSpeciesCodes
- Parameters:
defaultType
-
-
DataBlockSpeciesCodes
- Parameters:
itisDefault
-defaultType
-
-
DataBlockSpeciesCodes
constructor to use with a array of String names.- Parameters:
speciesList
-
-
-
Method Details
-
getSpeciesNames
- Returns:
- the speciesNames
-
getItisDefault
public int getItisDefault()- Returns:
- the itisDefault
-
setItisDefault
public void setItisDefault(int itisDefault) - Parameters:
itisDefault
- the itisDefault to set
-
getDefaultType
- Returns:
- the defaultType
-
setDefaultType
- Parameters:
defaultType
- the defaultType to set
-
setSpeciesNames
- Parameters:
speciesNames
- the speciesNames to set
-