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

# User Rev Content
1 ajm 1.1 //---PACKAGE DECLARATION---
2    
3     //---IMPORTS---
4    
5     /**
6     * <ONE LINE DESCRIPTION>
7     * <DETAILED DESCRIPTION>
8     *
9 tdb 1.5 * @author $Author: tdb1 $
10 ajm 1.6 * @version $Id: TemplateClass.java,v 1.5 2000/11/13 18:20:09 tdb1 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 ajm 1.6 public static final String REVISION = "$Revision: 1.5 $";
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.6 return uk.ac.iscream.util.IscreamNamer.formatName(
35     uk.ac.iscream.util.ReferenceManager.getInstance().getName(),
36     this.getClass().getName(),
37     REVISION);
38 ajm 1.1 }
39    
40     //---PRIVATE METHODS---
41    
42     //---ACCESSOR/MUTATOR METHODS---
43    
44     //---ATTRIBUTES---
45    
46     //---STATIC ATTRIBUTES---
47    
48     }