public class CtxSearchForm extends OrbitCycleForm
OrbitCycleForm.RangeUnit
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
description
description or comment text
|
protected java.lang.String |
id
id pattern, may or may not be full observation ID
|
protected java.lang.String[] |
phase
Phase array
|
static java.lang.String[] |
PHASES
Options array for mission phases
|
static java.lang.String[] |
TARGETS
Options array for target names
|
protected boolean |
word
If true, do a whole-word search
|
by, cenLat, cenLon, maxCycle, maxLat, maxLon, maxLs, maxMy, maxOrbit, minCycle, minLat, minLon, minLs, minMy, minOrbit, range, season, target
ID, maxDate, minDate, plus, TIME_FORMATS, timeFormatters, timeUnits, unit
EXPORT_MAX_ROWS
Constructor and Description |
---|
CtxSearchForm() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Get the description being searched on
|
java.lang.String |
getId()
Get the CTX product ID input
|
java.lang.String[] |
getPhase()
Get the phase abbreviations being searched on
|
java.lang.String[] |
getPhases()
Get the array of possible (abbreviated) mission phase names.
|
java.lang.String[] |
getTarget()
Get the target names
|
java.lang.String[] |
getTargets()
Get the array of possible target names.
|
boolean |
getWord()
If true, will do whole-word matching
|
void |
setDescription(java.lang.String description)
Set the description being searched on
|
void |
setId(java.lang.String id)
Set the CTX product ID for query
|
void |
setPhase(java.lang.String... phase)
Set the mission phase names
|
void |
setTarget(java.lang.String... target)
Set the target names
|
void |
setWord(boolean word)
Set to true to match on whole words (default false)
|
org.apache.struts.action.ActionErrors |
validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest req)
Validate the form input
|
checkArray, getBy, getCenLat, getCenLon, getMartianSeason, getMaxCycle, getMaxDate, getMaxLat, getMaxLon, getMaxLs, getMaxMy, getMaxOrbit, getMinCycle, getMinDate, getMinLat, getMinLon, getMinLs, getMinMy, getMinOrbit, getNextMaxCycle, getNextMaxOrbit, getNextMinCycle, getNextMinOrbit, getPrevMaxCycle, getPrevMaxOrbit, getPrevMinCycle, getPrevMinOrbit, getRange, getSeason, getSeasons, isMartian, setBy, setCenLat, setCenLon, setMaxCycle, setMaxLat, setMaxLon, setMaxLs, setMaxMy, setMaxOrbit, setMinCycle, setMinLat, setMinLon, setMinLs, setMinMy, setMinOrbit, setRange, setSeason
getPlus, getTimeRange, getTimeUnit, getTimeUnits, parseDate, setMaxDate, setMinDate, setPlus, setTimeRange, setTimeUnit
getDir, getPage, getSize, getSort, isAscending, reset, setDir, setPage, setSize, setSort
public static final java.lang.String[] PHASES
public static java.lang.String[] TARGETS
protected java.lang.String[] phase
protected java.lang.String id
protected java.lang.String description
protected boolean word
public java.lang.String[] getPhases()
public java.lang.String[] getTargets()
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- textpublic void setTarget(java.lang.String... target)
setTarget
in class OrbitCycleForm
target
- name of targetspublic java.lang.String[] getTarget()
OrbitCycleForm
getTarget
in class OrbitCycleForm
public void setPhase(java.lang.String... phase)
phase
- mission phasespublic java.lang.String[] getPhase()
public java.lang.String getId()
public void setId(java.lang.String id)
id
- CTX product IDpublic boolean getWord()
public void setWord(boolean word)
word
- whole-word settingpublic org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest req)
validate
in class OrbitCycleForm
Copyright \ (C) Arizona Board of Regents on behalf of the \ Planetary Image Research Laboratory, Lunar and \ Planetary Laboratory at the University of Arizona