Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.clra.web
Class LogonForm  view LogonForm download LogonForm.java

java.lang.Object
  extended byorg.apache.struts.action.ActionForm
      extended bycom.clra.web.LogonForm
All Implemented Interfaces:
java.io.Serializable

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

Form bean for the user profile page. This form has the following fields, with default values in square brackets:

From the struts documentation.

Version:
$Revision: 1.3 $ $Date: 2003/02/26 03:38:46 $

Field Summary
private  java.lang.String password
          The password
private  java.lang.String username
          The username
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
LogonForm()
           
 
Method Summary
 java.lang.String getPassword()
          Return the password
 java.lang.String getUsername()
          Return the username
 void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Reset all properties to their default values.
 void setPassword(java.lang.String password)
          Set the password.
 void setUsername(java.lang.String username)
          Set the username.
 org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.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

password

private java.lang.String password
The password


username

private java.lang.String username
The username

Constructor Detail

LogonForm

public LogonForm()
Method Detail

getPassword

public java.lang.String getPassword()
Return the password


setPassword

public void setPassword(java.lang.String password)
Set the password.


getUsername

public java.lang.String getUsername()
Return the username


setUsername

public void setUsername(java.lang.String username)
Set the username.


reset

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


validate

public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
                                                      javax.servlet.http.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.