ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/TemplateClass.java
Revision: 1.7
Committed: Thu Dec 7 21:16:10 2000 UTC (23 years, 11 months ago) by tdb
Branch: MAIN
Changes since 1.6: +7 -5 lines
Log Message:
Added the two import lines, which are required if the toString() is used :)

Also, I didn't realise we had iscream.ac.uk ? :) Fixed now.

File Contents

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