applicationrolebean.java

来自「java 写的一个新闻发布系统」· Java 代码 · 共 40 行

JAVA
40
字号
package org.jahia.data.applications;/** * Title: Application Role Bean * desc:  Contains one role associated with an application declared in * the web.xml file. This bean is used to generate groups once the application * is generated. * Copyright:    Copyright (c) 2002 * Company:     Jahia Ltd * @author Serge Huber * @version 1.0 */public class ApplicationRoleBean {  private int ID;  private int appid;  private String roleName;  public ApplicationRoleBean(int roleID, int appID, String roleName) {    this.ID = roleID;    this.appid = appID;    this.roleName = roleName;  }  /**   * accessor methods   * {   */  public int getID()              {  return ID;             }  public int getappid ()  {  return appid;  }  public String getRoleName   ()  {  return roleName;       }  public void setID(int newID)    {  this.ID = newID;       }  public void setappid(int appID)    {  this.appid = appID;       }  /**   * }   */}

⌨️ 快捷键说明

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