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

📄 userrole.java

📁 GridSphere 门户 提供一个基于 portlet 的高级开放源代码门户。GridSphere 是在欧盟提供基金的 GridLab 项目下开发的
💻 JAVA
字号:
/* * @version: $Id: UserRole.java 5032 2006-08-17 18:15:06Z novotny $ */package org.gridsphere.services.core.security.role.impl;import org.apache.commons.logging.Log;import org.apache.commons.logging.LogFactory;import org.gridsphere.services.core.user.User;import org.gridsphere.services.core.user.impl.UserImpl;import org.gridsphere.services.core.security.role.PortletRole;public class UserRole {    protected transient static Log log = LogFactory.getLog(UserRole.class);    private String oid = null;    private UserImpl user = null;    private PortletRole portletRole;    public UserRole() {    }    public String getOid() {        return oid;    }    public void setOid(String oid) {        this.oid = oid;    }    public String getID() {        return getOid();    }    public PortletRole getRole() {        return portletRole;    }    public void setRole(PortletRole role) {        this.portletRole = role;    }    public User getUser() {        return this.user;    }    public void setUser(User user) {        this.user = (UserImpl) user;    }}

⌨️ 快捷键说明

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