1 |
ajm |
1.1 |
//---PACKAGE DECLARATION--- |
2 |
|
|
|
3 |
|
|
//---IMPORTS--- |
4 |
|
|
|
5 |
|
|
/** |
6 |
|
|
* <ONE LINE DESCRIPTION> |
7 |
|
|
* <DETAILED DESCRIPTION> |
8 |
|
|
* |
9 |
ajm |
1.2 |
* @author $Author: ajm4 $ |
10 |
tdb |
1.4 |
* @version $Id: TemplateClass.java,v 1.3 2000/11/08 19:15:05 ajm4 Exp $ |
11 |
ajm |
1.1 |
*/ |
12 |
|
|
class TemplateClass { |
13 |
ajm |
1.3 |
|
14 |
ajm |
1.1 |
//---FINAL ATTRIBUTES--- |
15 |
ajm |
1.3 |
|
16 |
|
|
/** |
17 |
|
|
* The current CVS revision of this class |
18 |
|
|
*/ |
19 |
tdb |
1.4 |
public final String REVISION = "$Revision: 1.3 $"; |
20 |
ajm |
1.3 |
|
21 |
ajm |
1.1 |
//---STATIC METHODS--- |
22 |
|
|
|
23 |
|
|
//---CONSTRUCTORS--- |
24 |
|
|
|
25 |
|
|
//---PUBLIC METHODS--- |
26 |
|
|
|
27 |
|
|
/** |
28 |
tdb |
1.4 |
* Overrides the {@link java.lang.Object#toString() Object.toString()} |
29 |
ajm |
1.1 |
* method to provide clean logging (every class should have this). |
30 |
ajm |
1.3 |
* |
31 |
|
|
* @return the name of this class and its CVS revision |
32 |
ajm |
1.1 |
*/ |
33 |
|
|
public String toString() { |
34 |
ajm |
1.3 |
return this.getClass().getName() + ":" + REVISION; |
35 |
ajm |
1.1 |
} |
36 |
|
|
|
37 |
|
|
//---PRIVATE METHODS--- |
38 |
|
|
|
39 |
|
|
//---ACCESSOR/MUTATOR METHODS--- |
40 |
|
|
|
41 |
|
|
//---ATTRIBUTES--- |
42 |
|
|
|
43 |
|
|
//---STATIC ATTRIBUTES--- |
44 |
|
|
|
45 |
|
|
} |