RoleActionForm.java
资源名称:shihua.rar [点击查看]
上传用户:zghglow
上传日期:2022-08-09
资源大小:27227k
文件大小:1k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
JavaScript
- package com.chinacannel.xlchemical.struts.ActionForm;
- import javax.servlet.http.*;
- import org.apache.struts.action.*;
- public class RoleActionForm extends ActionForm {
- private String name = "";
- private Long id = new Long(0);
- private String[] fmodel;
- private String[] cmodel;
- private String[] menus;
- 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 String getName() {
- return name;
- }
- public String[] getCmodel() {
- return cmodel;
- }
- public String[] getFmodel() {
- return fmodel;
- }
- public String[] getMenus() {
- return menus;
- }
- public void setId(Long id) {
- this.id = id;
- }
- public void setName(String name) {
- this.name = name;
- }
- public void setCmodel(String[] cmodel) {
- this.cmodel = cmodel;
- }
- public void setFmodel(String[] fmodel) {
- this.fmodel = fmodel;
- }
- public void setMenus(String[] menus) {
- this.menus = menus;
- }
- }