KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > easybeans > deployment > xml > struct > common > EnvEntry


1 /**
2  * EasyBeans
3  * Copyright (C) 2006 Bull S.A.S.
4  * Contact: easybeans@objectweb.org
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
19  * USA
20  *
21  * --------------------------------------------------------------------------
22  * $Id: EnvEntry.java 122 2006-03-05 19:54:41Z benoitf $
23  * --------------------------------------------------------------------------
24  */

25
26 package org.objectweb.easybeans.deployment.xml.struct.common;
27
28 /**
29  * This class defines the implementation of the <env-entry> element.
30  * @author Florent Benoit
31  */

32 public class EnvEntry {
33
34     /**
35      * Name of this element.
36      */

37     public static final String JavaDoc NAME = "env-entry";
38
39     /**
40      * Description of the <env-entry> element.
41      */

42     private String JavaDoc description = null;
43
44     /**
45      * Name of the <env-entry> element.
46      */

47     private String JavaDoc envEntryName = null;
48
49     /**
50      * Value of the <env-entry> element.
51      */

52     private String JavaDoc envEntryValue = null;
53
54     /**
55      * Type of the <env-entry> element.
56      */

57     private String JavaDoc envEntryType = null;
58
59     /**
60      * Sets the description.
61      * @param description the description to use
62      */

63     public void setDescription(final String JavaDoc description) {
64         this.description = description;
65     }
66
67     /**
68      * Sets the name.
69      * @param envEntryName the name to use
70      */

71     public void setEnvEntryName(final String JavaDoc envEntryName) {
72         this.envEntryName = envEntryName;
73     }
74
75     /**
76      * Sets the value.
77      * @param envEntryValue the value to use
78      */

79     public void setEnvEntryValue(final String JavaDoc envEntryValue) {
80         this.envEntryValue = envEntryValue;
81     }
82
83     /**
84      * Sets the type.
85      * @param envEntryType the type to use
86      */

87     public void setEnvEntryType(final String JavaDoc envEntryType) {
88         this.envEntryType = envEntryType;
89     }
90
91     /**
92      * @return the description of the <env-entry> element.
93      */

94     public String JavaDoc getDescription() {
95         return description;
96     }
97
98     /**
99      * @return the name of the <env-entry> element.
100      */

101     public String JavaDoc getEnvEntryName() {
102         return envEntryName;
103     }
104
105     /**
106      * @return the value of the <env-entry> element.
107      */

108     public String JavaDoc getEnvEntryValue() {
109         return envEntryValue;
110     }
111
112     /**
113      * @return the type of the <env-entry> element.
114      */

115     public String JavaDoc getEnvEntryType() {
116         return envEntryType;
117     }
118 }
119
Popular Tags