TaskVoBase.java
22.4 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
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.Task;
import java.util.ArrayList;
import java.util.Date;
public class TaskVoBase extends Task implements VoInterface<Task> {
private Task task;
@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> name_arr;
@JsonIgnore
private String name_like;
@JsonIgnore
private ArrayList<String> algType_arr;
@JsonIgnore
private String algType_like;
@JsonIgnore
private ArrayList<Float> resourceNeed_arr;
@JsonIgnore
private Float resourceNeed_gt;
@JsonIgnore
private Float resourceNeed_lt;
@JsonIgnore
private Float resourceNeed_gte;
@JsonIgnore
private Float resourceNeed_lte;
@JsonIgnore
private ArrayList<Integer> priority_arr;
@JsonIgnore
private Integer priority_gt;
@JsonIgnore
private Integer priority_lt;
@JsonIgnore
private Integer priority_gte;
@JsonIgnore
private Integer priority_lte;
@JsonIgnore
private ArrayList<Long> storeConfigId_arr;
@JsonIgnore
private Long storeConfigId_gt;
@JsonIgnore
private Long storeConfigId_lt;
@JsonIgnore
private Long storeConfigId_gte;
@JsonIgnore
private Long storeConfigId_lte;
@JsonIgnore
private Boolean vaType_null;
@JsonIgnore
private ArrayList<String> vaType_arr;
@JsonIgnore
private String vaType_like;
@JsonIgnore
private ArrayList<Integer> runtimeType_arr;
@JsonIgnore
private Integer runtimeType_gt;
@JsonIgnore
private Integer runtimeType_lt;
@JsonIgnore
private Integer runtimeType_gte;
@JsonIgnore
private Integer runtimeType_lte;
@JsonIgnore
private Boolean deviceUnid_null;
@JsonIgnore
private ArrayList<String> deviceUnid_arr;
@JsonIgnore
private String deviceUnid_like;
@JsonIgnore
private Boolean channelUnid_null;
@JsonIgnore
private ArrayList<String> channelUnid_arr;
@JsonIgnore
private String channelUnid_like;
@JsonIgnore
private Boolean streamPath_null;
@JsonIgnore
private ArrayList<String> streamPath_arr;
@JsonIgnore
private String streamPath_like;
@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 ArrayList<Date> createTime_arr;
@JsonIgnore
private Date createTime_gt;
@JsonIgnore
private Date createTime_lt;
@JsonIgnore
private Date createTime_gte;
@JsonIgnore
private Date createTime_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;
@JsonIgnore
private Boolean runtimeConf_null;
@JsonIgnore
private ArrayList<String> runtimeConf_arr;
@JsonIgnore
private String runtimeConf_like;
@JsonIgnore
private Boolean scene_null;
@JsonIgnore
private ArrayList<String> scene_arr;
@JsonIgnore
private String scene_like;
public TaskVoBase() {
this(null);
}
public TaskVoBase(Task task) {
if(task == null) {
task = new Task();
}
this.task = task;
}
@JsonIgnore
public Task getModel() {
return task;
}
public void setModel(Task task) {
this.task = task;
}
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> 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 ArrayList<String> getAlgType_arr() {
return algType_arr;
}
public void setAlgType_arr(ArrayList<String> algType_arr) {
this.algType_arr = algType_arr;
}
public String getAlgType_like() {
return algType_like;
}
public void setAlgType_like(String algType_like) {
this.algType_like = algType_like;
}
public String getAlgType() {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
return this.getModel().getAlgType();
}
public void setAlgType(String algType) {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
this.getModel().setAlgType(algType);
}
public ArrayList<Float> getResourceNeed_arr() {
return resourceNeed_arr;
}
public void setResourceNeed_arr(ArrayList<Float> resourceNeed_arr) {
this.resourceNeed_arr = resourceNeed_arr;
}
public Float getResourceNeed_gt() {
return resourceNeed_gt;
}
public void setResourceNeed_gt(Float resourceNeed_gt) {
this.resourceNeed_gt = resourceNeed_gt;
}
public Float getResourceNeed_lt() {
return resourceNeed_lt;
}
public void setResourceNeed_lt(Float resourceNeed_lt) {
this.resourceNeed_lt = resourceNeed_lt;
}
public Float getResourceNeed_gte() {
return resourceNeed_gte;
}
public void setResourceNeed_gte(Float resourceNeed_gte) {
this.resourceNeed_gte = resourceNeed_gte;
}
public Float getResourceNeed_lte() {
return resourceNeed_lte;
}
public void setResourceNeed_lte(Float resourceNeed_lte) {
this.resourceNeed_lte = resourceNeed_lte;
}
public Float getResourceNeed() {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
return this.getModel().getResourceNeed();
}
public void setResourceNeed(Float resourceNeed) {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
this.getModel().setResourceNeed(resourceNeed);
}
public ArrayList<Integer> getPriority_arr() {
return priority_arr;
}
public void setPriority_arr(ArrayList<Integer> priority_arr) {
this.priority_arr = priority_arr;
}
public Integer getPriority_gt() {
return priority_gt;
}
public void setPriority_gt(Integer priority_gt) {
this.priority_gt = priority_gt;
}
public Integer getPriority_lt() {
return priority_lt;
}
public void setPriority_lt(Integer priority_lt) {
this.priority_lt = priority_lt;
}
public Integer getPriority_gte() {
return priority_gte;
}
public void setPriority_gte(Integer priority_gte) {
this.priority_gte = priority_gte;
}
public Integer getPriority_lte() {
return priority_lte;
}
public void setPriority_lte(Integer priority_lte) {
this.priority_lte = priority_lte;
}
public Integer getPriority() {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
return this.getModel().getPriority();
}
public void setPriority(Integer priority) {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
this.getModel().setPriority(priority);
}
public ArrayList<Long> getStoreConfigId_arr() {
return storeConfigId_arr;
}
public void setStoreConfigId_arr(ArrayList<Long> storeConfigId_arr) {
this.storeConfigId_arr = storeConfigId_arr;
}
public Long getStoreConfigId_gt() {
return storeConfigId_gt;
}
public void setStoreConfigId_gt(Long storeConfigId_gt) {
this.storeConfigId_gt = storeConfigId_gt;
}
public Long getStoreConfigId_lt() {
return storeConfigId_lt;
}
public void setStoreConfigId_lt(Long storeConfigId_lt) {
this.storeConfigId_lt = storeConfigId_lt;
}
public Long getStoreConfigId_gte() {
return storeConfigId_gte;
}
public void setStoreConfigId_gte(Long storeConfigId_gte) {
this.storeConfigId_gte = storeConfigId_gte;
}
public Long getStoreConfigId_lte() {
return storeConfigId_lte;
}
public void setStoreConfigId_lte(Long storeConfigId_lte) {
this.storeConfigId_lte = storeConfigId_lte;
}
public Long getStoreConfigId() {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
return this.getModel().getStoreConfigId();
}
public void setStoreConfigId(Long storeConfigId) {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
this.getModel().setStoreConfigId(storeConfigId);
}
public Boolean getVaType_null() {
return vaType_null;
}
public void setVaType_null(Boolean vaType_null) {
this.vaType_null = vaType_null;
}
public ArrayList<String> getVaType_arr() {
return vaType_arr;
}
public void setVaType_arr(ArrayList<String> vaType_arr) {
this.vaType_arr = vaType_arr;
}
public String getVaType_like() {
return vaType_like;
}
public void setVaType_like(String vaType_like) {
this.vaType_like = vaType_like;
}
public String getVaType() {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
return this.getModel().getVaType();
}
public void setVaType(String vaType) {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
this.getModel().setVaType(vaType);
}
public ArrayList<Integer> getRuntimeType_arr() {
return runtimeType_arr;
}
public void setRuntimeType_arr(ArrayList<Integer> runtimeType_arr) {
this.runtimeType_arr = runtimeType_arr;
}
public Integer getRuntimeType_gt() {
return runtimeType_gt;
}
public void setRuntimeType_gt(Integer runtimeType_gt) {
this.runtimeType_gt = runtimeType_gt;
}
public Integer getRuntimeType_lt() {
return runtimeType_lt;
}
public void setRuntimeType_lt(Integer runtimeType_lt) {
this.runtimeType_lt = runtimeType_lt;
}
public Integer getRuntimeType_gte() {
return runtimeType_gte;
}
public void setRuntimeType_gte(Integer runtimeType_gte) {
this.runtimeType_gte = runtimeType_gte;
}
public Integer getRuntimeType_lte() {
return runtimeType_lte;
}
public void setRuntimeType_lte(Integer runtimeType_lte) {
this.runtimeType_lte = runtimeType_lte;
}
public Integer getRuntimeType() {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
return this.getModel().getRuntimeType();
}
public void setRuntimeType(Integer runtimeType) {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
this.getModel().setRuntimeType(runtimeType);
}
public Boolean getDeviceUnid_null() {
return deviceUnid_null;
}
public void setDeviceUnid_null(Boolean deviceUnid_null) {
this.deviceUnid_null = deviceUnid_null;
}
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 Boolean getChannelUnid_null() {
return channelUnid_null;
}
public void setChannelUnid_null(Boolean channelUnid_null) {
this.channelUnid_null = channelUnid_null;
}
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 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 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 ArrayList<Date> getCreateTime_arr() {
return createTime_arr;
}
public void setCreateTime_arr(ArrayList<Date> createTime_arr) {
this.createTime_arr = createTime_arr;
}
public Date getCreateTime_gt() {
return createTime_gt;
}
public void setCreateTime_gt(Date createTime_gt) {
this.createTime_gt = createTime_gt;
}
public Date getCreateTime_lt() {
return createTime_lt;
}
public void setCreateTime_lt(Date createTime_lt) {
this.createTime_lt = createTime_lt;
}
public Date getCreateTime_gte() {
return createTime_gte;
}
public void setCreateTime_gte(Date createTime_gte) {
this.createTime_gte = createTime_gte;
}
public Date getCreateTime_lte() {
return createTime_lte;
}
public void setCreateTime_lte(Date createTime_lte) {
this.createTime_lte = createTime_lte;
}
public Date getCreateTime() {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
return this.getModel().getCreateTime();
}
public void setCreateTime(Date createTime) {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
this.getModel().setCreateTime(createTime);
}
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);
}
public Boolean getRuntimeConf_null() {
return runtimeConf_null;
}
public void setRuntimeConf_null(Boolean runtimeConf_null) {
this.runtimeConf_null = runtimeConf_null;
}
public ArrayList<String> getRuntimeConf_arr() {
return runtimeConf_arr;
}
public void setRuntimeConf_arr(ArrayList<String> runtimeConf_arr) {
this.runtimeConf_arr = runtimeConf_arr;
}
public String getRuntimeConf_like() {
return runtimeConf_like;
}
public void setRuntimeConf_like(String runtimeConf_like) {
this.runtimeConf_like = runtimeConf_like;
}
public String getRuntimeConf() {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
return this.getModel().getRuntimeConf();
}
public void setRuntimeConf(String runtimeConf) {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
this.getModel().setRuntimeConf(runtimeConf);
}
public Boolean getScene_null() {
return scene_null;
}
public void setScene_null(Boolean scene_null) {
this.scene_null = scene_null;
}
public ArrayList<String> getScene_arr() {
return scene_arr;
}
public void setScene_arr(ArrayList<String> scene_arr) {
this.scene_arr = scene_arr;
}
public String getScene_like() {
return scene_like;
}
public void setScene_like(String scene_like) {
this.scene_like = scene_like;
}
public String getScene() {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
return this.getModel().getScene();
}
public void setScene(String scene) {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
this.getModel().setScene(scene);
}
}