SigPath

org.sigpath.form
Class SpecifyPathway

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.sigpath.form.SpecifyPathway
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
SpecifyModel

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

See Also:
Serialized Form

Field Summary
static String PAGE_ADD_REACTION
          Page ID for Adding a Reaction to Model.
static String PAGE_REMOVE_REACTION
          Page ID for Removing a Reaction from Model.
static String PAGE_RESET_SESSION
          Page ID to Reset Session.
static String PAGE_SAVE_PATHWAY
          Page ID for Save Pathway.
static String PAGE_SET_NAME_DESCRIPTION
          Page ID for Set Name/Description.
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
SpecifyPathway()
           
 
Method Summary
 String getDescription()
           
 String getName()
           
 String getPage()
          Gets the Page ID.
 String getReaction()
          Gets the current reaction SPID.
 boolean hasAValue(String value)
           
 void reset(org.apache.struts.action.ActionMapping mapping, HttpServletRequest request)
           
 void setDescription(String value)
           
 void setName(String value)
           
 void setPage(String page)
          Sets the Page ID.
 void setReaction(String reactionSPID)
          Sets current reaction SPID
 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
 

Field Detail

PAGE_ADD_REACTION

public static final String PAGE_ADD_REACTION
Page ID for Adding a Reaction to Model.

See Also:
Constant Field Values

PAGE_REMOVE_REACTION

public static final String PAGE_REMOVE_REACTION
Page ID for Removing a Reaction from Model.

See Also:
Constant Field Values

PAGE_RESET_SESSION

public static final String PAGE_RESET_SESSION
Page ID to Reset Session.

See Also:
Constant Field Values

PAGE_SET_NAME_DESCRIPTION

public static final String PAGE_SET_NAME_DESCRIPTION
Page ID for Set Name/Description.

See Also:
Constant Field Values

PAGE_SAVE_PATHWAY

public static final String PAGE_SAVE_PATHWAY
Page ID for Save Pathway.

See Also:
Constant Field Values
Constructor Detail

SpecifyPathway

public SpecifyPathway()
Method Detail

setPage

public void setPage(String page)
Sets the Page ID.


getPage

public String getPage()
Gets the Page ID.


getReaction

public String getReaction()
Gets the current reaction SPID.

Returns:
String spid of current reaction

setReaction

public void setReaction(String reactionSPID)
Sets current reaction SPID

Parameters:
reactionSPID - spid of reaction

getName

public String getName()

setName

public void setName(String value)

getDescription

public String getDescription()

setDescription

public void setDescription(String value)

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

reset

public void reset(org.apache.struts.action.ActionMapping mapping,
                  HttpServletRequest request)
Overrides:
reset in class org.apache.struts.action.ActionForm

hasAValue

public boolean hasAValue(String value)

SigPath

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