View Javadoc

1   package org.whatsitcalled.webflange.model;
2   
3   import java.awt.image.BufferedImage;
4   import java.io.Serializable;
5   import java.io.UnsupportedEncodingException;
6   import java.net.URLEncoder;
7   
8   public class Chart implements Serializable {
9   	private Long id;
10  
11  	private String name;
12  
13  	private String fileName = "";
14  
15  	private long time;
16  
17  	private boolean visible = true;
18  
19  	private transient BufferedImage chartImage;
20  
21  	private boolean showTests = false;
22  
23  	private boolean showErrors = false;
24  
25  	private boolean showMeanTestTime = false;
26  
27  	private boolean showTestTimeStandardDeviation = false;
28  
29  	private boolean showMeanResponseLength = false;
30  
31  	private boolean showResponseBytesPerSecond = false;
32  
33  	private boolean showResponseErrors = false;
34  
35  	private boolean showMeanTimeToResolveHost = false;
36  
37  	private boolean showMeanTimeToEstablishConnection = false;
38  
39  	private boolean showMeanTimeToFirstByte = false;
40  
41  	public String getFileName() {
42  		return fileName;
43  	}
44  
45  	public void setFileName(String chartFileName) {
46  		this.fileName = chartFileName;
47  	}
48  
49  	public long getTime() {
50  		return time;
51  	}
52  
53  	public void setTime(long date) {
54  		this.time = date;
55  	}
56  
57  	public Long getId() {
58  		return id;
59  	}
60  
61  	public void setId(Long id) {
62  		this.id = id;
63  	}
64  
65  	public boolean isVisible() {
66  		return visible;
67  	}
68  
69  	public void setVisible(boolean visible) {
70  		this.visible = visible;
71  	}
72  
73  	public String getName() {
74  		return name;
75  	}
76  
77  	public void setName(String name) {
78  		this.name = name;
79  	}
80  
81  	public BufferedImage getChartImage() {
82  		return chartImage;
83  	}
84  
85  	public void setChartImage(BufferedImage chartImage) {
86  		this.chartImage = chartImage;
87  	}
88  
89  	public boolean isShowErrors() {
90  		return showErrors;
91  	}
92  
93  	public void setShowErrors(boolean showErrors) {
94  		this.showErrors = showErrors;
95  	}
96  
97  	public boolean isShowMeanResponseLength() {
98  		return showMeanResponseLength;
99  	}
100 
101 	public void setShowMeanResponseLength(boolean showMeanResponseLength) {
102 		this.showMeanResponseLength = showMeanResponseLength;
103 	}
104 
105 	public boolean isShowMeanTestTime() {
106 		return showMeanTestTime;
107 	}
108 
109 	public void setShowMeanTestTime(boolean showMeanTestTime) {
110 		this.showMeanTestTime = showMeanTestTime;
111 	}
112 
113 	public boolean isShowMeanTimeToEstablishConnection() {
114 		return showMeanTimeToEstablishConnection;
115 	}
116 
117 	public void setShowMeanTimeToEstablishConnection(
118 			boolean showMeanTimeToEstablishConnection) {
119 		this.showMeanTimeToEstablishConnection = showMeanTimeToEstablishConnection;
120 	}
121 
122 	public boolean isShowMeanTimeToFirstByte() {
123 		return showMeanTimeToFirstByte;
124 	}
125 
126 	public void setShowMeanTimeToFirstByte(boolean showMeanTimeToFirstByte) {
127 		this.showMeanTimeToFirstByte = showMeanTimeToFirstByte;
128 	}
129 
130 	public boolean isShowMeanTimeToResolveHost() {
131 		return showMeanTimeToResolveHost;
132 	}
133 
134 	public void setShowMeanTimeToResolveHost(boolean showMeanTimeToResolveHost) {
135 		this.showMeanTimeToResolveHost = showMeanTimeToResolveHost;
136 	}
137 
138 	public boolean isShowResponseBytesPerSecond() {
139 		return showResponseBytesPerSecond;
140 	}
141 
142 	public void setShowResponseBytesPerSecond(boolean showResponseBytesPerSecond) {
143 		this.showResponseBytesPerSecond = showResponseBytesPerSecond;
144 	}
145 
146 	public boolean isShowResponseErrors() {
147 		return showResponseErrors;
148 	}
149 
150 	public void setShowResponseErrors(boolean showResponseErrors) {
151 		this.showResponseErrors = showResponseErrors;
152 	}
153 
154 	public boolean isShowTests() {
155 		return showTests;
156 	}
157 
158 	public void setShowTests(boolean showTests) {
159 		this.showTests = showTests;
160 	}
161 
162 	public boolean isShowTestTimeStandardDeviation() {
163 		return showTestTimeStandardDeviation;
164 	}
165 
166 	public void setShowTestTimeStandardDeviation(
167 			boolean showTestTimeStandardDeviation) {
168 		this.showTestTimeStandardDeviation = showTestTimeStandardDeviation;
169 	}
170 
171 }