1 | <?php |
||
22 | class Index extends AbstractModel |
||
23 | { |
||
24 | /** |
||
25 | * The unique register key of the used table/model configuration. |
||
26 | * |
||
27 | * @var string |
||
28 | * @db varchar(150) DEFAULT '' NOT NULL |
||
29 | */ |
||
30 | protected $uniqueRegisterKey; |
||
31 | |||
32 | /** |
||
33 | * TableName. |
||
34 | * |
||
35 | * @var string |
||
36 | * @db varchar(150) DEFAULT '' NOT NULL |
||
37 | */ |
||
38 | protected $foreignTable; |
||
39 | |||
40 | /** |
||
41 | * The Id of the foreign element. |
||
42 | * |
||
43 | * @var int |
||
44 | * @db |
||
45 | */ |
||
46 | protected $foreignUid; |
||
47 | |||
48 | /** |
||
49 | * Start date. |
||
50 | * |
||
51 | * @var \DateTime |
||
52 | * @db |
||
53 | */ |
||
54 | protected $startDate; |
||
55 | |||
56 | /** |
||
57 | * End date. |
||
58 | * |
||
59 | * @var \DateTime |
||
60 | * @db |
||
61 | */ |
||
62 | protected $endDate; |
||
63 | |||
64 | /** |
||
65 | * Start time. |
||
66 | * |
||
67 | * @var int |
||
68 | * @db |
||
69 | */ |
||
70 | protected $startTime; |
||
71 | |||
72 | /** |
||
73 | * End time. |
||
74 | * |
||
75 | * @var int |
||
76 | * @db |
||
77 | */ |
||
78 | protected $endTime; |
||
79 | |||
80 | /** |
||
81 | * AllDay. |
||
82 | * |
||
83 | * @var bool |
||
84 | * @db |
||
85 | */ |
||
86 | protected $allDay; |
||
87 | |||
88 | /** |
||
89 | * State. |
||
90 | * |
||
91 | * @var string |
||
92 | * @db |
||
93 | */ |
||
94 | protected $state; |
||
95 | |||
96 | /** |
||
97 | * The original object. |
||
98 | * |
||
99 | * @var AbstractEntity |
||
100 | */ |
||
101 | protected $originalObject; |
||
102 | |||
103 | /** |
||
104 | * Get the original record for the current index. |
||
105 | * |
||
106 | * @throws Exception |
||
107 | * |
||
108 | * @return AbstractEntity |
||
109 | */ |
||
110 | public function getOriginalObject() |
||
122 | |||
123 | /** |
||
124 | * Get the current configuration. |
||
125 | * |
||
126 | * @return array |
||
127 | */ |
||
128 | public function getConfiguration(): array |
||
138 | |||
139 | /** |
||
140 | * Get the complete start date. |
||
141 | * |
||
142 | * @return \DateTime |
||
143 | */ |
||
144 | public function getStartDateComplete() |
||
155 | |||
156 | /** |
||
157 | * Get the complete end date. |
||
158 | * |
||
159 | * @return \DateTime |
||
160 | */ |
||
161 | public function getEndDateComplete() |
||
172 | |||
173 | /** |
||
174 | * Set foreign uid. |
||
175 | * |
||
176 | * @param int $foreignUid |
||
177 | */ |
||
178 | public function setForeignUid($foreignUid) |
||
182 | |||
183 | /** |
||
184 | * Get foreign uid. |
||
185 | * |
||
186 | * @return int |
||
187 | */ |
||
188 | public function getForeignUid() |
||
192 | |||
193 | /** |
||
194 | * Set unique register key. |
||
195 | * |
||
196 | * @param string $uniqueRegisterKey |
||
197 | */ |
||
198 | public function setUniqueRegisterKey($uniqueRegisterKey) |
||
202 | |||
203 | /** |
||
204 | * Get unique register key. |
||
205 | * |
||
206 | * @return string |
||
207 | */ |
||
208 | public function getUniqueRegisterKey() |
||
212 | |||
213 | /** |
||
214 | * Set foreign table. |
||
215 | * |
||
216 | * @param string $foreignTable |
||
217 | */ |
||
218 | public function setForeignTable($foreignTable) |
||
222 | |||
223 | /** |
||
224 | * Get foreign table. |
||
225 | * |
||
226 | * @return string |
||
227 | */ |
||
228 | public function getForeignTable() |
||
232 | |||
233 | /** |
||
234 | * Set all day. |
||
235 | * |
||
236 | * @param bool $allDay |
||
237 | */ |
||
238 | public function setAllDay($allDay) |
||
242 | |||
243 | /** |
||
244 | * Is all day. |
||
245 | * |
||
246 | * @return bool |
||
247 | */ |
||
248 | public function isAllDay() |
||
252 | |||
253 | /** |
||
254 | * Set end date. |
||
255 | * |
||
256 | * @param \DateTime $endDate |
||
257 | */ |
||
258 | public function setEndDate($endDate) |
||
262 | |||
263 | /** |
||
264 | * Get end date. |
||
265 | * |
||
266 | * @return \DateTime |
||
267 | */ |
||
268 | public function getEndDate() |
||
272 | |||
273 | /** |
||
274 | * Set end time. |
||
275 | * |
||
276 | * @param int $endTime |
||
277 | */ |
||
278 | public function setEndTime($endTime) |
||
282 | |||
283 | /** |
||
284 | * Get end time. |
||
285 | * |
||
286 | * @return int |
||
287 | */ |
||
288 | public function getEndTime() |
||
292 | |||
293 | /** |
||
294 | * Set start date. |
||
295 | * |
||
296 | * @param \DateTime $startDate |
||
297 | */ |
||
298 | public function setStartDate($startDate) |
||
302 | |||
303 | /** |
||
304 | * Get start date. |
||
305 | * |
||
306 | * @return \DateTime |
||
307 | */ |
||
308 | public function getStartDate() |
||
312 | |||
313 | /** |
||
314 | * Set start time. |
||
315 | * |
||
316 | * @param int $startTime |
||
317 | */ |
||
318 | public function setStartTime($startTime) |
||
322 | |||
323 | /** |
||
324 | * Get start time. |
||
325 | * |
||
326 | * @return int |
||
327 | */ |
||
328 | public function getStartTime() |
||
332 | |||
333 | /** |
||
334 | * Get state. |
||
335 | * |
||
336 | * @return string |
||
337 | */ |
||
338 | public function getState() |
||
342 | |||
343 | /** |
||
344 | * Set state. |
||
345 | * |
||
346 | * @param string $state |
||
347 | */ |
||
348 | public function setState($state) |
||
352 | |||
353 | /** |
||
354 | * Get sys language uid. |
||
355 | * |
||
356 | * @return int |
||
357 | */ |
||
358 | public function getSysLanguageUid() |
||
362 | } |
||
363 |