ChannelVoBase.java
21.8 KB
1
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
package com.viontech.fanxing.commons.vobase;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.viontech.fanxing.commons.base.VoInterface;
import com.viontech.fanxing.commons.model.Channel;
import java.util.ArrayList;
public class ChannelVoBase extends Channel implements VoInterface<Channel> {
private Channel channel;
@JsonIgnore
private ArrayList<Long> id_arr;
@JsonIgnore
private Long id_gt;
@JsonIgnore
private Long id_lt;
@JsonIgnore
private Long id_gte;
@JsonIgnore
private Long id_lte;
@JsonIgnore
private ArrayList<String> unid_arr;
@JsonIgnore
private String unid_like;
@JsonIgnore
private ArrayList<String> channelUnid_arr;
@JsonIgnore
private String channelUnid_like;
@JsonIgnore
private ArrayList<String> deviceUnid_arr;
@JsonIgnore
private String deviceUnid_like;
@JsonIgnore
private ArrayList<Integer> type_arr;
@JsonIgnore
private Integer type_gt;
@JsonIgnore
private Integer type_lt;
@JsonIgnore
private Integer type_gte;
@JsonIgnore
private Integer type_lte;
@JsonIgnore
private Boolean streamType_null;
@JsonIgnore
private ArrayList<Integer> streamType_arr;
@JsonIgnore
private Integer streamType_gt;
@JsonIgnore
private Integer streamType_lt;
@JsonIgnore
private Integer streamType_gte;
@JsonIgnore
private Integer streamType_lte;
@JsonIgnore
private Boolean streamPath_null;
@JsonIgnore
private ArrayList<String> streamPath_arr;
@JsonIgnore
private String streamPath_like;
@JsonIgnore
private Boolean username_null;
@JsonIgnore
private ArrayList<String> username_arr;
@JsonIgnore
private String username_like;
@JsonIgnore
private Boolean password_null;
@JsonIgnore
private ArrayList<String> password_arr;
@JsonIgnore
private String password_like;
@JsonIgnore
private Boolean addressUnid_null;
@JsonIgnore
private ArrayList<String> addressUnid_arr;
@JsonIgnore
private String addressUnid_like;
@JsonIgnore
private Boolean name_null;
@JsonIgnore
private ArrayList<String> name_arr;
@JsonIgnore
private String name_like;
@JsonIgnore
private Boolean ip_null;
@JsonIgnore
private ArrayList<String> ip_arr;
@JsonIgnore
private String ip_like;
@JsonIgnore
private Boolean port_null;
@JsonIgnore
private ArrayList<Integer> port_arr;
@JsonIgnore
private Integer port_gt;
@JsonIgnore
private Integer port_lt;
@JsonIgnore
private Integer port_gte;
@JsonIgnore
private Integer port_lte;
@JsonIgnore
private Boolean expand_null;
@JsonIgnore
private ArrayList<String> expand_arr;
@JsonIgnore
private String expand_like;
@JsonIgnore
private Boolean longitude_null;
@JsonIgnore
private ArrayList<Float> longitude_arr;
@JsonIgnore
private Float longitude_gt;
@JsonIgnore
private Float longitude_lt;
@JsonIgnore
private Float longitude_gte;
@JsonIgnore
private Float longitude_lte;
@JsonIgnore
private Boolean latitude_null;
@JsonIgnore
private ArrayList<Float> latitude_arr;
@JsonIgnore
private Float latitude_gt;
@JsonIgnore
private Float latitude_lt;
@JsonIgnore
private Float latitude_gte;
@JsonIgnore
private Float latitude_lte;
@JsonIgnore
private ArrayList<Integer> status_arr;
@JsonIgnore
private Integer status_gt;
@JsonIgnore
private Integer status_lt;
@JsonIgnore
private Integer status_gte;
@JsonIgnore
private Integer status_lte;
public ChannelVoBase() {
this(null);
}
public ChannelVoBase(Channel channel) {
if(channel == null) {
channel = new Channel();
}
this.channel = channel;
}
@JsonIgnore
public Channel getModel() {
return channel;
}
public void setModel(Channel channel) {
this.channel = channel;
}
public ArrayList<Long> getId_arr() {
return id_arr;
}
public void setId_arr(ArrayList<Long> id_arr) {
this.id_arr = id_arr;
}
public Long getId_gt() {
return id_gt;
}
public void setId_gt(Long id_gt) {
this.id_gt = id_gt;
}
public Long getId_lt() {
return id_lt;
}
public void setId_lt(Long id_lt) {
this.id_lt = id_lt;
}
public Long getId_gte() {
return id_gte;
}
public void setId_gte(Long id_gte) {
this.id_gte = id_gte;
}
public Long getId_lte() {
return id_lte;
}
public void setId_lte(Long id_lte) {
this.id_lte = id_lte;
}
public Long getId() {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
return this.getModel().getId();
}
public void setId(Long id) {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
this.getModel().setId(id);
}
public ArrayList<String> getUnid_arr() {
return unid_arr;
}
public void setUnid_arr(ArrayList<String> unid_arr) {
this.unid_arr = unid_arr;
}
public String getUnid_like() {
return unid_like;
}
public void setUnid_like(String unid_like) {
this.unid_like = unid_like;
}
public String getUnid() {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
return this.getModel().getUnid();
}
public void setUnid(String unid) {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
this.getModel().setUnid(unid);
}
public ArrayList<String> getChannelUnid_arr() {
return channelUnid_arr;
}
public void setChannelUnid_arr(ArrayList<String> channelUnid_arr) {
this.channelUnid_arr = channelUnid_arr;
}
public String getChannelUnid_like() {
return channelUnid_like;
}
public void setChannelUnid_like(String channelUnid_like) {
this.channelUnid_like = channelUnid_like;
}
public String getChannelUnid() {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
return this.getModel().getChannelUnid();
}
public void setChannelUnid(String channelUnid) {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
this.getModel().setChannelUnid(channelUnid);
}
public ArrayList<String> getDeviceUnid_arr() {
return deviceUnid_arr;
}
public void setDeviceUnid_arr(ArrayList<String> deviceUnid_arr) {
this.deviceUnid_arr = deviceUnid_arr;
}
public String getDeviceUnid_like() {
return deviceUnid_like;
}
public void setDeviceUnid_like(String deviceUnid_like) {
this.deviceUnid_like = deviceUnid_like;
}
public String getDeviceUnid() {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
return this.getModel().getDeviceUnid();
}
public void setDeviceUnid(String deviceUnid) {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
this.getModel().setDeviceUnid(deviceUnid);
}
public ArrayList<Integer> getType_arr() {
return type_arr;
}
public void setType_arr(ArrayList<Integer> type_arr) {
this.type_arr = type_arr;
}
public Integer getType_gt() {
return type_gt;
}
public void setType_gt(Integer type_gt) {
this.type_gt = type_gt;
}
public Integer getType_lt() {
return type_lt;
}
public void setType_lt(Integer type_lt) {
this.type_lt = type_lt;
}
public Integer getType_gte() {
return type_gte;
}
public void setType_gte(Integer type_gte) {
this.type_gte = type_gte;
}
public Integer getType_lte() {
return type_lte;
}
public void setType_lte(Integer type_lte) {
this.type_lte = type_lte;
}
public Integer getType() {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
return this.getModel().getType();
}
public void setType(Integer type) {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
this.getModel().setType(type);
}
public Boolean getStreamType_null() {
return streamType_null;
}
public void setStreamType_null(Boolean streamType_null) {
this.streamType_null = streamType_null;
}
public ArrayList<Integer> getStreamType_arr() {
return streamType_arr;
}
public void setStreamType_arr(ArrayList<Integer> streamType_arr) {
this.streamType_arr = streamType_arr;
}
public Integer getStreamType_gt() {
return streamType_gt;
}
public void setStreamType_gt(Integer streamType_gt) {
this.streamType_gt = streamType_gt;
}
public Integer getStreamType_lt() {
return streamType_lt;
}
public void setStreamType_lt(Integer streamType_lt) {
this.streamType_lt = streamType_lt;
}
public Integer getStreamType_gte() {
return streamType_gte;
}
public void setStreamType_gte(Integer streamType_gte) {
this.streamType_gte = streamType_gte;
}
public Integer getStreamType_lte() {
return streamType_lte;
}
public void setStreamType_lte(Integer streamType_lte) {
this.streamType_lte = streamType_lte;
}
public Integer getStreamType() {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
return this.getModel().getStreamType();
}
public void setStreamType(Integer streamType) {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
this.getModel().setStreamType(streamType);
}
public Boolean getStreamPath_null() {
return streamPath_null;
}
public void setStreamPath_null(Boolean streamPath_null) {
this.streamPath_null = streamPath_null;
}
public ArrayList<String> getStreamPath_arr() {
return streamPath_arr;
}
public void setStreamPath_arr(ArrayList<String> streamPath_arr) {
this.streamPath_arr = streamPath_arr;
}
public String getStreamPath_like() {
return streamPath_like;
}
public void setStreamPath_like(String streamPath_like) {
this.streamPath_like = streamPath_like;
}
public String getStreamPath() {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
return this.getModel().getStreamPath();
}
public void setStreamPath(String streamPath) {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
this.getModel().setStreamPath(streamPath);
}
public Boolean getUsername_null() {
return username_null;
}
public void setUsername_null(Boolean username_null) {
this.username_null = username_null;
}
public ArrayList<String> getUsername_arr() {
return username_arr;
}
public void setUsername_arr(ArrayList<String> username_arr) {
this.username_arr = username_arr;
}
public String getUsername_like() {
return username_like;
}
public void setUsername_like(String username_like) {
this.username_like = username_like;
}
public String getUsername() {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
return this.getModel().getUsername();
}
public void setUsername(String username) {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
this.getModel().setUsername(username);
}
public Boolean getPassword_null() {
return password_null;
}
public void setPassword_null(Boolean password_null) {
this.password_null = password_null;
}
public ArrayList<String> getPassword_arr() {
return password_arr;
}
public void setPassword_arr(ArrayList<String> password_arr) {
this.password_arr = password_arr;
}
public String getPassword_like() {
return password_like;
}
public void setPassword_like(String password_like) {
this.password_like = password_like;
}
public String getPassword() {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
return this.getModel().getPassword();
}
public void setPassword(String password) {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
this.getModel().setPassword(password);
}
public Boolean getAddressUnid_null() {
return addressUnid_null;
}
public void setAddressUnid_null(Boolean addressUnid_null) {
this.addressUnid_null = addressUnid_null;
}
public ArrayList<String> getAddressUnid_arr() {
return addressUnid_arr;
}
public void setAddressUnid_arr(ArrayList<String> addressUnid_arr) {
this.addressUnid_arr = addressUnid_arr;
}
public String getAddressUnid_like() {
return addressUnid_like;
}
public void setAddressUnid_like(String addressUnid_like) {
this.addressUnid_like = addressUnid_like;
}
public String getAddressUnid() {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
return this.getModel().getAddressUnid();
}
public void setAddressUnid(String addressUnid) {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
this.getModel().setAddressUnid(addressUnid);
}
public Boolean getName_null() {
return name_null;
}
public void setName_null(Boolean name_null) {
this.name_null = name_null;
}
public ArrayList<String> getName_arr() {
return name_arr;
}
public void setName_arr(ArrayList<String> name_arr) {
this.name_arr = name_arr;
}
public String getName_like() {
return name_like;
}
public void setName_like(String name_like) {
this.name_like = name_like;
}
public String getName() {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
return this.getModel().getName();
}
public void setName(String name) {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
this.getModel().setName(name);
}
public Boolean getIp_null() {
return ip_null;
}
public void setIp_null(Boolean ip_null) {
this.ip_null = ip_null;
}
public ArrayList<String> getIp_arr() {
return ip_arr;
}
public void setIp_arr(ArrayList<String> ip_arr) {
this.ip_arr = ip_arr;
}
public String getIp_like() {
return ip_like;
}
public void setIp_like(String ip_like) {
this.ip_like = ip_like;
}
public String getIp() {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
return this.getModel().getIp();
}
public void setIp(String ip) {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
this.getModel().setIp(ip);
}
public Boolean getPort_null() {
return port_null;
}
public void setPort_null(Boolean port_null) {
this.port_null = port_null;
}
public ArrayList<Integer> getPort_arr() {
return port_arr;
}
public void setPort_arr(ArrayList<Integer> port_arr) {
this.port_arr = port_arr;
}
public Integer getPort_gt() {
return port_gt;
}
public void setPort_gt(Integer port_gt) {
this.port_gt = port_gt;
}
public Integer getPort_lt() {
return port_lt;
}
public void setPort_lt(Integer port_lt) {
this.port_lt = port_lt;
}
public Integer getPort_gte() {
return port_gte;
}
public void setPort_gte(Integer port_gte) {
this.port_gte = port_gte;
}
public Integer getPort_lte() {
return port_lte;
}
public void setPort_lte(Integer port_lte) {
this.port_lte = port_lte;
}
public Integer getPort() {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
return this.getModel().getPort();
}
public void setPort(Integer port) {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
this.getModel().setPort(port);
}
public Boolean getExpand_null() {
return expand_null;
}
public void setExpand_null(Boolean expand_null) {
this.expand_null = expand_null;
}
public ArrayList<String> getExpand_arr() {
return expand_arr;
}
public void setExpand_arr(ArrayList<String> expand_arr) {
this.expand_arr = expand_arr;
}
public String getExpand_like() {
return expand_like;
}
public void setExpand_like(String expand_like) {
this.expand_like = expand_like;
}
public String getExpand() {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
return this.getModel().getExpand();
}
public void setExpand(String expand) {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
this.getModel().setExpand(expand);
}
public Boolean getLongitude_null() {
return longitude_null;
}
public void setLongitude_null(Boolean longitude_null) {
this.longitude_null = longitude_null;
}
public ArrayList<Float> getLongitude_arr() {
return longitude_arr;
}
public void setLongitude_arr(ArrayList<Float> longitude_arr) {
this.longitude_arr = longitude_arr;
}
public Float getLongitude_gt() {
return longitude_gt;
}
public void setLongitude_gt(Float longitude_gt) {
this.longitude_gt = longitude_gt;
}
public Float getLongitude_lt() {
return longitude_lt;
}
public void setLongitude_lt(Float longitude_lt) {
this.longitude_lt = longitude_lt;
}
public Float getLongitude_gte() {
return longitude_gte;
}
public void setLongitude_gte(Float longitude_gte) {
this.longitude_gte = longitude_gte;
}
public Float getLongitude_lte() {
return longitude_lte;
}
public void setLongitude_lte(Float longitude_lte) {
this.longitude_lte = longitude_lte;
}
public Float getLongitude() {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
return this.getModel().getLongitude();
}
public void setLongitude(Float longitude) {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
this.getModel().setLongitude(longitude);
}
public Boolean getLatitude_null() {
return latitude_null;
}
public void setLatitude_null(Boolean latitude_null) {
this.latitude_null = latitude_null;
}
public ArrayList<Float> getLatitude_arr() {
return latitude_arr;
}
public void setLatitude_arr(ArrayList<Float> latitude_arr) {
this.latitude_arr = latitude_arr;
}
public Float getLatitude_gt() {
return latitude_gt;
}
public void setLatitude_gt(Float latitude_gt) {
this.latitude_gt = latitude_gt;
}
public Float getLatitude_lt() {
return latitude_lt;
}
public void setLatitude_lt(Float latitude_lt) {
this.latitude_lt = latitude_lt;
}
public Float getLatitude_gte() {
return latitude_gte;
}
public void setLatitude_gte(Float latitude_gte) {
this.latitude_gte = latitude_gte;
}
public Float getLatitude_lte() {
return latitude_lte;
}
public void setLatitude_lte(Float latitude_lte) {
this.latitude_lte = latitude_lte;
}
public Float getLatitude() {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
return this.getModel().getLatitude();
}
public void setLatitude(Float latitude) {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
this.getModel().setLatitude(latitude);
}
public ArrayList<Integer> getStatus_arr() {
return status_arr;
}
public void setStatus_arr(ArrayList<Integer> status_arr) {
this.status_arr = status_arr;
}
public Integer getStatus_gt() {
return status_gt;
}
public void setStatus_gt(Integer status_gt) {
this.status_gt = status_gt;
}
public Integer getStatus_lt() {
return status_lt;
}
public void setStatus_lt(Integer status_lt) {
this.status_lt = status_lt;
}
public Integer getStatus_gte() {
return status_gte;
}
public void setStatus_gte(Integer status_gte) {
this.status_gte = status_gte;
}
public Integer getStatus_lte() {
return status_lte;
}
public void setStatus_lte(Integer status_lte) {
this.status_lte = status_lte;
}
public Integer getStatus() {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
return this.getModel().getStatus();
}
public void setStatus(Integer status) {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
this.getModel().setStatus(status);
}
}