KickJava   Java API By Example, From Geeks To Geeks.

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


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 /**
10  * Represents an ejb-relationship-role element of the ejb-jar.xml deployment
11  * descriptor for the 1.4 schema
12  *
13  * @version <tt>$Revision: 1.3.2.1 $</tt>
14  * @author <a HREF="mailto:bdecoste@jboss.com">William DeCoste</a>
15  */

16 public class RelationshipRoleSource
17 {
18
19    private String JavaDoc ejbName;
20
21    public String JavaDoc getEjbName()
22    {
23       return ejbName;
24    }
25
26    public void setEjbName(String JavaDoc ejbName)
27    {
28       this.ejbName = ejbName;
29    }
30
31    public String JavaDoc toString()
32    {
33       StringBuffer JavaDoc sb = new StringBuffer JavaDoc(100);
34       sb.append("[");
35       sb.append("ejbName=").append(ejbName);
36       sb.append("]");
37       return sb.toString();
38    }
39 }
40
Popular Tags