|
|||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| Profile.java | - | 0% | 0% | 0% |
|
||||||||||||||
| 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;
|
|
| 10 |
|
|
| 11 |
|
|
| 12 |
/**
|
|
| 13 |
* @author Laurent Etiemble
|
|
| 14 |
* @version $Revision: 1.5 $
|
|
| 15 |
*/
|
|
| 16 |
public class Profile extends Properties |
|
| 17 |
{
|
|
| 18 |
/** Description of the Field */
|
|
| 19 |
private String name = null; |
|
| 20 |
|
|
| 21 |
|
|
| 22 |
/**Constructor for the Profile object */
|
|
| 23 | 0 |
public Profile()
|
| 24 |
{
|
|
| 25 | 0 |
super();
|
| 26 |
} |
|
| 27 |
|
|
| 28 |
|
|
| 29 |
/**
|
|
| 30 |
* Returns the name.
|
|
| 31 |
*
|
|
| 32 |
* @return String
|
|
| 33 |
*/
|
|
| 34 | 0 |
public String getName()
|
| 35 |
{
|
|
| 36 | 0 |
return this.name; |
| 37 |
} |
|
| 38 |
|
|
| 39 |
|
|
| 40 |
/**
|
|
| 41 |
* Sets the name.
|
|
| 42 |
*
|
|
| 43 |
* @param name The new name value
|
|
| 44 |
*/
|
|
| 45 | 0 |
public void setName(String name) |
| 46 |
{
|
|
| 47 | 0 |
this.name = name;
|
| 48 |
} |
|
| 49 |
|
|
| 50 |
|
|
| 51 |
/**
|
|
| 52 |
* @return Description of the Return Value
|
|
| 53 |
*/
|
|
| 54 | 0 |
public String toString()
|
| 55 |
{
|
|
| 56 | 0 |
return this.name; |
| 57 |
} |
|
| 58 |
} |
|
| 59 |
|
|
||||||||||