View Javadoc

1   package org.kuali.ole.deliver.calendar.bo;
2   
3   import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
4   
5   import java.sql.Timestamp;
6   import java.util.ArrayList;
7   import java.util.List;
8   
9   /**
10   * Created with IntelliJ IDEA.
11   * User: palanivel
12   * Date: 7/20/13
13   * Time: 4:13 PM
14   * To change this template use File | Settings | File Templates.
15   */
16  public class OleCalendar extends PersistableBusinessObjectBase {
17  
18      private String calendarId;
19      private String calendarDescription;
20      private Timestamp beginDate;
21      private Timestamp endDate;
22      private List<OleCalendarWeek> oleCalendarWeekList = new ArrayList<>();
23      private List<OleCalendarExceptionDate> oleCalendarExceptionDateList = new ArrayList<>();
24      private List<OleCalendarExceptionPeriod> oleCalendarExceptionPeriodList = new ArrayList<>();
25      private OleCalendarGroup oleCalendarGroup;
26      private String calendarGroupId;
27      private boolean hideTime = true;
28  
29      private String endDateYesMessage;
30      private String endDateNoMessage;
31      private String message;
32      private boolean endDateYesFlag;
33      private boolean endDateNoFlag;
34      private boolean cancelOperationEndDateFlag;
35      private boolean cancelOperationFlag;
36  
37      public String getMessage() {
38          return message;
39      }
40  
41      public void setMessage(String message) {
42          this.message = message;
43      }
44  
45      public String getEndDateYesMessage() {
46          return endDateYesMessage;
47      }
48  
49      public void setEndDateYesMessage(String endDateYesMessage) {
50          this.endDateYesMessage = endDateYesMessage;
51      }
52  
53      public String getEndDateNoMessage() {
54          return endDateNoMessage;
55      }
56  
57      public void setEndDateNoMessage(String endDateNoMessage) {
58          this.endDateNoMessage = endDateNoMessage;
59      }
60  
61      private String chronologicalSequence;
62  
63      public String getChronologicalSequence() {
64          return chronologicalSequence;
65      }
66  
67      public void setChronologicalSequence(String chronologicalSequence) {
68          this.chronologicalSequence = chronologicalSequence;
69      }
70  
71      private String exceptionDayChecking;  //added for holiday
72  
73      public String getExceptionDayChecking() {
74          return exceptionDayChecking;
75      }
76  
77      public void setExceptionDayChecking(String exceptionDayChecking) {
78          this.exceptionDayChecking = exceptionDayChecking;
79      }
80  
81      public String getCalendarId() {
82          return calendarId;
83      }
84  
85      public void setCalendarId(String calendarId) {
86          this.calendarId = calendarId;
87      }
88  
89      public String getCalendarDescription() {
90          return calendarDescription;
91      }
92  
93      public void setCalendarDescription(String calendarDescription) {
94          this.calendarDescription = calendarDescription;
95      }
96  
97      public Timestamp getBeginDate() {
98          return beginDate;
99      }
100 
101     public void setBeginDate(Timestamp beginDate) {
102         this.beginDate = beginDate;
103     }
104 
105     public Timestamp getEndDate() {
106         return endDate;
107     }
108 
109     public void setEndDate(Timestamp endDate) {
110         this.endDate = endDate;
111     }
112 
113     public List<OleCalendarWeek> getOleCalendarWeekList() {
114         return oleCalendarWeekList;
115     }
116 
117     public void setOleCalendarWeekList(List<OleCalendarWeek> oleCalendarWeekList) {
118         this.oleCalendarWeekList = oleCalendarWeekList;
119     }
120 
121     public List<OleCalendarExceptionDate> getOleCalendarExceptionDateList() {
122         return oleCalendarExceptionDateList;
123     }
124 
125     public void setOleCalendarExceptionDateList(List<OleCalendarExceptionDate> oleCalendarExceptionDateList) {
126         this.oleCalendarExceptionDateList = oleCalendarExceptionDateList;
127     }
128 
129     public List<OleCalendarExceptionPeriod> getOleCalendarExceptionPeriodList() {
130         return oleCalendarExceptionPeriodList;
131     }
132 
133     public void setOleCalendarExceptionPeriodList(List<OleCalendarExceptionPeriod> oleCalendarExceptionPeriodList) {
134         this.oleCalendarExceptionPeriodList = oleCalendarExceptionPeriodList;
135     }
136 
137     public OleCalendarGroup getOleCalendarGroup() {
138         return oleCalendarGroup;
139     }
140 
141     public void setOleCalendarGroup(OleCalendarGroup oleCalendarGroup) {
142         this.oleCalendarGroup = oleCalendarGroup;
143     }
144 
145     public String getCalendarGroupId() {
146         return calendarGroupId;
147     }
148 
149     public void setCalendarGroupId(String calendarGroupId) {
150         this.calendarGroupId = calendarGroupId;
151     }
152 
153     public boolean isHideTime() {
154         return hideTime;
155     }
156 
157     public void setHideTime(boolean hideTime) {
158         this.hideTime = hideTime;
159     }
160 
161     public boolean isEndDateYesFlag() {
162         return endDateYesFlag;
163     }
164 
165     public void setEndDateYesFlag(boolean endDateYesFlag) {
166         this.endDateYesFlag = endDateYesFlag;
167     }
168 
169     public boolean isEndDateNoFlag() {
170         return endDateNoFlag;
171     }
172 
173     public void setEndDateNoFlag(boolean endDateNoFlag) {
174         this.endDateNoFlag = endDateNoFlag;
175     }
176 
177     public boolean isCancelOperationFlag() {
178         return cancelOperationFlag;
179     }
180 
181     public void setCancelOperationFlag(boolean cancelOperationFlag) {
182         this.cancelOperationFlag = cancelOperationFlag;
183     }
184 
185     public boolean isCancelOperationEndDateFlag() {
186         return cancelOperationEndDateFlag;
187     }
188 
189     public void setCancelOperationEndDateFlag(boolean cancelOperationEndDateFlag) {
190         this.cancelOperationEndDateFlag = cancelOperationEndDateFlag;
191     }
192 }