logonform.java

来自「OPIAM stands for Open Identity and Acces」· Java 代码 · 共 75 行

JAVA
75
字号
/*
 * OPIAM Suite
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 */

package opiam.admin.applis.demo.forms;

import org.apache.struts.action.ActionForm;

import java.io.Serializable;


/**
 * This class describes the logon formBean.
 */
public class LogonForm extends ActionForm implements Serializable
{
    /** Login. */
    private String login;

    /** Password. */
    private String password;

    /**
     * Gets the login.
     *
     * @return The login.
     */
    public String getLogin()
    {
        return login;
    }

    /**
     * Gets the password.
     *
     * @return The password.
     */
    public String getPasssword()
    {
        return password;
    }

    /**
     * Sets the login.
     *
     * @param alogin  The login to set.
     */
    public void setLogin(String alogin)
    {
        this.login = alogin;
    }

    /**
     * Sets the password.
     *
     * @param apass  The password.
     */
    public void setPassword(String apass)
    {
        this.password = apass;
    }

    /**
     * Reset all the value of the object.
     */
    public void reset()
    {
        login = null;
        password = null;
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?