📄 bankform.java
字号:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.captainli.struts.form;
import java.math.BigDecimal;
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: 11-19-2008
*
* XDoclet definition:
* @struts.form name="bankForm"
*/
public class BankForm extends ActionForm {
/*
* Generated fields
*/
/** b_note property */
private String b_note;
/** b_amount property */
private double b_amount;
/** b_name property */
private String b_name;
/** b_id property */
private int b_id;
/*
* 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 b_note.
* @return String
*/
public String getB_note() {
return b_note;
}
/**
* Set the b_note.
* @param b_note The b_note to set
*/
public void setB_note(String b_note) {
this.b_note = b_note;
}
/**
* Returns the b_amount.
* @return double
*/
public double getB_amount() {
return b_amount;
}
/**
* Set the b_amount.
* @param b_amount The b_amount to set
*/
public void setB_amount(double b_amount) {
this.b_amount = b_amount;
}
/**
* Returns the b_name.
* @return String
*/
public String getB_name() {
return b_name;
}
/**
* Set the b_name.
* @param b_name The b_name to set
*/
public void setB_name(String b_name) {
this.b_name = b_name;
}
/**
* Returns the b_id.
* @return int
*/
public int getB_id() {
return b_id;
}
/**
* Set the b_id.
* @param b_id The b_id to set
*/
public void setB_id(int b_id) {
this.b_id = b_id;
}
public BankForm(int b_id, String b_name, double b_amount, String b_note) {
super();
this.b_id = b_id;
this.b_name = b_name;
this.b_amount = b_amount;
this.b_note = b_note;
}
public BankForm() {
super();
// TODO Auto-generated constructor stub
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -