1 | package org.medias.eccad.modele; |
---|
2 | |
---|
3 | import java.util.List; |
---|
4 | import java.util.Map; |
---|
5 | |
---|
6 | public class StatReponse { |
---|
7 | private Zone zone; |
---|
8 | private Temporel tempo; |
---|
9 | private InfoCarte carte; |
---|
10 | private String error; |
---|
11 | private String urlImage; |
---|
12 | private Map<String, String> statistique; |
---|
13 | private List<Valeur> graphe; |
---|
14 | private Float minimal; |
---|
15 | private Float maximal; |
---|
16 | private Float center; |
---|
17 | private Float centerLat; |
---|
18 | private Float centerLon; |
---|
19 | |
---|
20 | public StatReponse(String error) { |
---|
21 | super(); |
---|
22 | this.error = error; |
---|
23 | } |
---|
24 | |
---|
25 | public String toString() { |
---|
26 | String valeur = minimal + " : " + maximal; |
---|
27 | return valeur; |
---|
28 | } |
---|
29 | |
---|
30 | |
---|
31 | public StatReponse(Zone zone, Temporel tempo, InfoCarte carte, String urlImage, Map<String, String> statistique, List<Valeur> graphe) { |
---|
32 | super(); |
---|
33 | this.zone = zone; |
---|
34 | this.tempo = tempo; |
---|
35 | this.carte = carte; |
---|
36 | this.urlImage = urlImage; |
---|
37 | this.statistique = statistique; |
---|
38 | this.graphe = graphe; |
---|
39 | } |
---|
40 | |
---|
41 | public StatReponse(Zone zone, Temporel tempo, InfoCarte carte, String urlImage, List<Valeur> graphe) { |
---|
42 | super(); |
---|
43 | this.zone = zone; |
---|
44 | this.tempo = tempo; |
---|
45 | this.carte = carte; |
---|
46 | this.urlImage = urlImage; |
---|
47 | this.graphe = graphe; |
---|
48 | } |
---|
49 | |
---|
50 | public StatReponse(Zone zone, Temporel tempo, InfoCarte carte, String urlImage) { |
---|
51 | super(); |
---|
52 | this.zone = zone; |
---|
53 | this.tempo = tempo; |
---|
54 | this.carte = carte; |
---|
55 | this.urlImage = urlImage; |
---|
56 | } |
---|
57 | |
---|
58 | public InfoCarte getCarte() { |
---|
59 | return carte; |
---|
60 | } |
---|
61 | public void setCarte(InfoCarte carte) { |
---|
62 | this.carte = carte; |
---|
63 | } |
---|
64 | public Temporel getTempo() { |
---|
65 | return tempo; |
---|
66 | } |
---|
67 | public void setTempo(Temporel tempo) { |
---|
68 | this.tempo = tempo; |
---|
69 | } |
---|
70 | public Zone getZone() { |
---|
71 | return zone; |
---|
72 | } |
---|
73 | public void setZone(Zone zone) { |
---|
74 | this.zone = zone; |
---|
75 | } |
---|
76 | |
---|
77 | public String getError() { |
---|
78 | return error; |
---|
79 | } |
---|
80 | |
---|
81 | public void setError(String error) { |
---|
82 | this.error = error; |
---|
83 | } |
---|
84 | |
---|
85 | public String getUrlImage() { |
---|
86 | return urlImage; |
---|
87 | } |
---|
88 | |
---|
89 | public void setUrlImage(String urlImage) { |
---|
90 | this.urlImage = urlImage; |
---|
91 | } |
---|
92 | |
---|
93 | public Map<String, String> getStatistique() { |
---|
94 | return statistique; |
---|
95 | } |
---|
96 | |
---|
97 | public void setStatistique(Map<String, String> statistique) { |
---|
98 | this.statistique = statistique; |
---|
99 | } |
---|
100 | |
---|
101 | |
---|
102 | |
---|
103 | public List<Valeur> getGraphe() { |
---|
104 | return graphe; |
---|
105 | } |
---|
106 | |
---|
107 | |
---|
108 | |
---|
109 | public void setGraphe(List<Valeur> graphe) { |
---|
110 | this.graphe = graphe; |
---|
111 | } |
---|
112 | |
---|
113 | |
---|
114 | |
---|
115 | public Float getMaximal() { |
---|
116 | return maximal; |
---|
117 | } |
---|
118 | |
---|
119 | |
---|
120 | |
---|
121 | public void setMaximal(Float maximal) { |
---|
122 | this.maximal = maximal; |
---|
123 | } |
---|
124 | |
---|
125 | |
---|
126 | |
---|
127 | public Float getMinimal() { |
---|
128 | return minimal; |
---|
129 | } |
---|
130 | |
---|
131 | |
---|
132 | |
---|
133 | public void setMinimal(Float minimal) { |
---|
134 | this.minimal = minimal; |
---|
135 | } |
---|
136 | |
---|
137 | public Float getCenter() { |
---|
138 | return center; |
---|
139 | } |
---|
140 | |
---|
141 | |
---|
142 | |
---|
143 | public void setCenter(Float aCenter) { |
---|
144 | this.center = aCenter; |
---|
145 | } |
---|
146 | |
---|
147 | |
---|
148 | public Float getCenterLat() { |
---|
149 | return centerLat; |
---|
150 | } |
---|
151 | |
---|
152 | |
---|
153 | |
---|
154 | public void setCenterLat(Float aCenterLat) { |
---|
155 | this.centerLat = aCenterLat; |
---|
156 | } |
---|
157 | |
---|
158 | public Float getCenterLon() { |
---|
159 | return centerLon; |
---|
160 | } |
---|
161 | |
---|
162 | |
---|
163 | |
---|
164 | public void setCenterLon(Float aCenterLon) { |
---|
165 | this.centerLon = aCenterLon; |
---|
166 | } |
---|
167 | |
---|
168 | } |
---|