6 |
|
* <ONE LINE DESCRIPTION> |
7 |
|
* <DETAILED DESCRIPTION> |
8 |
|
* |
9 |
– |
* $Log$ |
10 |
– |
* Revision 1.2 2000/11/08 18:18:07 ajm |
11 |
– |
* made small (very) layout change |
12 |
– |
* |
13 |
– |
* Revision 1.1 2000/11/08 18:16:42 ajm4 |
14 |
– |
* initial checkin of template |
15 |
– |
* |
9 |
|
* @author $Author$ |
10 |
|
* @version $Id$ |
11 |
|
*/ |
12 |
|
class TemplateClass { |
13 |
+ |
|
14 |
|
//---FINAL ATTRIBUTES--- |
15 |
< |
final String REVISION = "$Revision$"; |
15 |
> |
|
16 |
> |
/** |
17 |
> |
* The current CVS revision of this class |
18 |
> |
*/ |
19 |
> |
public final String REVISION = "$Revision$"; |
20 |
> |
|
21 |
|
//---STATIC METHODS--- |
22 |
|
|
23 |
|
//---CONSTRUCTORS--- |
25 |
|
//---PUBLIC METHODS--- |
26 |
|
|
27 |
|
/** |
28 |
< |
* Overrides the {@link #java.lang.Object.toString() Object.toString()} |
28 |
> |
* Overrides the {@link java.lang.Object#toString() Object.toString()} |
29 |
|
* method to provide clean logging (every class should have this). |
30 |
+ |
* |
31 |
+ |
* @return the name of this class and its CVS revision |
32 |
|
*/ |
33 |
|
public String toString() { |
34 |
< |
return this.getClass().getName() + REVISION; |
34 |
> |
return this.getClass().getName() + ":" + REVISION; |
35 |
|
} |
36 |
|
|
37 |
|
//---PRIVATE METHODS--- |