KickJava   Java API By Example, From Geeks To Geeks.

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


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

16 public class EnvEntry
17 {
18    private String JavaDoc description;
19
20    private String JavaDoc envEntryName;
21
22    private String JavaDoc envEntryType;
23
24    private String JavaDoc envEntryValue;
25    
26    private String JavaDoc injectionTarget;
27    
28    public String JavaDoc getInjectionTarget()
29    {
30       return injectionTarget;
31    }
32
33    public void setInjectionTarget(String JavaDoc injectionTarget)
34    {
35       this.injectionTarget = injectionTarget;
36    }
37
38    public String JavaDoc getDescription()
39    {
40       return description;
41    }
42
43    public void setDescription(String JavaDoc description)
44    {
45       this.description = description;
46    }
47
48    public String JavaDoc getEnvEntryName()
49    {
50       return envEntryName;
51    }
52
53    public void setEnvEntryName(String JavaDoc envEntryName)
54    {
55       this.envEntryName = envEntryName;
56    }
57
58    public String JavaDoc getEnvEntryType()
59    {
60       return envEntryType;
61    }
62
63    public void setEnvEntryType(String JavaDoc envEntryType)
64    {
65       this.envEntryType = envEntryType;
66    }
67
68    public String JavaDoc getEnvEntryValue()
69    {
70       return envEntryValue;
71    }
72
73    public void setEnvEntryValue(String JavaDoc envEntryValue)
74    {
75       this.envEntryValue = envEntryValue;
76    }
77
78    public String JavaDoc toString()
79    {
80       StringBuffer JavaDoc sb = new StringBuffer JavaDoc(100);
81       sb.append("[");
82       sb.append("envEntryName=").append(envEntryName);
83       sb.append("]");
84       return sb.toString();
85    }
86 }
87
Popular Tags