📄 unitform.java
字号:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.bank.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-13-2008
*
* XDoclet definition:
* @struts.form name="unitForm"
*/
public class UnitForm extends ActionForm {
/*
* Generated fields
*/
/** unitExplain property */
private String unitExplain;
/** unitId property */
private int unitId;
/** unitName property */
private String unitName;
/** unitIds property */
private String unitIds;
/** unitUp property */
private String unitUp;
private String code;
/*
* Generated Methods
*/
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
/**
* 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 unitExplain.
* @return String
*/
public String getUnitExplain() {
return unitExplain;
}
/**
* Set the unitExplain.
* @param unitExplain The unitExplain to set
*/
public void setUnitExplain(String unitExplain) {
this.unitExplain = unitExplain;
}
/**
* Returns the unitId.
* @return int
*/
public int getUnitId() {
return unitId;
}
/**
* Set the unitId.
* @param unitId The unitId to set
*/
public void setUnitId(int unitId) {
this.unitId = unitId;
}
/**
* Returns the unitName.
* @return String
*/
public String getUnitName() {
return unitName;
}
/**
* Set the unitName.
* @param unitName The unitName to set
*/
public void setUnitName(String unitName) {
this.unitName = unitName;
}
/**
* Returns the unitIds.
* @return String
*/
public String getUnitIds() {
return unitIds;
}
/**
* Set the unitIds.
* @param unitIds The unitIds to set
*/
public void setUnitIds(String unitIds) {
this.unitIds = unitIds;
}
/**
* Returns the unitUp.
* @return String
*/
public String getUnitUp() {
return unitUp;
}
/**
* Set the unitUp.
* @param unitUp The unitUp to set
*/
public void setUnitUp(String unitUp) {
this.unitUp = unitUp;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -