1 package net.sf.mbus4j.master;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31 import net.sf.mbus4j.MBusAddressing;
32 import net.sf.mbus4j.dataframes.MBusMedium;
33 import net.sf.mbus4j.dataframes.UserDataResponse;
34 import net.sf.mbus4j.dataframes.datablocks.DataBlock;
35 import net.sf.mbus4j.dataframes.datablocks.dif.DataFieldCode;
36 import net.sf.mbus4j.dataframes.datablocks.dif.FunctionField;
37 import net.sf.mbus4j.dataframes.datablocks.vif.Vif;
38 import net.sf.mbus4j.dataframes.datablocks.vif.Vife;
39
40
41
42
43
44 public class ValueRequestPointLocator<T> {
45
46 private MBusAddressing addressing;
47 private byte address;
48 private String manufacturer;
49 private int identnumber;
50 private MBusMedium medium;
51 private byte version;
52 private String responseFrameName;
53 private DataFieldCode difCode;
54 private FunctionField functionField;
55 private int deviceUnit;
56 private int tariff;
57 private long storageNumber;
58 private Vif vif;
59 private Vife[] vifes = DataBlock.EMPTY_VIFE;
60 private DataBlock db;
61 private DataBlock timestampDb;
62 private UserDataResponse fullResponse;
63 private T reference;
64
65
66
67
68 public MBusAddressing getAddressing() {
69 return addressing;
70 }
71
72
73
74
75 public void setAddressing(MBusAddressing addressing) {
76 this.addressing = addressing;
77 }
78
79
80
81
82 public byte getAddress() {
83 return address;
84 }
85
86
87
88
89 public void setAddress(byte address) {
90 this.address = address;
91 }
92
93
94
95
96 public String getManufacturer() {
97 return manufacturer;
98 }
99
100
101
102
103 public void setManufacturer(String manufacturer) {
104 this.manufacturer = manufacturer;
105 }
106
107
108
109
110 public int getIdentnumber() {
111 return identnumber;
112 }
113
114
115
116
117 public void setIdentnumber(int identnumber) {
118 this.identnumber = identnumber;
119 }
120
121
122
123
124 public MBusMedium getMedium() {
125 return medium;
126 }
127
128
129
130
131 public void setMedium(MBusMedium medium) {
132 this.medium = medium;
133 }
134
135
136
137
138 public byte getVersion() {
139 return version;
140 }
141
142
143
144
145 public void setVersion(byte version) {
146 this.version = version;
147 }
148
149
150
151
152 public String getResponseFrameName() {
153 return responseFrameName;
154 }
155
156
157
158
159 public void setResponseFrameName(String responseFrameName) {
160 this.responseFrameName = responseFrameName;
161 }
162
163
164
165
166 public DataFieldCode getDifCode() {
167 return difCode;
168 }
169
170
171
172
173 public void setDifCode(DataFieldCode difCode) {
174 this.difCode = difCode;
175 }
176
177
178
179
180 public FunctionField getFunctionField() {
181 return functionField;
182 }
183
184
185
186
187 public void setFunctionField(FunctionField functionField) {
188 this.functionField = functionField;
189 }
190
191
192
193
194 public int getDeviceUnit() {
195 return deviceUnit;
196 }
197
198
199
200
201 public void setDeviceUnit(int deviceUnit) {
202 this.deviceUnit = deviceUnit;
203 }
204
205
206
207
208 public int getTariff() {
209 return tariff;
210 }
211
212
213
214
215 public void setTariff(int tariff) {
216 this.tariff = tariff;
217 }
218
219
220
221
222 public long getStorageNumber() {
223 return storageNumber;
224 }
225
226
227
228
229 public void setStorageNumber(long storageNumber) {
230 this.storageNumber = storageNumber;
231 }
232
233
234
235
236 public Vif getVif() {
237 return vif;
238 }
239
240
241
242
243 public void setVif(Vif vif) {
244 this.vif = vif;
245 }
246
247
248
249
250 public Vife[] getVifes() {
251 return vifes;
252 }
253
254
255
256
257 public void setVifes(Vife[] vifes) {
258 this.vifes = vifes;
259 }
260
261
262
263
264 public DataBlock getDb() {
265 return db;
266 }
267
268
269
270
271 public void setDb(DataBlock db) {
272 this.db = db;
273 }
274
275
276
277
278 public DataBlock getTimestampDb() {
279 return timestampDb;
280 }
281
282
283
284
285 public void setTimestampDb(DataBlock timestampDb) {
286 this.timestampDb = timestampDb;
287 }
288
289
290
291
292 public UserDataResponse getFullResponse() {
293 return fullResponse;
294 }
295
296
297
298
299 public void setFullResponse(UserDataResponse fullResponse) {
300 this.fullResponse = fullResponse;
301 }
302
303
304
305
306 public T getReference() {
307 return reference;
308 }
309
310
311
312
313 public void setReference(T reference) {
314 this.reference = reference;
315 }
316 }