KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > jetspeed > om > security > turbine > TurbineRole


1
2 package org.apache.jetspeed.om.security.turbine;
3
4
5 import org.apache.torque.om.Persistent;
6
7 /**
8  * The skeleton for this class was autogenerated by Torque on:
9  *
10  * [Mon Jun 03 20:14:05 PDT 2002]
11  *
12  * You should add additional methods to this class to meet the
13  * application requirements. This class will only be generated as
14  * long as it does not already exist in the output directory.
15  */

16 public class TurbineRole
17     extends org.apache.jetspeed.om.security.turbine.BaseTurbineRole
18     implements Persistent, org.apache.jetspeed.om.security.Role
19 {
20     public String JavaDoc getName()
21     {
22         return getRoleName();
23     }
24
25     public void setName(String JavaDoc name)
26     {
27         setRoleName(name);
28     }
29
30     public String JavaDoc getId()
31     {
32         return String.valueOf(this.getRoleId());
33     }
34
35     public void setId(String JavaDoc id)
36     {
37     }
38 }
39
Popular Tags