SigPath

org.sigpath.form
Class Login

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

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

Form bean for Login Data. The form contains the following fields:

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

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
Login()
           
 
Method Summary
 String getPassword()
           
 boolean getRememberUser()
           
 String getUsername()
          Getters/Setters
 boolean hasAValue(String value)
           
 void setPassword(String value)
           
 void setRememberUser(boolean value)
           
 void setUsername(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.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Login

public Login()
Method Detail

getUsername

public String getUsername()
Getters/Setters


setUsername

public void setUsername(String value)

getPassword

public String getPassword()

setPassword

public void setPassword(String value)

setRememberUser

public void setRememberUser(boolean value)

getRememberUser

public boolean getRememberUser()

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

hasAValue

public boolean hasAValue(String value)

SigPath

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