Class SubdetectionInfo<T extends PamDataUnit>

java.lang.Object
PamguardMVC.superdet.SubdetectionInfo<T>
Type Parameters:
T -
All Implemented Interfaces:
Comparable<SubdetectionInfo<T>>

public class SubdetectionInfo<T extends PamDataUnit> extends Object implements Comparable<SubdetectionInfo<T>>
A list of these is held within a SuperDetection data unit. Ideally, a superDetection should always have it's full list of these infos, so that it can handle questions about start and end times of events, etc. However, references to the actual data units may be missing, if not in the current data load period. That's fine, since all questions likely to be asked can come from the broad information.
Author:
Doug Gillespie
  • Constructor Details Link icon

    • SubdetectionInfo Link icon

      public SubdetectionInfo(T subDetection, int parentID, long parentUID)
      Parameters:
      subDetection2 -
    • SubdetectionInfo Link icon

      public SubdetectionInfo(T subDetection, SuperDetection superDetection)
      Constructor used when adding a new data unit that isn't yet in the database.
      Parameters:
      subDetection -
      superDetection -
    • SubdetectionInfo Link icon

      public SubdetectionInfo(PamSubtableData subTableData)
      Constructor used when reading back from database.
      Parameters:
      subTableData - data object from database.
  • Method Details Link icon

    • getSubDetection Link icon

      public T getSubDetection()
    • setSubDetection Link icon

      public void setSubDetection(T subDetection)
    • getParentID Link icon

      public int getParentID()
    • setParentID Link icon

      public void setParentID(int linkID)
    • getParentUID Link icon

      public long getParentUID()
    • setParentUID Link icon

      public void setParentUID(long linkUID)
    • compareTo Link icon

      public int compareTo(SubdetectionInfo detectionToCompareAgainst)
      Calls the PamDataUnit compareTo method on the passed SubdetectionInfo object's subdetection
      Specified by:
      compareTo in interface Comparable<T extends PamDataUnit>
      See Also:
    • getSubDetDataBlock Link icon

      public PamDataBlock getSubDetDataBlock()
      Returns:
      the subDetDataBlock
    • setSubDetDataBlock Link icon

      public void setSubDetDataBlock(PamDataBlock subDetDataBlock)
      Parameters:
      subDetDataBlock - the subDetDataBlock to set
    • getLongName Link icon

      public String getLongName()
      Returns:
      the longName
    • getBinaryFilename Link icon

      public String getBinaryFilename()
      Returns:
      the binaryFilename
    • getChildUID Link icon

      public long getChildUID()
      Returns:
      the childUID
    • getChildUTC Link icon

      public long getChildUTC()
      Returns:
      the childUTC
    • getChildDatabaseIndex Link icon

      public int getChildDatabaseIndex()
      Returns:
      the chileDatabaseIndex
    • setChildDatabaseIndex Link icon

      public void setChildDatabaseIndex(int childDatabaseIndex)
      Parameters:
      childDatabaseIndex - the chileDatabaseIndex to set
    • getBinaryFileIndex Link icon

      public int getBinaryFileIndex()
      Returns:
      the binaryFileIndex
    • setBinaryFileIndex Link icon

      public void setBinaryFileIndex(int binaryFileIndex)
      Parameters:
      binaryFileIndex - the binaryFileIndex to set
    • getClickNumber Link icon

      public Integer getClickNumber()
      Returns:
      the clickNumber
    • setChildUID Link icon

      public void setChildUID(long childUID)
      Parameters:
      childUID - the childUID to set