forms
Class AuthForm

java.lang.Object
  extended by forms.AuthForm

public class AuthForm
extends java.lang.Object

Class is a form authenticated


Field Summary
 java.lang.String login
           
 java.lang.String password
           
 java.lang.Boolean remember
           
 
Constructor Summary
AuthForm()
          Constructor of class.
 
Method Summary
 java.lang.String getLogin()
           
 java.lang.String getPassword()
           
 java.lang.Boolean getRemember()
           
 void setLogin(java.lang.String login)
          set login
 void setPassword(java.lang.String password)
          set password
 void setRemember(java.lang.Boolean remember)
          set remember
 java.lang.String validate()
          validate form.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

login

public java.lang.String login

password

public java.lang.String password

remember

public java.lang.Boolean remember
Constructor Detail

AuthForm

public AuthForm()
Constructor of class.

Method Detail

getLogin

public java.lang.String getLogin()
Returns:
login

setLogin

public void setLogin(java.lang.String login)
set login

Parameters:
login - login

getPassword

public java.lang.String getPassword()
Returns:
password

setPassword

public void setPassword(java.lang.String password)
set password

Parameters:
password - password

getRemember

public java.lang.Boolean getRemember()
Returns:
if true, remember user.

setRemember

public void setRemember(java.lang.Boolean remember)
set remember

Parameters:
remember - if true, remember user.

validate

public java.lang.String validate()
validate form.

Returns:
If the test is successful return null, else return error.