View Javadoc

1   /*
2    * Copyright 2011 The Kuali Foundation Licensed under the
3    * Educational Community License, Version 2.0 (the "License"); you may
4    * not use this file except in compliance with the License. You may
5    * obtain a copy of the License at
6    *
7    * http://www.osedu.org/licenses/ECL-2.0
8    *
9    * Unless required by applicable law or agreed to in writing,
10   * software distributed under the License is distributed on an "AS IS"
11   * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12   * or implied. See the License for the specific language governing
13   * permissions and limitations under the License.
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  }