KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sapia > util > xml > confix > test > NamedValue


1 package org.sapia.util.xml.confix.test;
2
3 /**
4  *
5  *
6  * @author Jean-Cedric Desrochers
7  *
8  * <dl>
9  * <dt><b>Copyright:</b><dd>Copyright &#169; 2002-2003 <a HREF="http://www.sapia-oss.org">Sapia Open Source Software</a>. All Rights Reserved.</dd></dt>
10  * <dt><b>License:</b><dd>Read the license.txt file of the jar or visit the
11  * <a HREF="http://www.sapia-oss.org/license.html">license page</a> at the Sapia OSS web site</dd></dt>
12  * </dl>
13  */

14 public class NamedValue {
15
16   private String JavaDoc _theName;
17   private String JavaDoc _theValue;
18
19   public NamedValue() {
20   }
21
22   public NamedValue(String JavaDoc aName, String JavaDoc aValue) {
23     _theName = aName;
24     _theValue = aValue;
25   }
26
27   public String JavaDoc getName() {
28     return _theName;
29   }
30
31   public String JavaDoc getValue() {
32     return _theValue;
33   }
34
35   public void setName(String JavaDoc aName) {
36     _theName = aName;
37   }
38
39   public void setValue(String JavaDoc aValue) {
40     _theValue = aValue;
41   }
42 }
43
Popular Tags