KickJava   Java API By Example, From Geeks To Geeks.

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


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 cmp-field element of the ejb-jar.xml deployment descriptor for
11  * 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 CmpField
17 {
18
19    private String JavaDoc fieldName;
20
21    public String JavaDoc getFieldName()
22    {
23       return fieldName;
24    }
25
26    public void setFieldName(String JavaDoc fieldName)
27    {
28       this.fieldName = fieldName;
29    }
30
31    public String JavaDoc toString()
32    {
33       StringBuffer JavaDoc sb = new StringBuffer JavaDoc(100);
34       sb.append("[");
35       sb.append("fieldName=").append(fieldName);
36       sb.append("]");
37       return sb.toString();
38    }
39 }
40
Popular Tags