Package tethys.species
Class FixedSpeciesManager<T extends PamDataUnit>
java.lang.Object
tethys.species.DataBlockSpeciesManager<T>
tethys.species.FixedSpeciesManager<T>
- Direct Known Subclasses:
IshmaelSpeciesManager
-
Constructor Summary
ConstructorDescriptionFixedSpeciesManager
(PamDataBlock dataBlock, int itisCode, String name, String callType) -
Method Summary
Modifier and TypeMethodDescriptiongetSpeciesCode
(T dataunit) Gets a species string for a specific data unit, This is abstracted since different detectors store this in non standard ways.Object that contains a list of species codes.Methods inherited from class tethys.species.DataBlockSpeciesManager
checkSpeciesMapError, getAllSpeciesCodes, getDataBlock, getDatablockSpeciesMap, getDefaultDefaultSpecies, getDefaultSpeciesCode, getSpeciesItem, makeUniqueList, setDatablockSpeciesMap, setDefaultDefaultSpecies, setDefaultSpeciesCode, showSpeciesDialog
-
Constructor Details
-
FixedSpeciesManager
-
-
Method Details
-
getSpeciesCodes
Description copied from class:DataBlockSpeciesManager
Object that contains a list of species codes. This may be fluid between configurations and may change during a session, e.g. through the addition of a new click type or changes to the whistle classifier settings.- Specified by:
getSpeciesCodes
in classDataBlockSpeciesManager<T extends PamDataUnit>
- Returns:
- object containing a list of species types.
-
getSpeciesCode
Description copied from class:DataBlockSpeciesManager
Gets a species string for a specific data unit, This is abstracted since different detectors store this in non standard ways. The result of this should be within the set provided by getSpeciesCodes() which can then be used in the DataBlockSpeciesMap to look up an itis code.- Specified by:
getSpeciesCode
in classDataBlockSpeciesManager<T extends PamDataUnit>
- Returns:
- A species code for a specific data unit. May be null (e.g. for an unclassified click)
-