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

📄 abstractrole.java

📁 评分系统,acegi+JSF+spring+hibernate,可上传附件
💻 JAVA
字号:
package com.sgm.partybranch.temp.sysadmin.hibernate;

import java.util.HashSet;
import java.util.Set;

/**
 * AbstractRole entity provides the base persistence definition of the Role
 * entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractRole implements java.io.Serializable {

	// Fields

	private String roleId;
	private String roleName;
	private String roleDesc;
	private Set rolePermissionMappings = new HashSet(0);
	private Set userRoleMappings = new HashSet(0);

	// Constructors

	/** default constructor */
	public AbstractRole() {
	}

	/** full constructor */
	public AbstractRole(String roleName, String roleDesc,
			Set rolePermissionMappings, Set userRoleMappings) {
		this.roleName = roleName;
		this.roleDesc = roleDesc;
		this.rolePermissionMappings = rolePermissionMappings;
		this.userRoleMappings = userRoleMappings;
	}

	// Property accessors

	public String getRoleId() {
		return this.roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getRoleName() {
		return this.roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getRoleDesc() {
		return this.roleDesc;
	}

	public void setRoleDesc(String roleDesc) {
		this.roleDesc = roleDesc;
	}

	public Set getRolePermissionMappings() {
		return this.rolePermissionMappings;
	}

	public void setRolePermissionMappings(Set rolePermissionMappings) {
		this.rolePermissionMappings = rolePermissionMappings;
	}

	public Set getUserRoleMappings() {
		return this.userRoleMappings;
	}

	public void setUserRoleMappings(Set userRoleMappings) {
		this.userRoleMappings = userRoleMappings;
	}

}

⌨️ 快捷键说明

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