KickJava   Java API By Example, From Geeks To Geeks.

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


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

16 public class CmrField
17 {
18
19    private String JavaDoc cmrFieldName;
20
21    private String JavaDoc cmrFieldType;
22
23    public String JavaDoc getCmrFieldName()
24    {
25       return cmrFieldName;
26    }
27
28    public void setCmrFieldName(String JavaDoc cmrFieldName)
29    {
30       this.cmrFieldName = cmrFieldName;
31    }
32
33    public String JavaDoc getCmrFieldType()
34    {
35       return cmrFieldType;
36    }
37
38    public void setCmrFieldType(String JavaDoc cmrFieldType)
39    {
40       this.cmrFieldType = cmrFieldType;
41    }
42
43    public String JavaDoc toString()
44    {
45       StringBuffer JavaDoc sb = new StringBuffer JavaDoc(100);
46       sb.append("[");
47       sb.append("cmrFieldName=").append(cmrFieldName);
48       sb.append(",cmrFieldType=").append(cmrFieldType);
49       sb.append("]");
50       return sb.toString();
51    }
52 }
53
Popular Tags