KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sapia > util > xml > idefix > test > SimpleObject


1 package org.sapia.util.xml.idefix.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 SimpleObject {
15
16   private String JavaDoc _name;
17
18   private String JavaDoc _value;
19
20   private String JavaDoc _type;
21
22   public SimpleObject(String JavaDoc aName, String JavaDoc aValue, String JavaDoc aType) {
23     _name = aName;
24     _value = aValue;
25     _type = aType;
26   }
27
28   public String JavaDoc getName() {
29     return _name;
30   }
31
32   public String JavaDoc getValue() {
33     return _value;
34   }
35
36   public String JavaDoc getType() {
37     return _type;
38   }
39 }
40
Popular Tags