?? teacherform.java
字號:
package com.stuman.web.struts.form;
import java.util.HashSet;
import java.util.Set;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
public class TeacherForm extends ActionForm {
// Fields
/**
*
*/
private static final long serialVersionUID = 8781453346180822209L;
private String id;
private String name;
private String password;
private String title;
private Set classeses = new HashSet(0);
/**
* Method validate
* @param mapping
* @param request
* @return ActionErrors
*/
public ActionErrors validate(
ActionMapping mapping,
HttpServletRequest request) {
// TODO Auto-generated method stub
return null;
}
/**
* Method reset
* @param mapping
* @param request
*/
public void reset(ActionMapping mapping, HttpServletRequest request) {
// TODO Auto-generated method stub
}
// Constructors
/** default constructor */
public TeacherForm() {
}
/** full constructor */
public TeacherForm(String name, String password, String title, Set classeses) {
this.name = name;
this.password = password;
this.title = title;
this.classeses = classeses;
}
// Property accessors
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getPassword() {
return this.password;
}
public void setPassword(String password) {
this.password = password;
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
public Set getClasseses() {
return this.classeses;
}
public void setClasseses(Set classeses) {
this.classeses = classeses;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -