📄 addattform.java
字号:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.kmd.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;
/**
* MyEclipse Struts
* Creation date: 03-30-2007
*
* XDoclet definition:
* @struts.form name="addAttForm"
*/
public class AddAttForm extends ActionForm {
/*
* Generated fields
*/
/** value property */
private String value;
/** type property */
private Integer type;
/** ename property */
private String ename;
/** cname property */
private String cname;
/*
* 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 value.
* @return String
*/
public String getValue() {
return value;
}
/**
* Set the value.
* @param value The value to set
*/
public void setValue(String value) {
this.value = value;
}
/**
* Returns the type.
* @return Integer
*/
public Integer getType() {
return type;
}
/**
* Set the type.
* @param type The type to set
*/
public void setType(Integer type) {
this.type = type;
}
/**
* 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 cname.
* @return String
*/
public String getCname() {
return cname;
}
/**
* Set the cname.
* @param cname The cname to set
*/
public void setCname(String cname) {
this.cname = cname;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -