📄 personform.java
字号:
/*
* OPIAM Suite
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package opiam.admin.applis.tutorial.forms;
import java.io.Serializable;
import org.apache.struts.action.ActionForm;
import opiam.admin.applis.tutorial.beans.Person;
/**
* This class describes the person formBean.
*
* It defines the both setter and getter methods for all the available fields
* of the visualization and modification forms (person.jsp and
* modify_person.jsp respectively).
*
*/
public class PersonForm extends ActionForm implements Serializable
{
/** User object. */
private Person user = new Person();
/**
* Gets the user.
*
* @return The user.
*/
public Person getUser()
{
return user;
}
/**
* Sets the user.
*
* @param auser The user to set.
*/
public void setUser(Person auser)
{
this.user = auser;
}
/**
* Reset all the value of the object.
*/
public void reset()
{
user = null;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -