1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 package org.kuali.mobility.events.entity;
16
17 import java.io.Serializable;
18 import java.util.List;
19
20 import javax.xml.bind.annotation.XmlElement;
21 import javax.xml.bind.annotation.XmlRootElement;
22
23 @XmlRootElement(name = "category")
24 public class CategoryImpl implements Serializable, Category {
25
26 private static final long serialVersionUID = 2433472025839184720L;
27 private String categoryId;
28 private String title;
29 private String returnPage;
30
31 private List<DayImpl> days;
32 private int order;
33 private String campus;
34 private String urlString;
35 private boolean hasEvents;
36
37
38
39
40 @Override
41 public String getReturnPage() {
42 return returnPage;
43 }
44
45
46
47
48 @Override
49 public void setReturnPage(String returnPage) {
50 this.returnPage = returnPage;
51 }
52
53
54
55
56 @XmlElement(name = "days")
57 @Override
58 public List<DayImpl> getDays() {
59 return days;
60 }
61
62
63
64
65 @Override
66 public void setDays(List<? extends Day> days) {
67 this.days = (List<DayImpl>)(List<?>)days;
68 }
69
70
71
72
73 @Override
74 public String getCategoryId() {
75 return categoryId;
76 }
77
78
79
80
81 @Override
82 public void setCategoryId(String categoryId) {
83 this.categoryId = categoryId;
84 }
85
86
87
88
89 @Override
90 public String getTitle() {
91 return title;
92 }
93
94
95
96
97 @Override
98 public void setTitle(String title) {
99 this.title = title;
100 }
101
102
103
104
105 @Override
106 public int getOrder() {
107 return order;
108 }
109
110
111
112
113 @Override
114 public void setOrder(int order) {
115 this.order = order;
116 }
117
118
119
120
121 @Override
122 public String getCampus() {
123 return campus;
124 }
125
126
127
128
129 @Override
130 public void setCampus(String campus) {
131 this.campus = campus;
132 }
133
134
135
136
137 @Override
138 public String getUrlString() {
139 return urlString;
140 }
141
142
143
144
145 @Override
146 public void setUrlString(String url) {
147 this.urlString = url;
148 }
149
150 @XmlElement(name = "hasEvents")
151 @Override
152 public boolean getHasEvents() {
153 return hasEvents;
154 }
155
156 @Override
157 public void setHasEvents(boolean hasEvents) {
158 this.hasEvents = hasEvents;
159 }
160 }