public class OverlapForm
extends org.apache.struts.action.ActionForm
Modifier and Type | Class and Description |
---|---|
static class |
OverlapForm.OverlapType
Types of overlapping imagery
|
Constructor and Description |
---|
OverlapForm() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getId() |
float |
getLat() |
float |
getLon() |
java.lang.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(java.lang.String id) |
void |
setLat(float lat) |
void |
setLon(float lon) |
void |
setOverlaps(java.lang.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
|
public void setOverlaps(java.lang.String overlaps)
overlaps
- product type corresponding to the Overlaps enumpublic java.lang.String getOverlaps()
public OverlapForm.OverlapType getOverlapType()
public java.lang.String getId()
public float getLat()
public float getLon()
public void setId(java.lang.String id)
id
- the id to setpublic void setLat(float lat)
lat
- the latitude to set (for point overlap)public void setLon(float lon)
lon
- the longitude (for point overlap)public boolean getRetired()
public void setRetired(boolean retired)
retired
- the retired to setpublic boolean getUnretired()
public void setUnretired(boolean unretired)
unretired
- the unretired to setpublic void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest req)
reset
in class org.apache.struts.action.ActionForm
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest req)
validate
in class org.apache.struts.action.ActionForm
Copyright \ (C) Arizona Board of Regents on behalf of the \ Planetary Image Research Laboratory, Lunar and \ Planetary Laboratory at the University of Arizona