public class Observation_Status
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID
CVS ID
|
Modifier and Type | Method and Description |
---|---|
double |
getPercentComplete()
Return the completion percentage for a particular Observation.
|
static void |
main(java.lang.String[] args)
Command-line utility that, given a list of observation id's, prints
the percent complete.
|
void |
select()
Query the database for the necessary information
|
int |
update(java.lang.String status)
Set the status for a particular observation.
|
public static final java.lang.String ID
public void select() throws java.sql.SQLException
java.sql.SQLException
public int update(java.lang.String status) throws java.sql.SQLException
status
- "INCOMPLETE" or "COMPLETE"java.sql.SQLException
public double getPercentComplete() throws java.sql.SQLException
java.sql.SQLException
public static void main(java.lang.String[] args)
Copyright \ (C) Arizona Board of Regents on behalf of the \ Planetary Image Research Laboratory, Lunar and \ Planetary Laboratory at the University of Arizona