1 | /* |
2 | * JavaBean.java |
3 | * |
4 | * Project: EL4Ant |
5 | * |
6 | * WHEN WHO WHAT DESCRIPTION |
7 | * 29.11.04 YMA Creation |
8 | * |
9 | * EL4Ant, a Ant-based buildsystem, http://el4ant.sourceforge.net |
10 | * Copyright (C) 2005 by ELCA Informatique SA, Av. de la Harpe 22-24, |
11 | * 1000 Lausanne, Switzerland, http://www.elca.ch |
12 | * |
13 | * This program is published under the GNU General Public License (GPL) license. |
14 | * http://www.gnu.org/licenses/gpl.txt |
15 | * |
16 | * This program is distributed in the hope that it will be useful, |
17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
19 | * GNU General Public License for more details. |
20 | * |
21 | * For alternative licensing, please contact info@elca.ch |
22 | */ |
23 | package helloworld; |
24 | |
25 | /** |
26 | * A basic JavaBean. |
27 | * |
28 | * <script type="text/javascript">printFileStatus |
29 | * ("$URL: https://svn.sourceforge.net/svnroot/el4ant/trunk/helloworld/common/java/helloworld/JavaBean.java $", |
30 | * "$Revision: 266 $", "$Date: 2005-10-24 10:26:50 +0200 (Mon, 24 Oct 2005) $", "$Author: yma $" |
31 | * );</script> |
32 | * |
33 | * @author Yves Martin (YMA) |
34 | * @version $Revision: 266 $ |
35 | */ |
36 | public class JavaBean { |
37 | |
38 | /** Name field */ |
39 | private String name; |
40 | |
41 | /** |
42 | * Get the Name value. |
43 | * @return the Name value. |
44 | */ |
45 | public String getName() { |
46 | return name; |
47 | } |
48 | |
49 | /** |
50 | * Set the Name value. |
51 | * @param newName The new Name value. |
52 | */ |
53 | public void setName(String newName) { |
54 | this.name = newName; |
55 | } |
56 | |
57 | /** Value field */ |
58 | private String value; |
59 | |
60 | /** |
61 | * Get the Value value. |
62 | * @return the Value value. |
63 | */ |
64 | public String getValue() { |
65 | return value; |
66 | } |
67 | |
68 | /** |
69 | * Set the Value value. |
70 | * @param newValue The new Value value. |
71 | */ |
72 | public void setValue(String newValue) { |
73 | this.value = newValue; |
74 | } |
75 | } |