##### Coverage Report - org.apache.any23.vocab.VCARD

Classes in this File | Line Coverage | Branch Coverage | Complexity
VCARD |
0% | 0/68
0% | 0/2
| 1.3333333333333333;1.333

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 vcard.owl
24 |  |
      */
25 |  |
     public class VCARD extends Vocabulary {
26 |  |
27 |  |
         /**
28 |  |
          * The namespace of the vocabulary as a string.
29 |  |
          */
30 |  |
         public static final String NS = "http://www.w3.org/2006/vcard/ns#";
31 |  |
32 |  |
         private static VCARD instance;
33 |  |
34 |  |
         public static VCARD getInstance() {
35 | 0 |
             if(instance == null) {
36 | 0 |
                 instance = new VCARD();
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 |  |
         /**
47 |  |
          * An additional part of a person's name.
48 |  |
          */
49 | 0 |
         public final URI additional_name = createProperty("additional-name");
50 |  |
51 |  |
         /**
52 |  |
          * A postal or street address of a person.
53 |  |
          */
54 | 0 |
         public final URI adr = createProperty("adr");
55 |  |
56 |  |
         /**
57 |  |
          * A person that acts as one's agent.
58 |  |
          */
59 | 0 |
         public final URI agent = createProperty("agent");
60 |  |
61 |  |
         /**
62 |  |
          * The birthday of a person.
63 |  |
          */
64 | 0 |
         public final URI bday = createProperty("bday");
65 |  |
66 |  |
         /**
67 |  |
          * A category of a vCard.
68 |  |
          */
69 | 0 |
         public final URI category = createProperty("category");
70 |  |
71 |  |
         /**
72 |  |
          * A class (e.g., public, private, etc.) of a vCard.
73 |  |
          */
74 | 0 |
         public final URI class_ = createProperty("class");
75 |  |
76 |  |
         /**
77 |  |
          * The country of a postal address.
78 |  |
          */
79 | 0 |
         public final URI country_name = createProperty("country-name");
80 |  |
81 |  |
         /**
82 |  |
          * An email address.
83 |  |
          */
84 | 0 |
         public final URI email = createProperty("email");
85 |  |
86 |  |
         /**
87 |  |
          * The extended address of a postal address.
88 |  |
          */
89 | 0 |
         public final URI extended_address = createProperty("extended-address");
90 |  |
91 |  |
         /**
92 |  |
          * A family name part of a person's name.
93 |  |
          */
94 | 0 |
         public final URI family_name = createProperty("family-name");
95 |  |
96 |  |
         /**
97 |  |
          * A fax number of a person.
98 |  |
          */
99 | 0 |
         public final URI fax = createProperty("fax");
100 |  |
101 |  |
         /**
102 |  |
          * A formatted name of a person.
103 |  |
          */
104 | 0 |
         public final URI fn = createProperty("fn");
105 |  |
106 |  |
         /**
107 |  |
          * A geographic location associated with a person.
108 |  |
          */
109 | 0 |
         public final URI geo = createProperty("geo");
110 |  |
111 |  |
         /**
112 |  |
          * A given name part of a person's name.
113 |  |
          */
114 | 0 |
         public final URI given_name = createProperty("given-name");
115 |  |
116 |  |
         /**
117 |  |
          * A home address of a person.
118 |  |
          */
119 | 0 |
         public final URI homeAdr = createProperty("homeAdr");
120 |  |
121 |  |
         /**
122 |  |
          * A home phone number of a person.
123 |  |
          */
124 | 0 |
         public final URI homeTel = createProperty("homeTel");
125 |  |
126 |  |
         /**
127 |  |
          * An honorific prefix part of a person's name.
128 |  |
          */
129 | 0 |
         public final URI honorific_prefix = createProperty("honorific-prefix");
130 |  |
131 |  |
         /**
132 |  |
          * An honorific suffix part of a person's name.
133 |  |
          */
134 | 0 |
         public final URI honorific_suffix = createProperty("honorific-suffix");
135 |  |
136 |  |
         /**
137 |  |
          * A key (e.g, PKI key) of a person.
138 |  |
          */
139 | 0 |
         public final URI key = createProperty("key");
140 |  |
141 |  |
         /**
142 |  |
          * The formatted version of a postal address (a string with embedded line breaks,
143 |  |
          * punctuation, etc.).
144 |  |
          */
145 | 0 |
         public final URI label = createProperty("label");
146 |  |
147 |  |
         /**
148 |  |
          * The latitude of a geographic location.
149 |  |
          */
150 | 0 |
         public final URI latitude = createProperty("latitude");
151 |  |
152 |  |
         /**
153 |  |
          * The locality (e.g., city) of a postal address.
154 |  |
          */
155 | 0 |
         public final URI locality = createProperty("locality");
156 |  |
157 |  |
         /**
158 |  |
          * A logo associated with a person or their organization.
159 |  |
          */
160 | 0 |
         public final URI logo = createProperty("logo");
161 |  |
162 |  |
         /**
163 |  |
          * The longitude of a geographic location.
164 |  |
          */
165 | 0 |
         public final URI longitude = createProperty("longitude");
166 |  |
167 |  |
         /**
168 |  |
          * A mailer associated with a vCard.
169 |  |
          */
170 | 0 |
         public final URI mailer = createProperty("mailer");
171 |  |
172 |  |
         /**
173 |  |
          * A mobile email address of a person.
174 |  |
          */
175 | 0 |
         public final URI mobileEmail = createProperty("mobileEmail");
176 |  |
177 |  |
         /**
178 |  |
          * A mobile phone number of a person.
179 |  |
          */
180 | 0 |
         public final URI mobileTel = createProperty("mobileTel");
181 |  |
182 |  |
         /**
183 |  |
          * The components of the name of a person.
184 |  |
          */
185 | 0 |
         public final URI n = createProperty("n");
186 |  |
187 |  |
         /**
188 |  |
          * The nickname of a person.
189 |  |
          */
190 | 0 |
         public final URI nickname = createProperty("nickname");
191 |  |
192 |  |
         /**
193 |  |
          * Notes about a person on a vCard.
194 |  |
          */
195 | 0 |
         public final URI note = createProperty("note");
196 |  |
197 |  |
         /**
198 |  |
          * An organization associated with a person.
199 |  |
          */
200 | 0 |
         public final URI org = createProperty("org");
201 |  |
202 |  |
         /**
203 |  |
          * The name of an organization.
204 |  |
          */
205 | 0 |
         public final URI organization_name = createProperty("organization-name");
206 |  |
207 |  |
         /**
208 |  |
          * The name of a unit within an organization.
209 |  |
          */
210 | 0 |
         public final URI organization_unit = createProperty("organization-unit");
211 |  |
212 |  |
         /**
213 |  |
          * An email address unaffiliated with any particular organization or employer;
214 |  |
          * a personal email address.
215 |  |
          */
216 | 0 |
         public final URI personalEmail = createProperty("personalEmail");
217 |  |
218 |  |
         /**
219 |  |
          * A photograph of a person.
220 |  |
          */
221 | 0 |
         public final URI photo = createProperty("photo");
222 |  |
223 |  |
         /**
224 |  |
          * The post office box of a postal address.
225 |  |
          */
226 | 0 |
         public final URI post_office_box = createProperty("post-office-box");
227 |  |
228 |  |
         /**
229 |  |
          * The postal code (e.g., U.S. ZIP code) of a postal address.
230 |  |
          */
231 | 0 |
         public final URI postal_code = createProperty("postal-code");
232 |  |
233 |  |
         /**
234 |  |
          * The region (e.g., state or province) of a postal address.
235 |  |
          */
236 | 0 |
         public final URI region = createProperty("region");
237 |  |
238 |  |
         /**
239 |  |
          * The timestamp of a revision of a vCard.
240 |  |
          */
241 | 0 |
         public final URI rev = createProperty("rev");
242 |  |
243 |  |
         /**
244 |  |
          * A role a person plays within an organization.
245 |  |
          */
246 | 0 |
         public final URI role = createProperty("role");
247 |  |
248 |  |
         /**
249 |  |
          * A version of a person's name suitable for collation.
250 |  |
          */
251 | 0 |
         public final URI sort_string = createProperty("sort-string");
252 |  |
253 |  |
         /**
254 |  |
          * A sound (e.g., a greeting or pronounciation) of a person.
255 |  |
          */
256 | 0 |
         public final URI sound = createProperty("sound");
257 |  |
258 |  |
         /**
259 |  |
          * The street address of a postal address.
260 |  |
          */
261 | 0 |
         public final URI street_address = createProperty("street-address");
262 |  |
263 |  |
         /**
264 |  |
          * A telephone number of a person.
265 |  |
          */
266 | 0 |
         public final URI tel = createProperty("tel");
267 |  |
268 |  |
         /**
269 |  |
          * A person's title.
270 |  |
          */
271 | 0 |
         public final URI title = createProperty("title");
272 |  |
273 |  |
         /**
274 |  |
          * A timezone associated with a person.
275 |  |
          */
276 | 0 |
         public final URI tz = createProperty("tz");
277 |  |
278 |  |
         /**
279 |  |
          * A UID of a person's vCard.
280 |  |
          */
281 | 0 |
         public final URI uid = createProperty("uid");
282 |  |
283 |  |
         /**
284 |  |
          * An (explicitly) unlabeled address of a person.
285 |  |
          */
286 | 0 |
         public final URI unlabeledAdr = createProperty("unlabeledAdr");
287 |  |
288 |  |
         /**
289 |  |
          * An (explicitly) unlabeled email address of a person.
290 |  |
          */
291 | 0 |
         public final URI unlabeledEmail = createProperty("unlabeledEmail");
292 |  |
293 |  |
         /**
294 |  |
          * An (explicitly) unlabeled phone number of a person.
295 |  |
          */
296 | 0 |
         public final URI unlabeledTel = createProperty("unlabeledTel");
297 |  |
298 |  |
         /**
299 |  |
          * A URL associated with a person.
300 |  |
          */
301 | 0 |
         public final URI url = createProperty("url");
302 |  |
303 |  |
         /**
304 |  |
          * A work address of a person.
305 |  |
          */
306 | 0 |
         public final URI workAdr = createProperty("workAdr");
307 |  |
308 |  |
         /**
309 |  |
          * A work email address of a person.
310 |  |
          */
311 | 0 |
         public final URI workEmail = createProperty("workEmail");
312 |  |
313 |  |
         /**
314 |  |
          * A work phone number of a person.
315 |  |
          */
316 | 0 |
         public final URI workTel = createProperty("workTel");
317 |  |
318 |  |
         /**
319 |  |
          * Resources that are vCard (postal) addresses.
320 |  |
          */
321 | 0 |
         public final URI Address = createURI("http://www.w3.org/2006/vcard/ns#Address");
322 |  |
323 | 0 |
         public final URI addressType = createProperty("addressType");
324 |  |
325 |  |
         /**
326 |  |
          * Resources that are vCard Telephones.
327 |  |
          */
328 | 0 |
         public final URI Telephone = createURI("http://www.w3.org/2006/vcard/ns#Address");
329 |  |
330 |  |
         /**
331 |  |
          * Resources that are vCard geographic locations.
332 |  |
          */
333 | 0 |
         public final URI Location = createURI("http://www.w3.org/2006/vcard/ns#Location");
334 |  |
335 |  |
         /**
336 |  |
          * Resources that are vCard personal names.
337 |  |
          */
338 | 0 |
         public final URI Name = createURI("http://www.w3.org/2006/vcard/ns#Name");
339 |  |
340 |  |
         /**
341 |  |
          * Resources that are vCard organizations.
342 |  |
          */
343 | 0 |
         public final URI Organization = createURI("http://www.w3.org/2006/vcard/ns#Organization");
344 |  |
345 |  |
         /**
346 |  |
          * Resources that are vCards
347 |  |
          */
348 | 0 |
         public final URI VCard = createURI("http://www.w3.org/2006/vcard/ns#VCard");
349 |  |
350 |  |
351 |  |
         private URI createProperty(String localName) {
352 | 0 |
             return createProperty(NS, localName);
353 |  |
         }
354 |  |
355 |  |
         public VCARD(){
356 | 0 |
             super(NS);
357 | 0 |
         }
358 |  |
     }