f334a2fb2816924c0d02aa896fb7a21177e71884.svn-base 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. package com.chart.vo;
  2. import java.util.Map;
  3. /**
  4. * 用于支持前台的传入的参数
  5. *
  6. * @author peterkong
  7. *
  8. */
  9. public class QueryVo{
  10. private String startTime; // 开始时间
  11. private String endTime; // 结束时间
  12. private String fieldTime; // 查询时间的数据库字段
  13. private String classid; // 查询定义的CLASSID
  14. private String xAxis; // 曲线图、柱状图的X轴,同时也是饼图的属性
  15. private String fieldXAxis; // 查询X轴的字段项,同时也是饼图的属性
  16. private String yAxis; // 曲线图、柱状图的Y轴,对饼图不予支持
  17. private String fieldYAxis; // 查询Y轴的字段项
  18. private String timeRange; // 当选择为曲线图时,需要选择年度
  19. private String typeChart; // 统计图的类型
  20. private Map<String, String> tranferConstant; // 存储常量中文与代码
  21. public Map<String, String> getTranferConstant() {
  22. return tranferConstant;
  23. }
  24. public void setTranferConstant(Map<String, String> tranferConstant) {
  25. this.tranferConstant = tranferConstant;
  26. }
  27. public String getTypeChart() {
  28. return typeChart;
  29. }
  30. public void setTypeChart(String typeChart) {
  31. this.typeChart = typeChart;
  32. }
  33. public String getStartTime() {
  34. return startTime;
  35. }
  36. public void setStartTime(String startTime) {
  37. this.startTime = startTime;
  38. }
  39. public String getEndTime() {
  40. return endTime;
  41. }
  42. public void setEndTime(String endTime) {
  43. this.endTime = endTime;
  44. }
  45. public String getClassid() {
  46. return classid;
  47. }
  48. public void setClassid(String classId) {
  49. this.classid = classId;
  50. }
  51. public String getxAxis() {
  52. return xAxis;
  53. }
  54. public void setxAxis(String xAxis) {
  55. this.xAxis = xAxis;
  56. }
  57. public String getyAxis() {
  58. return yAxis;
  59. }
  60. public void setyAxis(String yAxis) {
  61. this.yAxis = yAxis;
  62. }
  63. public String getTimeRange() {
  64. return timeRange;
  65. }
  66. public void setTimeRange(String timeRange) {
  67. this.timeRange = timeRange;
  68. }
  69. public String getFieldTime() {
  70. return fieldTime;
  71. }
  72. public void setFieldTime(String fieldTime) {
  73. this.fieldTime = fieldTime;
  74. }
  75. public String getFieldXAxis() {
  76. return fieldXAxis;
  77. }
  78. public void setFieldXAxis(String fieldXAxis) {
  79. this.fieldXAxis = fieldXAxis;
  80. }
  81. public String getFieldYAxis() {
  82. return fieldYAxis;
  83. }
  84. public void setFieldYAxis(String fieldYAxis) {
  85. this.fieldYAxis = fieldYAxis;
  86. }
  87. }