SigPath

org.sigpath.form
Class NextPrevious

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.sigpath.form.NextPrevious
All Implemented Interfaces:
Serializable

public final class NextPrevious
extends org.apache.struts.action.ActionForm

Form bean for Specifying a Molecule Search. There are three fields on this page:

Version:
$Revision: 8030 $, $Date: 2005-07-25 19:19:56 -0400 (Mon, 25 Jul 2005) $
Author:
Ethan Cerami
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
NextPrevious()
           
 
Method Summary
 String getFormat()
          Gets the Format Specifier
 int getStartIndex()
          Get the Start Index for Search Results
 void reset(org.apache.struts.action.ActionMapping mapping, HttpServletRequest request)
          Reset all properties to their default values.
 void setFormat(String format)
          Sets the Format Specifier
 void setStartIndex(int startIndex)
          Sets the Start Index for Search Results
 org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, HttpServletRequest request)
          Validate the properties that have been set from this HTTP request, and return an ActionErrors object that encapsulates any validation errors that have been found.
 
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

NextPrevious

public NextPrevious()
Method Detail

getStartIndex

public int getStartIndex()
Get the Start Index for Search Results

Returns:
an integer indicating the current index within search results.

setFormat

public void setFormat(String format)
Sets the Format Specifier

Parameters:
format -

getFormat

public String getFormat()
Gets the Format Specifier

Returns:
format specifier

setStartIndex

public void setStartIndex(int startIndex)
Sets the Start Index for Search Results

Parameters:
startIndex - integer indicating the current index within search results.

reset

public void reset(org.apache.struts.action.ActionMapping mapping,
                  HttpServletRequest request)
Reset all properties to their default values.

Overrides:
reset in class org.apache.struts.action.ActionForm
Parameters:
mapping - The mapping used to select this instance
request - The servlet request we are processing

validate

public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
                                                      HttpServletRequest request)
Validate the properties that have been set from this HTTP request, and return an ActionErrors object that encapsulates any validation errors that have been found. If no errors are found, return null or an ActionErrors object with no recorded error messages.

Overrides:
validate in class org.apache.struts.action.ActionForm
Parameters:
mapping - The mapping used to select this instance
request - The servlet request we are processing
Returns:
ActionErrors object containing all validation errors

SigPath

Copyright © 2002-2005 Institute for Computational Biomedicine, All Rights Reserved.