1 | |
package org.kuali.student.enrollment.class2.acal.dto; |
2 | |
|
3 | |
|
4 | |
|
5 | |
import org.kuali.student.enrollment.acal.dto.HolidayCalendarInfo; |
6 | |
import org.kuali.student.enrollment.acal.dto.HolidayInfo; |
7 | |
|
8 | |
import java.util.ArrayList; |
9 | |
import java.util.Collections; |
10 | |
import java.util.List; |
11 | |
|
12 | |
|
13 | |
public class HolidayCalendarWrapper { |
14 | |
private static final long serialVersionUID = 1L; |
15 | |
|
16 | |
private String id; |
17 | |
private String adminOrgName; |
18 | |
private String stateName; |
19 | |
private String acalStartYear; |
20 | |
|
21 | |
private HolidayCalendarInfo holidayCalendarInfo; |
22 | |
private List<HolidayWrapper> holidays; |
23 | |
|
24 | 0 | public HolidayCalendarWrapper(){ |
25 | 0 | holidays = new ArrayList<HolidayWrapper>(); |
26 | 0 | } |
27 | |
|
28 | |
|
29 | |
|
30 | |
|
31 | |
public String getId() { |
32 | 0 | return id; |
33 | |
} |
34 | |
|
35 | |
|
36 | |
|
37 | |
public void setId(String id) { |
38 | 0 | this.id = id; |
39 | 0 | } |
40 | |
|
41 | |
public HolidayCalendarInfo getHolidayCalendarInfo(){ |
42 | 0 | return holidayCalendarInfo; |
43 | |
} |
44 | |
|
45 | |
public void setHolidayCalendarInfo (HolidayCalendarInfo holidayCalendarInfo){ |
46 | 0 | this.holidayCalendarInfo = holidayCalendarInfo; |
47 | 0 | } |
48 | |
|
49 | |
public String getAdminOrgName() { |
50 | 0 | return adminOrgName; |
51 | |
} |
52 | |
public void setAdminOrgName(String adminOrgName) { |
53 | 0 | this.adminOrgName = adminOrgName; |
54 | 0 | } |
55 | |
|
56 | |
public String getStateName() { |
57 | 0 | return stateName; |
58 | |
} |
59 | |
|
60 | |
public void setStateName(String stateName) { |
61 | 0 | this.stateName = stateName; |
62 | 0 | } |
63 | |
|
64 | |
public List<HolidayWrapper> getHolidays() { |
65 | 0 | Collections.sort(holidays); |
66 | 0 | return holidays; |
67 | |
} |
68 | |
|
69 | |
public void setHolidays(List<HolidayWrapper> holidays){ |
70 | 0 | this.holidays = holidays; |
71 | 0 | } |
72 | |
|
73 | |
public String getAcalStartYear(){ |
74 | 0 | return acalStartYear; |
75 | |
} |
76 | |
|
77 | |
public void setAcalStartYear(String acalStartYear) { |
78 | 0 | this.acalStartYear = acalStartYear; |
79 | 0 | } |
80 | |
|
81 | |
} |