ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/reports/DBReporter2/Report.java
Revision: 1.3
Committed: Fri Mar 23 23:47:28 2001 UTC (24 years, 3 months ago) by pjm2
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +0 -0 lines
State: FILE REMOVED
Log Message:
I thought I'd deleted these weeks ago(!)

File Contents

# User Rev Content
1 pjm2 1.2 // Class Used to store details of each report type.
2 pjm2 1.1 public class Report {
3    
4     public Report(String reportField, String friendlyName) throws NumberFormatException {
5     this(reportField, friendlyName, "0.0");
6     }
7    
8     public Report(String reportField, String friendlyName, String maxY) throws NumberFormatException {
9     _reportField = reportField;
10     _friendlyName = friendlyName;
11     _maxY = Double.parseDouble(maxY);
12     }
13    
14     public String getReportField() {
15     return _reportField;
16     }
17    
18     public String getFriendlyName() {
19     return _friendlyName;
20     }
21    
22     public double getMaxY() {
23     return _maxY;
24     }
25    
26     public boolean isScaled() {
27     return _maxY > 0;
28     }
29    
30 pjm2 1.2 //public void setPlotData(PlotData plotData) {
31     // _plotData = plotData;
32     //}
33    
34     //public PlotData getPlotData() {
35     // return _plotData;
36     //}
37    
38     //public void clearPlotData() {
39     // _plotData = null;
40     //}
41 pjm2 1.1
42     private String _reportField;
43     private String _friendlyName;
44     private double _maxY;
45 pjm2 1.2 //private PlotData _plotData;
46 pjm2 1.1 }