Class FixedSpeciesManager<T extends PamDataUnit>

java.lang.Object
tethys.species.DataBlockSpeciesManager<T>
tethys.species.FixedSpeciesManager<T>
Direct Known Subclasses:
IshmaelSpeciesManager

public class FixedSpeciesManager<T extends PamDataUnit> extends DataBlockSpeciesManager<T>
  • Constructor Details

    • FixedSpeciesManager

      public FixedSpeciesManager(PamDataBlock dataBlock, int itisCode, String name, String callType)
  • Method Details

    • getSpeciesCodes

      public DataBlockSpeciesCodes 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 class DataBlockSpeciesManager<T extends PamDataUnit>
      Returns:
      object containing a list of species types.
    • getSpeciesCode

      public String getSpeciesCode(T dataunit)
      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 class DataBlockSpeciesManager<T extends PamDataUnit>
      Returns:
      A species code for a specific data unit. May be null (e.g. for an unclassified click)