ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/reports/DBReporter/ReportPage.java
(Generate patch)

Comparing projects/cms/source/reports/DBReporter/ReportPage.java (file contents):
Revision 1.8 by pjm2, Sun Jan 7 13:49:54 2001 UTC vs.
Revision 1.10 by pjm2, Sun Jan 7 19:54:03 2001 UTC

# Line 27 | Line 27 | public class ReportPage {
27  
28   //---CONSTRUCTORS---
29  
30 <    public ReportPage(String location, String description, int type){
30 >    public ReportPage(String location, String machine_name, String when, String report, int type){
31          
32          if (type < HOUR || type > MONTH){
33              System.out.println("Could not add the page.");
34          }
35          
36          _location = location;
37 <        _description = description;
37 >        _machine_name = machine_name;
38 >        _when = when;
39 >        _report = report;
40          _type = type;
41      }
42  
# Line 60 | Line 62 | public class ReportPage {
62          return _location;
63      }
64      
65 <    public String getDescription(){
66 <        return _description;
65 >    public String getMachineName(){
66 >        return _machine_name;
67      }
68 +
69 +    public String getWhen(){
70 +        return _when;
71 +    }
72      
73 +    public String getReport(){
74 +        return _report;
75 +    }
76 +    
77      public int getType(){
78          return _type;
79      }
80 +
81      
82      
83   //---ATTRIBUTES---
84  
85      private String _location;
86 <    private String _description;
86 >    private String _machine_name;
87 >    private String _when;
88 >    private String _report;
89      private int _type;
90  
91   //---STATIC ATTRIBUTES---

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines