Package rocca

Class RoccaLoggingDataUnit

All Implemented Interfaces:
Comparable<PamDataUnit>, PamDetection, AcousticDataUnit

public class RoccaLoggingDataUnit extends PamDataUnit<PamDataUnit,PamDataUnit> implements PamDetection
Data unit containing the RoccaContourDataBlock to save to the database
Author:
Michael Oswald
  • Constructor Details

    • RoccaLoggingDataUnit

      public RoccaLoggingDataUnit(long timeMilliseconds, RoccaContourStats contourStats)
      Main constructor
      Parameters:
      timeMilliseconds - time recorded in the first data block
      contourStats - the RoccaContourStats object containing the calculated/measured parameters from the contour
  • Method Details

    • getContourStatsObject

      public RoccaContourStats getContourStatsObject()
      return the RoccaContourStats object
    • getContourStats

      public EnumMap<RoccaContourStats.ParamIndx,Double> getContourStats()
      return the EnumMap containing the measured/calculated parameters contained in the RoccaContourStats object
    • setContourStats

      public void setContourStats(RoccaContourStats contourStats)
    • getClassifiedSpecies

      public String getClassifiedSpecies()
    • setClassifiedSpecies

      public void setClassifiedSpecies(String classifiedAs)
    • getClassifierUsed

      public String getClassifierUsed()
    • setClassifierUsed

      public void setClassifierUsed(String classifierUsed)
    • getClassifier2Used

      public String getClassifier2Used()
    • setClassifier2Used

      public void setClassifier2Used(String classifier2Used)
    • getFilename

      public String getFilename()
    • setFilename

      public void setFilename(String clipFile)
    • getDetectionCount

      public int getDetectionCount()
    • setDetectionCount

      public void setDetectionCount(int detectionCount)
    • getSightingNum

      public String getSightingNum()
    • setSightingNum

      public void setSightingNum(String sightingNum)
    • getSpList

      public String getSpList()
    • setSpList

      public void setSpList(String spList)
    • getVoteList

      public String getVoteList()
    • setVoteList

      public void setVoteList(String voteList)
    • getLatitude

      public double getLatitude()
    • setLatitude

      public void setLatitude(double latitude)
    • getLongitude

      public double getLongitude()
    • setLongitude

      public void setLongitude(double longitude)