ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/TemplateClass.java
Revision: 1.6
Committed: Thu Dec 7 19:49:27 2000 UTC (23 years, 5 months ago) by ajm
Branch: MAIN
Changes since 1.5: +6 -3 lines
Log Message:
changed to make use of the IscreamName class and the ReferenceManager class

File Contents

# Content
1 //---PACKAGE DECLARATION---
2
3 //---IMPORTS---
4
5 /**
6 * <ONE LINE DESCRIPTION>
7 * <DETAILED DESCRIPTION>
8 *
9 * @author $Author: tdb1 $
10 * @version $Id: TemplateClass.java,v 1.5 2000/11/13 18:20:09 tdb1 Exp $
11 */
12 class TemplateClass {
13
14 //---FINAL ATTRIBUTES---
15
16 /**
17 * The current CVS revision of this class
18 */
19 public static final String REVISION = "$Revision: 1.5 $";
20
21 //---STATIC METHODS---
22
23 //---CONSTRUCTORS---
24
25 //---PUBLIC METHODS---
26
27 /**
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 uk.ac.iscream.util.IscreamNamer.formatName(
35 uk.ac.iscream.util.ReferenceManager.getInstance().getName(),
36 this.getClass().getName(),
37 REVISION);
38 }
39
40 //---PRIVATE METHODS---
41
42 //---ACCESSOR/MUTATOR METHODS---
43
44 //---ATTRIBUTES---
45
46 //---STATIC ATTRIBUTES---
47
48 }