KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > PackageLessClass


1 /*
2  * Enhydra Java Application Server Project
3  *
4  * The contents of this file are subject to the Enhydra Public License
5  * Version 1.1 (the "License"); you may not use this file except in
6  * compliance with the License. You may obtain a copy of the License on
7  * the Enhydra web site ( http://www.enhydra.org/ ).
8  *
9  * Software distributed under the License is distributed on an "AS IS"
10  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
11  * the License for the specific terms governing rights and limitations
12  * under the License.
13  *
14  * The Initial Developer of the Enhydra Application Server is Lutris
15  * Technologies, Inc. The Enhydra Application Server and portions created
16  * by Lutris Technologies, Inc. are Copyright Lutris Technologies, Inc.
17  * All Rights Reserved.
18  */

19
20 /**
21  * <p>
22  * <code>PackageLessClass</code> is a class that is useless in itself but
23  * has a useful class package. A class named "" is a good way to confuse a
24  * lot of things.
25  * </p>
26  */

27 public class PackageLessClass {
28     
29     /** The value for this class */
30     private String JavaDoc value;
31     
32     /**
33      * <p>Default constructor.</p>
34      *
35      * @param value the value for this class.
36      */

37     public PackageLessClass(String JavaDoc value) {
38         this.value = value;
39     }
40
41     /**
42      * <p>This returns the textual representation of this class.</p>
43      *
44      * @return <code>String</code> - the representation of this class.
45      */

46     public String JavaDoc toString() {
47         return value;
48     }
49 }
50
Popular Tags