PropertyElement.java revision a921fd048da6858dc24d4370e3bba15fc9cc69ca
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 */
9package com.vladium.emma.ant;
10
11// ----------------------------------------------------------------------------
12/**
13 * @author Vlad Roubtsov, (C) 2003
14 */
15public
16final class PropertyElement
17{
18    // public: ................................................................
19
20
21    public PropertyElement ()
22    {
23        // ensure the constructor is always public
24    }
25
26
27    public String getName ()
28    {
29        return m_name;
30    }
31
32    public String getValue ()
33    {
34        return m_value;
35    }
36
37    public void setName (final String name)
38    {
39        m_name = name;
40    }
41
42    public void setValue (final String value)
43    {
44        m_value = value;
45    }
46
47    // protected: .............................................................
48
49    // package: ...............................................................
50
51    // private: ...............................................................
52
53
54    private String m_name, m_value;
55
56} // end of class
57// ----------------------------------------------------------------------------