ParameterForm.java~1~
上传用户:toby828
上传日期:2015-06-26
资源大小:8558k
文件大小:1k
- package com.actionForm;
- import org.apache.struts.action.ActionForm;
- import org.apache.struts.action.ActionErrors;
- import org.apache.struts.action.ActionMapping;
- import javax.servlet.http.HttpServletRequest;
- public class parameterForm extends ActionForm {
- private Integer cost;
- private Integer id;
- private Integer validity;
- public Integer getCost() {
- return cost;
- }
- public void setCost(Integer cost) {
- this.cost = cost;
- }
- public void setValidity(Integer validity) {
- this.validity = validity;
- }
- public void setId(Integer id) {
- this.id = id;
- }
- public Integer getId() {
- return id;
- }
- public Integer getValidity() {
- return validity;
- }
- public ActionErrors validate(ActionMapping actionMapping,
- HttpServletRequest httpServletRequest) {
- /** @todo: finish this method, this is just the skeleton.*/
- return null;
- }
- public void reset(ActionMapping actionMapping,
- HttpServletRequest servletRequest) {
- }
- }