1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 package org.kuali.mobility.bus.entity.helper;
16
17 import java.util.List;
18
19 import com.thoughtworks.xstream.annotations.XStreamAlias;
20
21 @XStreamAlias("livefeed")
22 public class UMBusAlertReader {
23 private List<UMBusAlert> alerts;
24
25 @XStreamAlias("messagecount")
26 private int messageCount;
27
28 @XStreamAlias("emergencycount")
29 private int emergencyCount;
30
31 @XStreamAlias("statuscount")
32 private int statusCount;
33
34 public List<UMBusAlert> getAlerts() {
35 return alerts;
36 }
37
38 public void setAlerts(List<UMBusAlert> alerts) {
39 this.alerts = alerts;
40 }
41
42 public int getMessageCount() {
43 return messageCount;
44 }
45
46 public void setMessageCount(int messageCount) {
47 this.messageCount = messageCount;
48 }
49
50 public int getEmergencyCount() {
51 return emergencyCount;
52 }
53
54 public void setEmergencyCount(int emergencyCount) {
55 this.emergencyCount = emergencyCount;
56 }
57
58 public int getStatusCount() {
59 return statusCount;
60 }
61
62 public void setStatusCount(int statusCount) {
63 this.statusCount = statusCount;
64 }
65 }