Class SpeciesMapItem

java.lang.Object
tethys.species.SpeciesMapItem
All Implemented Interfaces:
Serializable, Cloneable

public class SpeciesMapItem extends Object implements Serializable, Cloneable
Information linking a name within a PAMGuard datablock to a ITIS species code and call type. Also contains common and latin names for display purposes, though these are not essential.
Author:
dg50
See Also:
  • Field Details

  • Constructor Details

    • SpeciesMapItem

      public SpeciesMapItem(int itisCode, String callType, String pamguardName, String latinName, String commonName)
      Parameters:
      itisCode -
      callType -
      pamguardName -
      latinName -
      commonName -
    • SpeciesMapItem

      public SpeciesMapItem(int itisCode, String callType, String pamguardName)
      Parameters:
      itisCode -
      callType -
      pamguardName -
  • Method Details

    • getItisCode

      public int getItisCode()
      ITIS code. May be a real ITIS code or one of the -ve species that we're defining ourselves.
      Returns:
      the itisCode
    • getPamguardName

      public String getPamguardName()
      Species code that was used within PAMGuard. Redundant information, but useful
      Returns:
      the pamguardName
    • getLatinName

      public String getLatinName()
      Latin name extracted from ITIS database. Can be null if unknown.
      Returns:
      the latinName
    • getCommonName

      public String getCommonName()
      Common species name from ITIS database. Can be null if unknown.
      Returns:
      the commonName
    • getCallType

      public String getCallType()
      Type of call. Descriptive name for type of sound, e.g. 'click', 'whistle', 'D-call',
      Returns:
      the callType