HiRISE

HiRISE.HiReport.uplink
Class GeometryOffsetList

java.lang.Object
  extended by HiRISE.HiReport.DataProvider
      extended by HiRISE.HiReport.uplink.GeometryOffsetList

public class GeometryOffsetList
extends DataProvider

Collects data values for geometric offsets (planned vs. actual)


Field Summary
 
Fields inherited from class HiRISE.HiReport.DataProvider
Anaglyph, CCD, Cycles, DTM, EDR, FS, Geo, HiP, HiRISE_ROOT, Jit, logger, Mars_Years, Obs, Orbits, PAP, PDTM, PEDR, PHiP, PPL, PPL_map, PRDR, PS, PXP, RDR, RS1, RS2, SO, SOP, SOPO, SOPO_map, SOST, SOST_map, SR, ST, Tags, Web, XP
 
Constructor Summary
GeometryOffsetList()
           
 
Method Summary
 int getFailedCount()
          Get the count of observations that failed (exceeded threshold)
 List<ProductObservationNode> getObservations()
          Get the list of data that exceeded the threshold
 int getPassedCount()
          Get the count of observations that passed (did not exceed threshold)
 String getSQL()
          Return the query as a string
 void init(GeometryOffsetForm form, String sortname, boolean ascending)
          Perform the query
 
Methods inherited from class HiRISE.HiReport.DataProvider
getConnection, setConnection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeometryOffsetList

public GeometryOffsetList()
Method Detail

init

public void init(GeometryOffsetForm form,
                 String sortname,
                 boolean ascending)
          throws SQLException,
                 ParseException
Perform the query

Parameters:
form - input
sortname - column to sort on (null for default)
ascending - true for ascending order
Throws:
SQLException - query failed
ParseException - time input parsing failed

getObservations

public List<ProductObservationNode> getObservations()
Get the list of data that exceeded the threshold

Returns:
collection

getFailedCount

public int getFailedCount()
Get the count of observations that failed (exceeded threshold)

Returns:
failed count

getPassedCount

public int getPassedCount()
Get the count of observations that passed (did not exceed threshold)

Returns:
passed count

getSQL

public String getSQL()
Return the query as a string

Returns:
query string

HiRISE

Copyright (C) Arizona Board of Regents on behalf of the Planetary Image Research Laboratory, Lunar and Planetary Laboratory at the University of Arizona