MenuActionForm.java~15~
资源名称:shihua.rar [点击查看]
上传用户:zghglow
上传日期:2022-08-09
资源大小:27227k
文件大小:2k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
JavaScript
- package com.chinacannel.xlchemical.struts.ActionForm;
- import javax.servlet.http.*;
- import org.apache.struts.action.*;
- import org.apache.struts.upload.*;
- public class MenuActionForm extends ActionForm {
- private Long id = new Long(0);
- private String name;
- private Long order;
- private FormFile menuImg = null;
- private Long imageID = new Long(0);
- private Long index = new Long(0);
- private Long type = new Long(0);
- 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) {
- }
- public Long getId() {
- return id;
- }
- public FormFile getMenuImg() {
- return menuImg;
- }
- public String getName() {
- return name;
- }
- public Long getOrder() {
- return order;
- }
- public Long getImageID() {
- return imageID;
- }
- public Long getIndex() {
- return index;
- }
- public Long getType() {
- return type;
- }
- public void setId(Long id) {
- this.id = id;
- }
- public void setMenuImg(FormFile menuImg) {
- this.menuImg = menuImg;
- }
- public void setName(String name) {
- this.name = name;
- }
- public void setOrder(Long order) {
- this.order = order;
- }
- public void setImageID(Long imageID) {
- this.imageID = imageID;
- }
- public void setIndex(Long index) {
- this.index = index;
- }
- public void setType(Long type) {
- this.type = type;
- }
- }