HiRISE

HiRISE.HiReport.main
Class SuggestionPage

java.lang.Object
  extended by HiRISE.HiReport.DataProvider
      extended by HiRISE.HiReport.main.SuggestionPage

public class SuggestionPage
extends DataProvider

Collects data about a suggestion and related suggestions.


Field Summary
static String ID
          CVS ID
 
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
SuggestionPage()
           
 
Method Summary
 ResultList getRelations()
          Get the list of related suggestions
 String getSQL()
          Return the query string
 ResultList getSuggestion()
          Get the result of the query
 void init(int suggestion)
          Query for suggestion
 
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
 

Field Detail

ID

public static final String ID
CVS ID

See Also:
Constant Field Values
Constructor Detail

SuggestionPage

public SuggestionPage()
Method Detail

init

public void init(int suggestion)
          throws SQLException
Query for suggestion

Parameters:
suggestion - the ID number
Throws:
SQLException - query failed

getSuggestion

public ResultList getSuggestion()
Get the result of the query

Returns:
suggestion rows

getRelations

public ResultList getRelations()
Get the list of related suggestions

Returns:
related suggestion rows

getSQL

public String getSQL()
Return the query string

Returns:
SQL

HiRISE

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