KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > vladium > emma > ant > PropertyElement


1 /* Copyright (C) 2003 Vladimir Roubtsov. All rights reserved.
2  *
3  * This program and the accompanying materials are made available under
4  * the terms of the Common Public License v1.0 which accompanies this distribution,
5  * and is available at http://www.eclipse.org/legal/cpl-v10.html
6  *
7  * $Id: PropertyElement.java,v 1.1.1.1.2.1 2004/07/10 03:34:52 vlad_r Exp $
8  */

9 package com.vladium.emma.ant;
10
11 // ----------------------------------------------------------------------------
12
/**
13  * @author Vlad Roubtsov, (C) 2003
14  */

15 public
16 final class PropertyElement
17 {
18     // public: ................................................................
19

20     
21     public PropertyElement ()
22     {
23         // ensure the constructor is always public
24
}
25     
26
27     public String JavaDoc getName ()
28     {
29         return m_name;
30     }
31     
32     public String JavaDoc getValue ()
33     {
34         return m_value;
35     }
36
37     public void setName (final String JavaDoc name)
38     {
39         m_name = name;
40     }
41     
42     public void setValue (final String JavaDoc value)
43     {
44         m_value = value;
45     }
46     
47     // protected: .............................................................
48

49     // package: ...............................................................
50

51     // private: ...............................................................
52

53
54     private String JavaDoc m_name, m_value;
55
56 } // end of class
57
// ----------------------------------------------------------------------------
Popular Tags