?? empform.java
字號:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.struts.form;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import java.util.*;
/**
* MyEclipse Struts
* Creation date: 08-26-2007
*
* XDoclet definition:
* @struts.form name="empForm"
*/
public class EmpForm extends ActionForm {
/*
* Generated fields
*/
/** sex property */
private String sex="男";
/** borthday property */
private String borthday;
/** address property */
private String address;
/** ename property */
private String ename;
/** depid property */
private String depid;
/** loveid property */
private String[] loveid;
/** eid property */
private String eid;
/** loves property */
private Vector loves;
/** depname property */
private String depname;
/*
* Generated Methods
*/
/**
* 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
}
/**
* Returns the sex.
* @return String
*/
public String getSex() {
return sex;
}
/**
* Set the sex.
* @param sex The sex to set
*/
public void setSex(String sex) {
this.sex = sex;
}
/**
* Returns the borthday.
* @return String
*/
public String getBorthday() {
return borthday;
}
/**
* Set the borthday.
* @param borthday The borthday to set
*/
public void setBorthday(String borthday) {
this.borthday = borthday;
}
/**
* Returns the address.
* @return String
*/
public String getAddress() {
return address;
}
/**
* Set the address.
* @param address The address to set
*/
public void setAddress(String address) {
this.address = address;
}
/**
* Returns the ename.
* @return String
*/
public String getEname() {
return ename;
}
/**
* Set the ename.
* @param ename The ename to set
*/
public void setEname(String ename) {
this.ename = ename;
}
/**
* Returns the depid.
* @return String
*/
public String getDepid() {
return depid;
}
/**
* Set the depid.
* @param depid The depid to set
*/
public void setDepid(String depid) {
this.depid = depid;
}
/**
* Returns the loveid.
* @return String[]
*/
public String[] getLoveid() {
return loveid;
}
/**
* Set the loveid.
* @param loveid The loveid to set
*/
public void setLoveid(String[] loveid) {
this.loveid = loveid;
}
/**
* Returns the eid.
* @return String
*/
public String getEid() {
return eid;
}
/**
* Set the eid.
* @param eid The eid to set
*/
public void setEid(String eid) {
this.eid = eid;
}
/**
* Returns the loves.
* @return Vector
*/
public Vector getLoves() {
return loves;
}
/**
* Set the loves.
* @param loves The loves to set
*/
public void setLoves(Vector loves) {
this.loves = loves;
}
/**
* Returns the depname.
* @return String
*/
public String getDepname() {
return depname;
}
/**
* Set the depname.
* @param depname The depname to set
*/
public void setDepname(String depname) {
this.depname = depname;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -