KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > data > applications > ApplicationRoleBean


1 package org.jahia.data.applications;
2
3 import java.io.Serializable JavaDoc;
4
5 /**
6  * Title: Application Role Bean
7  * desc: Contains one role associated with an application declared in
8  * the web.xml file. This bean is used to generate groups once the application
9  * is generated.
10  * Copyright: Copyright (c) 2002
11  * Company: Jahia Ltd
12  * @author Serge Huber
13  * @version 1.0
14  */

15
16 public class ApplicationRoleBean implements Serializable JavaDoc {
17
18   private int ID;
19   private int appid;
20   private String JavaDoc roleName;
21
22   public ApplicationRoleBean(int roleID, int appID, String JavaDoc roleName) {
23     this.ID = roleID;
24     this.appid = appID;
25     this.roleName = roleName;
26   }
27
28   /**
29    * accessor methods
30    * {
31    */

32   public int getID() { return ID; }
33   public int getappid () { return appid; }
34   public String JavaDoc getRoleName () { return roleName; }
35
36   public void setID(int newID) { this.ID = newID; }
37   public void setappid(int appID) { this.appid = appID; }
38   /**
39    * }
40    */

41
42 }
43
Popular Tags