KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ejtools > util > service > Profile


1 /*
2  * EJTools, the Enterprise Java Tools
3  *
4  * Distributable under LGPL license.
5  * See terms of license at www.gnu.org.
6  */

7 package org.ejtools.util.service;
8
9 import java.util.Properties JavaDoc;
10
11
12 /**
13  * @author Laurent Etiemble
14  * @version $Revision: 1.5 $
15  */

16 public class Profile extends Properties JavaDoc
17 {
18    /** Description of the Field */
19    private String JavaDoc name = null;
20
21
22    /**Constructor for the Profile object */
23    public Profile()
24    {
25       super();
26    }
27
28
29    /**
30     * Returns the name.
31     *
32     * @return String
33     */

34    public String JavaDoc getName()
35    {
36       return this.name;
37    }
38
39
40    /**
41     * Sets the name.
42     *
43     * @param name The new name value
44     */

45    public void setName(String JavaDoc name)
46    {
47       this.name = name;
48    }
49
50
51    /**
52     * @return Description of the Return Value
53     */

54    public String JavaDoc toString()
55    {
56       return this.name;
57    }
58 }
59
Popular Tags