SigPath

org.sigpath.form
Class SpecifyModel

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

public class SpecifyModel
extends SpecifyPathway

Form bean for Specifying Model. The form contains the following fields:

Version:
$Revision: 8030 $
Author:
Manda Wilson
See Also:
Serialized Form

Field Summary
static String PAGE_SAVE_MODEL
          Page ID for Save Model
static String PAGE_SET_CONCENTRATIONS
          Page ID for Adding a Reaction to Model
static String PAGE_START_WIZARD
           
 
Fields inherited from class org.sigpath.form.SpecifyPathway
PAGE_ADD_REACTION, PAGE_REMOVE_REACTION, PAGE_RESET_SESSION, PAGE_SAVE_PATHWAY, PAGE_SET_NAME_DESCRIPTION
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
SpecifyModel()
           
 
Method Summary
 String[] getBuffered()
          Returns an array of molecule spids that have buffered concentrations for the current reaction.
 String[] getConcentration()
          Returns an array of concentration spids for the current reaction.
 String getTargetUnit()
           
 void setBuffered(String[] value)
          Adds an array of buffered molecule spids for the current reaction
 void setConcentration(String[] value)
          Adds an array of concentrations spids.
 void setTargetUnit(String value)
           
 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.sigpath.form.SpecifyPathway
getDescription, getName, getPage, getReaction, hasAValue, reset, setDescription, setName, setPage, setReaction
 
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_SET_CONCENTRATIONS

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

See Also:
Constant Field Values

PAGE_SAVE_MODEL

public static final String PAGE_SAVE_MODEL
Page ID for Save Model

See Also:
Constant Field Values

PAGE_START_WIZARD

public static final String PAGE_START_WIZARD
See Also:
Constant Field Values
Constructor Detail

SpecifyModel

public SpecifyModel()
Method Detail

setConcentration

public void setConcentration(String[] value)
Adds an array of concentrations spids.

Parameters:
value - array of concentration spids to add to the current reaction

getConcentration

public String[] getConcentration()
Returns an array of concentration spids for the current reaction.

Returns:
array of concentration spids that belong to the current reaction

setBuffered

public void setBuffered(String[] value)
Adds an array of buffered molecule spids for the current reaction

Parameters:
value - array of molecule spids that have buffered concentrations for the current reaction

getBuffered

public String[] getBuffered()
Returns an array of molecule spids that have buffered concentrations for the current reaction.

Returns:
array of molecule spids that have buffered concentrations for the current reaction

getTargetUnit

public String getTargetUnit()

setTargetUnit

public void setTargetUnit(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 SpecifyPathway
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.