HiRISE

HiRISE.HiReport.form
Class OverlapForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by HiRISE.HiReport.form.OverlapForm
All Implemented Interfaces:
Serializable

public class OverlapForm
extends org.apache.struts.action.ActionForm

See Also:
Serialized Form

Nested Class Summary
static class OverlapForm.OverlapType
          Types of overlapping imagery
 
Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
OverlapForm()
           
 
Method Summary
 String getId()
           
 float getLat()
           
 float getLon()
           
 String getOverlaps()
          Get the overlap type as a string
 OverlapForm.OverlapType getOverlapType()
          Get the type of product to be used as the footprint
 boolean getRetired()
           
 boolean getUnretired()
           
 void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest req)
           
 void setId(String id)
           
 void setLat(float lat)
           
 void setLon(float lon)
           
 void setOverlaps(String overlaps)
          Sets the type of product to be used as the footprint
 void setRetired(boolean retired)
           
 void setUnretired(boolean unretired)
           
 org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest req)
          Validate the form input
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OverlapForm

public OverlapForm()
Method Detail

setOverlaps

public void setOverlaps(String overlaps)
Sets the type of product to be used as the footprint

Parameters:
overlaps - product type corresponding to the Overlaps enum

getOverlaps

public String getOverlaps()
Get the overlap type as a string

Returns:
overlap name

getOverlapType

public OverlapForm.OverlapType getOverlapType()
Get the type of product to be used as the footprint

Returns:
overlaps type

getId

public String getId()
Returns:
the id

getLat

public float getLat()
Returns:
the latitude (for point overlap)

getLon

public float getLon()
Returns:
the longitude (for point overlap)

setId

public void setId(String id)
Parameters:
id - the id to set

setLat

public void setLat(float lat)
Parameters:
lat - the latitude to set (for point overlap)

setLon

public void setLon(float lon)
Parameters:
lon - the longitude (for point overlap)

getRetired

public boolean getRetired()
Returns:
the retired

setRetired

public void setRetired(boolean retired)
Parameters:
retired - the retired to set

getUnretired

public boolean getUnretired()
Returns:
the unretired

setUnretired

public void setUnretired(boolean unretired)
Parameters:
unretired - the unretired to set

reset

public void reset(org.apache.struts.action.ActionMapping mapping,
                  javax.servlet.http.HttpServletRequest req)
Overrides:
reset in class org.apache.struts.action.ActionForm

validate

public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
                                                      javax.servlet.http.HttpServletRequest req)
Validate the form input

Overrides:
validate in class org.apache.struts.action.ActionForm

HiRISE

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