KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > ejb3 > dd > SecurityRole


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.ejb3.dd;
8
9 import java.util.ArrayList JavaDoc;
10 import java.util.List JavaDoc;
11
12 /**
13  * Represents an security-role element of the ejb-jar.xml deployment descriptor
14  * for the 1.4 schema
15  *
16  * @version <tt>$Revision: 1.3.2.1 $</tt>
17  * @author <a HREF="mailto:bdecoste@jboss.com">William DeCoste</a>
18  */

19 public class SecurityRole
20 {
21
22    private String JavaDoc roleName = null;
23
24    public String JavaDoc getRoleName()
25    {
26       return roleName;
27    }
28
29    public void setRoleName(String JavaDoc roleName)
30    {
31       this.roleName = roleName;
32    }
33
34    public String JavaDoc toString()
35    {
36       StringBuffer JavaDoc sb = new StringBuffer JavaDoc(100);
37       sb.append("[");
38       sb.append("roleName=").append(roleName);
39       sb.append("]");
40       return sb.toString();
41    }
42 }
43
Popular Tags