BookTypeForm.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 BookTypeForm extends ActionForm {
- private String code;
- private Integer days;
- private Integer id;
- private String typeName;
- public String getCode() {
- return code;
- }
- public void setCode(String code) {
- this.code = code;
- }
- public void setTypeName(String typeName) {
- this.typeName = typeName;
- }
- public void setId(Integer id) {
- this.id = id;
- }
- public void setDays(Integer days) {
- this.days = days;
- }
- public Integer getDays() {
- return days;
- }
- public Integer getId() {
- return id;
- }
- public String getTypeName() {
- return typeName;
- }
- 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) {
- }
- }