Class TargetMotionSQLLogging

java.lang.Object
targetMotionOld.TargetMotionSQLLogging
All Implemented Interfaces:
SQLLoggingAddon
Direct Known Subclasses:
CrossedBearingSQLAddon, TMAnnotationLogging

public class TargetMotionSQLLogging extends Object implements SQLLoggingAddon
Reinstated Target motion add-in as used by the click detector. Hope one day still to replace this with Jamie's new one, but keep this one until Jamie's is working.
Author:
Doug Gillespie
  • Constructor Details Link icon

    • TargetMotionSQLLogging Link icon

      public TargetMotionSQLLogging(int numResults)
      Parameters:
      numResults - Number of results to display
      initials - initials for prefix of column names.
    • TargetMotionSQLLogging Link icon

      public TargetMotionSQLLogging(int numResults, String initials)
      Parameters:
      numResults - Number of results to display
      initials - initials for prefix of column names.
  • Method Details Link icon

    • hideColumns Link icon

      public void hideColumns(PamTableItem[] tableItems)
    • isHidden Link icon

      public boolean isHidden(PamTableItem[] tableItems)
    • unHideColumns Link icon

      public void unHideColumns(PamTableItem[] tableItems)
    • addTableItems Link icon

      public void addTableItems(EmptyTableDefinition pamTableDefinition)
      Description copied from interface: SQLLoggingAddon
      Add a load of columns to an existing table definition
      Specified by:
      addTableItems in interface SQLLoggingAddon
    • saveData Link icon

      public boolean saveData(SQLTypes sqlTypes, EmptyTableDefinition pamTableDefinition, PamDataUnit pamDataUnit)
      Description copied from interface: SQLLoggingAddon
      Save data - that is transfer data from the pamDataUnit to the data objects within the table definition
      Specified by:
      saveData in interface SQLLoggingAddon
      Parameters:
      pamTableDefinition - table definition
      pamDataUnit - data unit
      Returns:
      true if successful
    • loadData Link icon

      public boolean loadData(SQLTypes sqlTypes, EmptyTableDefinition pamTableDefinition, PamDataUnit pamDataUnit)
      Description copied from interface: SQLLoggingAddon
      Load data - that is read data from the table definition and turn it into something sensible within or attached to the data unit.
      Specified by:
      loadData in interface SQLLoggingAddon
      Parameters:
      pamTableDefinition - table definition
      pamDataUnit - data unit
      Returns:
      true if successful
    • getTargetMotionLocaliser Link icon

      public TargetMotionLocaliser getTargetMotionLocaliser()
      Returns:
      the targetMotionLocaliser
    • setTargetMotionLocaliser Link icon

      public void setTargetMotionLocaliser(TargetMotionLocaliser targetMotionLocaliser)
      Parameters:
      targetMotionLocaliser - the targetMotionLocaliser to set
    • getName Link icon

      public String getName()
      Description copied from interface: SQLLoggingAddon
      Get a name for the SQLLogging Addon. this is used in identifying the Addon meaning that it should be possible to have two Addon's with the same class, but different fields.
      Specified by:
      getName in interface SQLLoggingAddon
      Returns:
      the name of the Logging Addon
    • getNumResults Link icon

      public int getNumResults()
      Returns:
      the numResults
    • getModelName Link icon

      public PamTableItem getModelName()
      Returns:
      the modelName
    • getLatitude Link icon

      public PamTableItem[] getLatitude()
      Returns:
      the latitude
    • getLongitude Link icon

      public PamTableItem[] getLongitude()
      Returns:
      the longitude
    • getSide Link icon

      public PamTableItem[] getSide()
      Returns:
      the side
    • getChi2 Link icon

      public PamTableItem[] getChi2()
      Returns:
      the chi2
    • getAic Link icon

      public PamTableItem[] getAic()
      Returns:
      the aic
    • getProb Link icon

      public PamTableItem[] getProb()
      Returns:
      the prob
    • getDegsFreedom Link icon

      public PamTableItem[] getDegsFreedom()
      Returns:
      the degsFreedom
    • getPerpDist Link icon

      public PamTableItem[] getPerpDist()
      Returns:
      the perpDist
    • getPerpdistErr Link icon

      public PamTableItem[] getPerpdistErr()
      Returns:
      the perpdistErr
    • getPhones Link icon

      public PamTableItem[] getPhones()
      Returns:
      the phones
    • getComment Link icon

      public PamTableItem[] getComment()
      Returns:
      the comment
    • getBeamLatitude Link icon

      public PamTableItem[] getBeamLatitude()
      Returns:
      the beamLatitude
    • getBeamLongitude Link icon

      public PamTableItem[] getBeamLongitude()
      Returns:
      the beamLongitude
    • getBeamTime Link icon

      public PamTableItem[] getBeamTime()
      Returns:
      the beamTime
    • getDepth Link icon

      public PamTableItem[] getDepth()
      Returns:
      the depth
    • getDepthErr Link icon

      public PamTableItem[] getDepthErr()
      Returns:
      the depthErr
    • getLocError Link icon

      public PamTableItem[] getLocError()
      Returns:
      the locError
    • getHiddenItems Link icon

      public HashSet<PamTableItem[]> getHiddenItems()
      Returns:
      the hiddenItems
    • getLocerrorlength Link icon

      public static int getLocerrorlength()
      Returns:
      the locerrorlength