⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 menuhandleform.java

📁 j2ee权限验证
💻 JAVA
字号:
package com.gemt.privilege.struts;

import java.util.Collection;

import org.apache.struts.action.ActionForm;

public class MenuHandleForm extends ActionForm {

	private static final long serialVersionUID = 3092620392285817764L;
	
	private String method;
	private Long level;
	private Long id;
	private Long pmenuid;
	private String location;
	private String menunm;
	private String treeString;
	private Long msrtno;
	private Long actiontyp;
	private Collection treeCol;
	
	public Long getActiontyp() {
		return actiontyp;
	}
	public void setActiontyp(Long actiontyp) {
		this.actiontyp = actiontyp;
	}
	public Long getMsrtno() {
		return msrtno;
	}
	public void setMsrtno(Long msrtno) {
		this.msrtno = msrtno;
	}
	public Collection getTreeCol() {
		return treeCol;
	}
	public void setTreeCol(Collection treeCol) {
		this.treeCol = treeCol;
	}
	public String getTreeString() {
		return treeString;
	}
	public void setTreeString(String treeString) {
		this.treeString = treeString;
	}
	public String getMenunm() {
		return menunm;
	}
	public void setMenunm(String menunm) {
		this.menunm = menunm;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getLevel() {
		return level;
	}
	public void setLevel(Long level) {
		this.level = level;
	}
	public String getLocation() {
		return location;
	}
	public void setLocation(String location) {
		this.location = location;
	}
	public String getMethod() {
		return method;
	}
	public void setMethod(String method) {
		this.method = method;
	}
	public Long getPmenuid() {
		return pmenuid;
	}
	public void setPmenuid(Long pmenuid) {
		this.pmenuid = pmenuid;
	}
	@Override
	public int hashCode() {
		final int PRIME = 31;
		int result = 1;
		result = PRIME * result + ((id == null) ? 0 : id.hashCode());
		result = PRIME * result + ((level == null) ? 0 : level.hashCode());
		result = PRIME * result + ((location == null) ? 0 : location.hashCode());
		result = PRIME * result + ((method == null) ? 0 : method.hashCode());
		result = PRIME * result + ((pmenuid == null) ? 0 : pmenuid.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		final MenuHandleForm other = (MenuHandleForm) obj;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		if (level == null) {
			if (other.level != null)
				return false;
		} else if (!level.equals(other.level))
			return false;
		if (location == null) {
			if (other.location != null)
				return false;
		} else if (!location.equals(other.location))
			return false;
		if (method == null) {
			if (other.method != null)
				return false;
		} else if (!method.equals(other.method))
			return false;
		if (pmenuid == null) {
			if (other.pmenuid != null)
				return false;
		} else if (!pmenuid.equals(other.pmenuid))
			return false;
		return true;
	}
	

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -