?? htform.java
字號:
package org.helpsoft.contract.struts.forms;
import java.math.*;
import java.text.*;
import org.apache.struts.action.*;
import javax.servlet.http.HttpServletRequest;
import org.helpsoft.contract.dto.*;
public class HtForm extends ActionForm
{
private String htbm;
private String jfdlrbm;
private String jfbm;
private String qsdd;
private String yf;
private String yfdlr;
private String jfqzrq;
private String yfqzrq;
private String xmmc;
private String htnr;
private String crudMethod;
/**
* Sets the value of htbm
*/
public void setHtbm(String htbm)
{
this.htbm = htbm;
}
/**
* Gets the value of htbm
*/
public String getHtbm()
{
return htbm;
}
/**
* Sets the value of jfdlrbm
*/
public void setJfdlrbm(String jfdlrbm)
{
this.jfdlrbm = jfdlrbm;
}
/**
* Gets the value of jfdlrbm
*/
public String getJfdlrbm()
{
return jfdlrbm;
}
/**
* Sets the value of jfbm
*/
public void setJfbm(String jfbm)
{
this.jfbm = jfbm;
}
/**
* Gets the value of jfbm
*/
public String getJfbm()
{
return jfbm;
}
/**
* Sets the value of qsdd
*/
public void setQsdd(String qsdd)
{
this.qsdd = qsdd;
}
/**
* Gets the value of qsdd
*/
public String getQsdd()
{
return qsdd;
}
/**
* Sets the value of yf
*/
public void setYf(String yf)
{
this.yf = yf;
}
/**
* Gets the value of yf
*/
public String getYf()
{
return yf;
}
/**
* Sets the value of yfdlr
*/
public void setYfdlr(String yfdlr)
{
this.yfdlr = yfdlr;
}
/**
* Gets the value of yfdlr
*/
public String getYfdlr()
{
return yfdlr;
}
/**
* Sets the value of jfqzrq
*/
public void setJfqzrq(String jfqzrq)
{
this.jfqzrq = jfqzrq;
}
/**
* Gets the value of jfqzrq
*/
public String getJfqzrq()
{
return jfqzrq;
}
/**
* Sets the value of yfqzrq
*/
public void setYfqzrq(String yfqzrq)
{
this.yfqzrq = yfqzrq;
}
/**
* Gets the value of yfqzrq
*/
public String getYfqzrq()
{
return yfqzrq;
}
/**
* Sets the value of xmmc
*/
public void setXmmc(String xmmc)
{
this.xmmc = xmmc;
}
/**
* Gets the value of xmmc
*/
public String getXmmc()
{
return xmmc;
}
/**
* Sets the value of htnr
*/
public void setHtnr(String htnr)
{
this.htnr = htnr;
}
/**
* Gets the value of htnr
*/
public String getHtnr()
{
return htnr;
}
/**
* Sets the value of crudMethod
*/
public void setCrudMethod(String crudMethod)
{
this.crudMethod = crudMethod;
}
/**
* Gets the value of crudMethod
*/
public String getCrudMethod()
{
return crudMethod;
}
/**
* method'reset'
*
*/
public void reset()
{
htbm = "";
jfdlrbm = "";
jfbm = "";
qsdd = "";
yf = "";
yfdlr = "";
xmmc = "";
htnr = "";
}
/**
* method'validate'
*
* @param mapping
* @param request
* @return ActionErrors
*/
public ActionErrors validate(ActionMapping mapping, HttpServletRequest request)
{
ActionErrors _errors = new ActionErrors();
// attempt to parse jfqzrq
try {
java.util.Date _parsed_jfqzrq = jfqzrq == null ? null : DateFormat.getDateTimeInstance().parse( jfqzrq);
}
catch (Exception e) {
_errors.add( ActionErrors.GLOBAL_ERROR, new ActionError("internal.error", e.getMessage()) );
}
// attempt to parse yfqzrq
try {
java.util.Date _parsed_yfqzrq = yfqzrq == null ? null : DateFormat.getDateTimeInstance().parse( yfqzrq);
}
catch (Exception e) {
_errors.add( ActionErrors.GLOBAL_ERROR, new ActionError("internal.error", e.getMessage()) );
}
return _errors;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -