Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
ICAL |
|
| 1.25;1.25 |
1 | /* | |
2 | * Licensed to the Apache Software Foundation (ASF) under one or more | |
3 | * contributor license agreements. See the NOTICE file distributed with | |
4 | * this work for additional information regarding copyright ownership. | |
5 | * The ASF licenses this file to You under the Apache License, Version 2.0 | |
6 | * (the "License"); you may not use this file except in compliance with | |
7 | * the License. You may obtain a copy of the License at | |
8 | * | |
9 | * http://www.apache.org/licenses/LICENSE-2.0 | |
10 | * | |
11 | * Unless required by applicable law or agreed to in writing, software | |
12 | * distributed under the License is distributed on an "AS IS" BASIS, | |
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
14 | * See the License for the specific language governing permissions and | |
15 | * limitations under the License. | |
16 | */ | |
17 | ||
18 | package org.apache.any23.vocab; | |
19 | ||
20 | import org.openrdf.model.URI; | |
21 | ||
22 | /** | |
23 | * Vocabulary definitions from <code>ical.rdf</code> | |
24 | */ | |
25 | public class ICAL extends Vocabulary { | |
26 | ||
27 | /** | |
28 | * The namespace of the vocabulary as a string. | |
29 | */ | |
30 | public static final String NS = "http://www.w3.org/2002/12/cal/icaltzd#"; | |
31 | ||
32 | private static ICAL instance; | |
33 | ||
34 | public static ICAL getInstance() { | |
35 | 0 | if(instance == null) { |
36 | 0 | instance = new ICAL(); |
37 | } | |
38 | 0 | return instance; |
39 | } | |
40 | ||
41 | /** | |
42 | * The namespace of the vocabulary as a URI. | |
43 | */ | |
44 | 0 | public final URI NAMESPACE = createURI(NS); |
45 | ||
46 | 0 | public final URI DomainOf_rrule = createClass("DomainOf_rrule"); |
47 | 0 | public final URI List_of_Float = createClass("List_of_Float"); |
48 | ||
49 | /** | |
50 | * Provide a grouping of component properties that define an alarm.. | |
51 | */ | |
52 | 0 | public final URI Valarm = createClass("Valarm"); |
53 | ||
54 | 0 | public final URI Value_CAL_ADDRESS = createClass("Value_CAL-ADDRESS"); |
55 | ||
56 | 0 | public final URI Value_DATE = createClass("Value_DATE"); |
57 | ||
58 | 0 | public final URI Value_DURATION = createClass("Value_DURATION"); |
59 | ||
60 | 0 | public final URI Value_PERIOD = createClass("Value_PERIOD"); |
61 | ||
62 | 0 | public final URI Value_RECUR = createClass("Value_RECUR"); |
63 | ||
64 | 0 | public final URI Vcalendar = createClass("vcalendar"); |
65 | ||
66 | /** | |
67 | * Provide a grouping of component properties that describe an event.. | |
68 | */ | |
69 | 0 | public final URI Vevent = createClass("Vevent"); |
70 | ||
71 | /** | |
72 | * Provide a grouping of component properties that describe either a request | |
73 | * for free/busy time, describe a response to a request for free/busy time or | |
74 | * describe a published set of busy time.. | |
75 | */ | |
76 | 0 | public final URI Vfreebusy = createClass("Vfreebusy"); |
77 | ||
78 | /** | |
79 | * Provide a grouping of component properties that describe a journal entry.. | |
80 | */ | |
81 | 0 | public final URI Vjournal = createClass("Vjournal"); |
82 | ||
83 | /** | |
84 | * Provide a grouping of component properties that defines a time zone.. | |
85 | */ | |
86 | 0 | public final URI Vtimezone = createClass("Vtimezone"); |
87 | ||
88 | /** | |
89 | * Provide a grouping of calendar properties that describe a to-do.. | |
90 | */ | |
91 | 0 | public final URI Vtodo = createClass("Vtodo"); |
92 | ||
93 | ||
94 | /** | |
95 | * The URI provides the capability to associate a document object with a | |
96 | * calendar component.default value type: URI. | |
97 | */ | |
98 | 0 | public final URI attach = createProperty("attach"); |
99 | ||
100 | /** | |
101 | * The URI defines an "Attendee" within a calendar component.value type: | |
102 | * CAL-ADDRESS. | |
103 | */ | |
104 | 0 | public final URI attendee = createProperty("attendee"); |
105 | 0 | public final URI calAddress = createProperty("calAddress"); |
106 | 0 | public final URI component = createProperty("component"); |
107 | 0 | public final URI daylight = createProperty("daylight"); |
108 | ||
109 | /** | |
110 | * The URI specifies a positive duration of time.value type: DURATION. | |
111 | */ | |
112 | 0 | public final URI duration = createProperty("duration"); |
113 | ||
114 | /** | |
115 | * This URI defines a rule or repeating pattern for an exception to a recurrence | |
116 | * set.value type: RECUR. | |
117 | */ | |
118 | 0 | public final URI exrule = createProperty("exrule"); |
119 | ||
120 | /** | |
121 | * The URI defines one or more free or busy time intervals.value type: PERIOD. | |
122 | */ | |
123 | 0 | public final URI freebusy = createProperty("freebusy"); |
124 | ||
125 | /** | |
126 | * value type: list of FLOATThis URI specifies information related to the | |
127 | * global position for the activity specified by a calendar component.. | |
128 | */ | |
129 | 0 | public final URI geo = createProperty("geo"); |
130 | ||
131 | /** | |
132 | * value type: CAL-ADDRESSThe URI defines the organizer for a calendar component.. | |
133 | */ | |
134 | 0 | public final URI organizer = createProperty("organizer"); |
135 | ||
136 | /** | |
137 | * This URI defines a rule or repeating pattern for recurring events, to-dos, | |
138 | * or time zone definitions.value type: RECUR. | |
139 | */ | |
140 | 0 | public final URI rrule = createProperty("rrule"); |
141 | ||
142 | 0 | public final URI standard = createProperty("standard"); |
143 | ||
144 | /** | |
145 | * This URI specifies when an alarm will trigger.default value type: DURATION. | |
146 | */ | |
147 | 0 | public final URI trigger = createProperty("trigger"); |
148 | ||
149 | /** | |
150 | * The TZURL provides a means for a VTIMEZONE component to point to a network | |
151 | * location that can be used to retrieve an up-to- date version of itself.value | |
152 | * type: URI. | |
153 | */ | |
154 | 0 | public final URI tzurl = createProperty("tzurl"); |
155 | ||
156 | /** | |
157 | * This URI defines a Uniform URI Locator (URL) associated with the | |
158 | * iCalendar object.value type: URI. | |
159 | */ | |
160 | 0 | public final URI url = createProperty("url"); |
161 | ||
162 | /** | |
163 | * value type: TEXTThis class of URI provides a framework for defining non-standard | |
164 | * properties.. | |
165 | */ | |
166 | 0 | public final URI X_ = createProperty("X-"); |
167 | ||
168 | /** | |
169 | * value type: TEXTThis URI defines the action to be invoked when an alarm | |
170 | * is triggered.. | |
171 | */ | |
172 | 0 | public final URI action = createProperty("action"); |
173 | ||
174 | /** | |
175 | * To specify an alternate text representation for the URI value.. | |
176 | */ | |
177 | 0 | public final URI altrep = createProperty("altrep"); |
178 | ||
179 | 0 | public final URI byday = createProperty("byday"); |
180 | ||
181 | 0 | public final URI byhour = createProperty("byhour"); |
182 | ||
183 | 0 | public final URI byminute = createProperty("byminute"); |
184 | ||
185 | 0 | public final URI bymonth = createProperty("bymonth"); |
186 | ||
187 | 0 | public final URI bysecond = createProperty("bysecond"); |
188 | ||
189 | 0 | public final URI bysetpos = createProperty("bysetpos"); |
190 | ||
191 | 0 | public final URI byweekno = createProperty("byweekno"); |
192 | ||
193 | 0 | public final URI byyearday = createProperty("byyearday"); |
194 | ||
195 | /** | |
196 | * value type: TEXTThis URI defines the calendar scale used for the calendar | |
197 | * information specified in the iCalendar object.. | |
198 | */ | |
199 | 0 | public final URI calscale = createProperty("calscale"); |
200 | ||
201 | /** | |
202 | * value type: TEXTThis URI defines the categories for a calendar component.. | |
203 | */ | |
204 | 0 | public final URI categories = createProperty("categories"); |
205 | ||
206 | /** | |
207 | * value type: TEXTThis URI defines the access classification for a calendar | |
208 | * component.. | |
209 | */ | |
210 | 0 | public final URI class_ = createProperty("class"); |
211 | ||
212 | /** | |
213 | * To specify the common name to be associated with the calendar user specified | |
214 | * by the URI.. | |
215 | */ | |
216 | 0 | public final URI cn = createProperty("cn"); |
217 | ||
218 | /** | |
219 | * value type: TEXTThis URI specifies non-processing information intended | |
220 | * to provide a comment to the calendar user.. | |
221 | */ | |
222 | 0 | public final URI comment = createProperty("comment"); |
223 | ||
224 | /** | |
225 | * value type: DATE-TIMEThis URI defines the date and time that a to-do | |
226 | * was actually completed.. | |
227 | */ | |
228 | 0 | public final URI completed = createProperty("completed"); |
229 | ||
230 | /** | |
231 | * value type: TEXTThe URI is used to represent contact information or alternately | |
232 | * a reference to contact information associated with the calendar component.. | |
233 | */ | |
234 | 0 | public final URI contact = createProperty("contact"); |
235 | ||
236 | 0 | public final URI count = createProperty("count"); |
237 | ||
238 | /** | |
239 | * This URI specifies the date and time that the calendar information was | |
240 | * created by the calendar user agent in the calendar store. Note: This is analogous | |
241 | * to the creation date and time for a file in the file system.value type: DATE-TIME. | |
242 | */ | |
243 | 0 | public final URI created = createProperty("created"); |
244 | ||
245 | /** | |
246 | * To specify the type of calendar user specified by the URI.. | |
247 | */ | |
248 | 0 | public final URI cutype = createProperty("cutype"); |
249 | ||
250 | /** | |
251 | * To specify the calendar users that have delegated their participation to the | |
252 | * calendar user specified by the URI.. | |
253 | */ | |
254 | 0 | public final URI delegatedFrom = createProperty("delegatedFrom"); |
255 | ||
256 | /** | |
257 | * To specify the calendar users to whom the calendar user specified by the URI | |
258 | * has delegated participation.. | |
259 | */ | |
260 | 0 | public final URI delegatedTo = createProperty("delegatedTo"); |
261 | ||
262 | /** | |
263 | * value type: TEXTThis URI provides a more complete description of the | |
264 | * calendar component, than that provided by the "SUMMARY" URI.. | |
265 | */ | |
266 | 0 | public final URI description = createProperty("description"); |
267 | ||
268 | /** | |
269 | * To specify reference to a directory entry associated with the calendar user | |
270 | * specified by the URI.. | |
271 | */ | |
272 | 0 | public final URI dir = createProperty("dir"); |
273 | ||
274 | /** | |
275 | * This URI specifies the date and time that a calendar component ends.default | |
276 | * value type: DATE-TIME. | |
277 | */ | |
278 | 0 | public final URI dtend = createProperty("dtend"); |
279 | ||
280 | /** | |
281 | * value type: DATE-TIMEThe URI indicates the date/time that the instance | |
282 | * of the iCalendar object was created.. | |
283 | */ | |
284 | 0 | public final URI dtstamp = createProperty("dtstamp"); |
285 | ||
286 | /** | |
287 | * default value type: DATE-TIMEThis URI specifies when the calendar component | |
288 | * begins.. | |
289 | */ | |
290 | 0 | public final URI dtstart = createProperty("dtstart"); |
291 | ||
292 | /** | |
293 | * default value type: DATE-TIMEThis URI defines the date and time that | |
294 | * a to-do is expected to be completed.. | |
295 | */ | |
296 | 0 | public final URI due = createProperty("due"); |
297 | ||
298 | /** | |
299 | * To specify an alternate inline encoding for the URI value.. | |
300 | */ | |
301 | 0 | public final URI encoding = createProperty("encoding"); |
302 | ||
303 | /** | |
304 | * default value type: DATE-TIMEThis URI defines the list of date/time exceptions | |
305 | * for a recurring calendar component.. | |
306 | */ | |
307 | 0 | public final URI exdate = createProperty("exdate"); |
308 | ||
309 | /** | |
310 | * To specify the free or busy time type.. | |
311 | */ | |
312 | 0 | public final URI fbtype = createProperty("fbtype"); |
313 | ||
314 | /** | |
315 | * To specify the content type of a referenced object.. | |
316 | */ | |
317 | 0 | public final URI fmttype = createProperty("fmttype"); |
318 | ||
319 | 0 | public final URI freq = createProperty("freq"); |
320 | ||
321 | 0 | public final URI interval = createProperty("interval"); |
322 | ||
323 | /** | |
324 | * To specify the language for text values in a URI or URI parameter.. | |
325 | */ | |
326 | 0 | public final URI language = createProperty("language"); |
327 | ||
328 | /** | |
329 | * value type: DATE-TIMEThe URI specifies the date and time that the information | |
330 | * associated with the calendar component was last revised in the calendar store. | |
331 | * Note: This is analogous to the modification date and time for a file in the | |
332 | * file system.. | |
333 | */ | |
334 | 0 | public final URI lastModified = createProperty("lastModified"); |
335 | ||
336 | /** | |
337 | * value type: TEXTThe URI defines the intended venue for the activity defined | |
338 | * by a calendar component.. | |
339 | */ | |
340 | 0 | public final URI location = createProperty("location"); |
341 | ||
342 | /** | |
343 | * To specify the group or list membership of the calendar user specified by | |
344 | * the URI.. | |
345 | */ | |
346 | 0 | public final URI member = createProperty("member"); |
347 | ||
348 | /** | |
349 | * value type: TEXTThis URI defines the iCalendar object method associated | |
350 | * with the calendar object.. | |
351 | */ | |
352 | 0 | public final URI method = createProperty("method"); |
353 | ||
354 | /** | |
355 | * To specify the participation status for the calendar user specified by the | |
356 | * URI.. | |
357 | */ | |
358 | 0 | public final URI partstat = createProperty("partstat"); |
359 | ||
360 | /** | |
361 | * value type: INTEGERThis URI is used by an assignee or delegatee of a | |
362 | * to-do to convey the percent completion of a to-do to the Organizer.. | |
363 | */ | |
364 | 0 | public final URI percentComplete = createProperty("percentComplete"); |
365 | ||
366 | /** | |
367 | * The URI defines the relative priority for a calendar component.value | |
368 | * type: INTEGER. | |
369 | */ | |
370 | 0 | public final URI priority = createProperty("priority"); |
371 | ||
372 | /** | |
373 | * value type: TEXTThis URI specifies the identifier for the product that | |
374 | * created the iCalendar object.. | |
375 | */ | |
376 | 0 | public final URI prodid = createProperty("prodid"); |
377 | ||
378 | /** | |
379 | * To specify the effective range of recurrence instances from the instance specified | |
380 | * by the recurrence identifier specified by the URI.. | |
381 | */ | |
382 | 0 | public final URI range = createProperty("range"); |
383 | ||
384 | /** | |
385 | * default value type: DATE-TIMEThis URI defines the list of date/times | |
386 | * for a recurrence set.. | |
387 | */ | |
388 | 0 | public final URI rdate = createProperty("rdate"); |
389 | ||
390 | /** | |
391 | * default value type: DATE-TIMEThis URI is used in conjunction with the | |
392 | * "UID" and "SEQUENCE" URI to identify a specific instance of a recurring | |
393 | * "VEVENT", "VTODO" or "VJOURNAL" calendar component. The URI value is | |
394 | * the effective value of the "DTSTART" URI of the recurrence instance.. | |
395 | */ | |
396 | 0 | public final URI recurrenceId = createProperty("recurrenceId"); |
397 | ||
398 | /** | |
399 | * To specify the relationship of the alarm trigger with respect to the start | |
400 | * or end of the calendar component.. | |
401 | */ | |
402 | 0 | public final URI related = createProperty("related"); |
403 | ||
404 | /** | |
405 | * The URI is used to represent a relationship or reference between one | |
406 | * calendar component and another.value type: TEXT. | |
407 | */ | |
408 | 0 | public final URI relatedTo = createProperty("relatedTo"); |
409 | ||
410 | /** | |
411 | * To specify the type of hierarchical relationship associated with the calendar | |
412 | * component specified by the URI.. | |
413 | */ | |
414 | 0 | public final URI reltype = createProperty("reltype"); |
415 | ||
416 | /** | |
417 | * This URI defines the number of time the alarm should be repeated, after | |
418 | * the initial trigger.value type: INTEGER. | |
419 | */ | |
420 | 0 | public final URI repeat = createProperty("repeat"); |
421 | ||
422 | /** | |
423 | * value type: TEXTThis URI defines the status code returned for a scheduling | |
424 | * request.. | |
425 | */ | |
426 | 0 | public final URI requestStatus = createProperty("requestStatus"); |
427 | ||
428 | /** | |
429 | * value type: TEXTThis URI defines the equipment or resources anticipated | |
430 | * for an activity specified by a calendar entity... | |
431 | */ | |
432 | 0 | public final URI resources = createProperty("resources"); |
433 | ||
434 | /** | |
435 | * To specify the participation role for the calendar user specified by the URI.. | |
436 | */ | |
437 | 0 | public final URI role = createProperty("role"); |
438 | ||
439 | /** | |
440 | * To specify whether there is an expectation of a favor of a reply from the | |
441 | * calendar user specified by the URI value.. | |
442 | */ | |
443 | 0 | public final URI rsvp = createProperty("rsvp"); |
444 | ||
445 | /** | |
446 | * To specify the calendar user that is acting on behalf of the calendar user | |
447 | * specified by the URI.. | |
448 | */ | |
449 | 0 | public final URI sentBy = createProperty("sentBy"); |
450 | ||
451 | /** | |
452 | * value type: integerThis URI defines the revision sequence number of the | |
453 | * calendar component within a sequence of revisions.. | |
454 | */ | |
455 | 0 | public final URI sequence = createProperty("sequence"); |
456 | ||
457 | /** | |
458 | * value type: TEXTThis URI defines the overall status or confirmation for | |
459 | * the calendar component.. | |
460 | */ | |
461 | 0 | public final URI status = createProperty("status"); |
462 | ||
463 | /** | |
464 | * This URI defines a short summary or subject for the calendar component.value | |
465 | * type: TEXT. | |
466 | */ | |
467 | 0 | public final URI summary = createProperty("summary"); |
468 | ||
469 | /** | |
470 | * This URI defines whether an event is transparent or not to busy time | |
471 | * searches.value type: TEXT. | |
472 | */ | |
473 | 0 | public final URI transp = createProperty("transp"); |
474 | ||
475 | /** | |
476 | * value type: TEXTTo specify the identifier for the time zone definition for | |
477 | * a time component in the URI value.This URI specifies the text value | |
478 | * that uniquely identifies the "VTIMEZONE" calendar component.. | |
479 | */ | |
480 | 0 | public final URI tzid = createProperty("tzid"); |
481 | ||
482 | /** | |
483 | * value type: TEXTThis URI specifies the customary designation for a time | |
484 | * zone description.. | |
485 | */ | |
486 | 0 | public final URI tzname = createProperty("tzname"); |
487 | ||
488 | /** | |
489 | * value type: UTC-OFFSETThis URI specifies the offset which is in use prior | |
490 | * to this time zone observance.. | |
491 | */ | |
492 | 0 | public final URI tzoffsetfrom = createProperty("tzoffsetfrom"); |
493 | ||
494 | /** | |
495 | * value type: UTC-OFFSETThis URI specifies the offset which is in use in | |
496 | * this time zone observance.. | |
497 | */ | |
498 | 0 | public final URI tzoffsetto = createProperty("tzoffsetto"); |
499 | ||
500 | /** | |
501 | * This URI defines the persistent, globally unique identifier for the calendar | |
502 | * component.value type: TEXT. | |
503 | */ | |
504 | 0 | public final URI uid = createProperty("uid"); |
505 | ||
506 | 0 | public final URI until = createProperty("until"); |
507 | ||
508 | /** | |
509 | * value type: TEXTThis URI specifies the identifier corresponding to the | |
510 | * highest version number or the minimum and maximum range of the iCalendar specification | |
511 | * that is required in order to interpret the iCalendar object.. | |
512 | */ | |
513 | 0 | public final URI version = createProperty("version"); |
514 | ||
515 | private URI createClass(String string) { | |
516 | 0 | return createClass(NS, string); |
517 | } | |
518 | ||
519 | private URI createProperty(String string) { | |
520 | 0 | return createProperty(NS, string); |
521 | } | |
522 | ||
523 | private ICAL(){ | |
524 | 0 | super(NS); |
525 | 0 | } |
526 | ||
527 | } |