public class ProductForm
extends org.apache.struts.action.ActionForm
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
id
Product ID
|
static java.lang.String |
ID
CVS ID
|
protected int |
version
Version number
|
Constructor and Description |
---|
ProductForm() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getId()
Get the observation ID.
|
int |
getVersion()
Get the version number
|
void |
setId(java.lang.String id)
Set the observation ID.
|
void |
setVersion(int version)
Set the version number
|
java.lang.String |
toString()
Text representation
|
org.apache.struts.action.ActionErrors |
validate(org.apache.struts.action.ActionMapping map,
javax.servlet.http.HttpServletRequest req)
Verify that the observation ID is valid.
|
public static final java.lang.String ID
protected java.lang.String id
protected int version
public void setId(java.lang.String id)
id
- Observation IDpublic java.lang.String getId()
public int getVersion()
public void setVersion(int version)
version
- numberpublic java.lang.String toString()
toString
in class java.lang.Object
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping map, 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