Changeset 505
- Timestamp:
- 02/03/11 17:34:42 (2 years ago)
- Location:
- raptor-information-model/trunk/src/main/java/uk/ac/cardiff/model
- Files:
-
- 2 added
- 2 edited
-
Graph/AggregatorGraphModel.java (modified) (3 diffs)
-
Presentation.java (added)
-
Series.java (added)
-
StatisticParameters.java (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
raptor-information-model/trunk/src/main/java/uk/ac/cardiff/model/Graph/AggregatorGraphModel.java
r367 r505 3 3 import java.util.ArrayList; 4 4 import java.util.List; 5 6 import uk.ac.cardiff.model.Presentation; 5 7 6 8 … … 15 17 private List<String> seriesLabels; 16 18 private List<List<Double>> chartValues; 19 20 private Presentation presentation; 17 21 18 22 … … 72 76 } 73 77 78 public void setPresentation(Presentation presentation) { 79 this.presentation = presentation; 80 } 81 82 public Presentation getPresentation() { 83 return presentation; 84 } 85 74 86 75 87 } -
raptor-information-model/trunk/src/main/java/uk/ac/cardiff/model/StatisticParameters.java
r499 r505 5 5 6 6 import java.io.Serializable; 7 import java.util.ArrayList; 7 8 import java.util.Calendar; 8 9 import java.util.Date; … … 41 42 private List<MethodParameter> methodParams; 42 43 43 /* The textual description of the series, as attached to the x-axis */44 private String seriesLabel;45 /* A formatted textual description of the series, typically formatted by the logic of the authentication statistic*/46 private String SeriesLabelFormatted;47 48 44 /* 49 45 * the start time from which to produce the starts, defining the temporal extent If a starttime and endtime is not given, the entire temporal extent of the … … 67 63 private SQLFilter sqlFilter; 68 64 65 /* Configures the parameters used to view a graphical representation*/ 66 private Presentation presentation; 67 68 /* A series to plot on the graph*/ 69 private List<Series> series; 70 71 public StatisticParameters(){ 72 presentation = new Presentation(); 73 presentation.setGraphTitle(""); 74 presentation.setxAxisLabel(""); 75 presentation.setyAxisLabel(""); 76 setSeries(new ArrayList<Series>()); 77 } 78 69 79 public void setUnitName(String unitName) { 70 log.debug("Setting unit name: "+unitName);71 80 this.unitName = unitName; 72 81 } … … 90 99 public List<MethodParameter> getMethodParams() { 91 100 return methodParams; 92 }93 94 public void setSeriesLabel(String seriesLabel) {95 this.seriesLabel = seriesLabel;96 }97 98 public String getSeriesLabel() {99 return seriesLabel;100 101 } 101 102 … … 313 314 } 314 315 315 public void setSeriesLabelFormatted(String seriesLabelFormatted) {316 SeriesLabelFormatted = seriesLabelFormatted;317 }318 319 public String getSeriesLabelFormatted() {320 return SeriesLabelFormatted;321 }322 323 316 public void setSqlFilter(SQLFilter sqlFilter) { 324 317 this.sqlFilter = sqlFilter; … … 329 322 } 330 323 331 324 public void setPresentation(Presentation presentation) { 325 this.presentation = presentation; 326 } 327 328 public Presentation getPresentation() { 329 return presentation; 330 } 331 332 public void setSeries(List<Series> series) { 333 this.series = series; 334 } 335 336 public List<Series> getSeries() { 337 return series; 338 } 332 339 333 340
Note: See TracChangeset
for help on using the changeset viewer.
