Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
DoapOptions |
|
| 0.0;0 |
1 | /* | |
2 | =================== DO NOT EDIT THIS FILE ==================== | |
3 | Generated by Modello 1.4.1 on 2011-01-12 08:22:23, | |
4 | any modifications will be overwritten. | |
5 | ============================================================== | |
6 | */ | |
7 | ||
8 | package org.apache.maven.plugin.doap.options; | |
9 | ||
10 | /** | |
11 | * Specific DOAP parameters, i.e. options that POM doesn't have any | |
12 | * notions or to override | |
13 | * some POM options. | |
14 | * @see <a | |
15 | * href="http://usefulinc.com/ns/doap#">http://usefulinc.com/ns/doap#</a> | |
16 | * | |
17 | * @version $Revision: 815337 $ $Date: 2012-05-01 21:52:10 +0000 (Tue, 01 May 2012) $ | |
18 | */ | |
19 | @SuppressWarnings( "all" ) | |
20 | 0 | public class DoapOptions |
21 | implements java.io.Serializable | |
22 | { | |
23 | ||
24 | //--------------------------/ | |
25 | //- Class/Member Variables -/ | |
26 | //--------------------------/ | |
27 | ||
28 | /** | |
29 | * The DOAP xmlns prefix. | |
30 | */ | |
31 | private String xmlnsPrefix; | |
32 | ||
33 | /** | |
34 | * The URI of the DOAP xmlns namespace.<br/> | |
35 | * <b>Default value</b>: http://usefulinc.com/ns/doap#. | |
36 | */ | |
37 | 0 | private String xmlnsNamespaceURI = "http://usefulinc.com/ns/doap#"; |
38 | ||
39 | /** | |
40 | * Description of target user base. | |
41 | * @see <a | |
42 | * href="http://usefulinc.com/ns/doap#audience">http://usefulinc.com/ns/doap#audience</a> | |
43 | */ | |
44 | private String audience; | |
45 | ||
46 | /** | |
47 | * URI of a blog related to a project. | |
48 | * @see <a | |
49 | * href="http://usefulinc.com/ns/doap#blog">http://usefulinc.com/ns/doap#blog</a> | |
50 | */ | |
51 | private String blog; | |
52 | ||
53 | /** | |
54 | * Bug tracker for a project.<br/> | |
55 | * <b>Default value</b>: ${project.issueManagement.url} | |
56 | * @see <a | |
57 | * href="http://usefulinc.com/ns/doap#bug-database">http://usefulinc.com/ns/doap#bug-database</a> | |
58 | */ | |
59 | 0 | private String bugDatabase = "${project.issueManagement.url}"; |
60 | ||
61 | /** | |
62 | * A category of project.<br/> | |
63 | * <b>Default value</b>: library<br/> | |
64 | * <b>Note</b>: This string is comma separated to allow several | |
65 | * categories. | |
66 | * @see <a | |
67 | * href="http://usefulinc.com/ns/doap#category">http://usefulinc.com/ns/doap#category</a> | |
68 | */ | |
69 | 0 | private String category = "library"; |
70 | ||
71 | /** | |
72 | * Date when something was created, in YYYY-MM-DD form. e.g. | |
73 | * 2004-04-05.<br/> | |
74 | * <b>Default value</b>: ${project.inceptionYear}-01-01 | |
75 | * @see <a | |
76 | * href="http://usefulinc.com/ns/doap#created">http://usefulinc.com/ns/doap#created</a> | |
77 | */ | |
78 | 0 | private String created = "${project.inceptionYear}-01-01"; |
79 | ||
80 | /** | |
81 | * The project description.<br/> | |
82 | * <b>Default value</b>: ${project.description} | |
83 | * @see <a | |
84 | * href="http://usefulinc.com/ns/doap#description">http://usefulinc.com/ns/doap#description</a> | |
85 | */ | |
86 | 0 | private String description = "${project.description}"; |
87 | ||
88 | /** | |
89 | * Web page from which the project software can be | |
90 | * downloaded.<br/> | |
91 | * <b>Default value</b>: | |
92 | * ${project.distributionManagement.downloadUrl} | |
93 | * @see <a | |
94 | * href="http://usefulinc.com/ns/doap#download-page">http://usefulinc.com/ns/doap#download-page</a> | |
95 | */ | |
96 | 0 | private String downloadPage = "${project.distributionManagement.downloadUrl}"; |
97 | ||
98 | /** | |
99 | * Mirror of software download web page.<br/> | |
100 | * <b>Note</b>: This string is comma separated to allow several | |
101 | * mirror pages. | |
102 | * @see <a | |
103 | * href="http://usefulinc.com/ns/doap#download-mirror">http://usefulinc.com/ns/doap#download-mirror</a> | |
104 | */ | |
105 | private String downloadMirror; | |
106 | ||
107 | /** | |
108 | * URL of a project's homepage, associated with exactly one | |
109 | * project.<br/> | |
110 | * <b>Default value</b>: ${project.url} | |
111 | * @see <a | |
112 | * href="http://usefulinc.com/ns/doap#homepage">http://usefulinc.com/ns/doap#homepage</a> | |
113 | */ | |
114 | 0 | private String homepage = "${project.url}"; |
115 | ||
116 | /** | |
117 | * A specification that a project implements. Could be a | |
118 | * standard, API or legally defined level of conformance.<br/> | |
119 | * <b>Note</b>: This string is comma separated to allow several | |
120 | * implementations. | |
121 | * @see <a | |
122 | * href="http://usefulinc.com/ns/doap#implements">http://usefulinc.com/ns/doap#implements</a> | |
123 | */ | |
124 | private String implementations; | |
125 | ||
126 | /** | |
127 | * ISO language code a project has been translated into. | |
128 | * <b>Note</b>: This string is comma separated to allow several | |
129 | * languages. | |
130 | * @see <a | |
131 | * href="http://usefulinc.com/ns/doap#language">http://usefulinc.com/ns/doap#language</a> | |
132 | */ | |
133 | private String language; | |
134 | ||
135 | /** | |
136 | * The URI of an RDF description of the license the software is | |
137 | * distributed under.<br/> | |
138 | * <b>Default value</b>: ${project.licenses[0].url} | |
139 | * @see <a | |
140 | * href="http://usefulinc.com/ns/doap#license">http://usefulinc.com/ns/doap#license</a> | |
141 | */ | |
142 | 0 | private String license = "${project.licenses[0].url}"; |
143 | ||
144 | /** | |
145 | * Single web page that allows people to find out more | |
146 | * information about the mailing lists provided by the | |
147 | * project.<br/> | |
148 | * <b>Default value</b>: ${project.url}/mail-lists.html<br/> | |
149 | * <b>Note</b>: by default, the mailing list page is the one | |
150 | * generated by the Maven Project Info Reports Plugin. | |
151 | * @see <a | |
152 | * href="http://usefulinc.com/ns/doap#mailing-list">http://usefulinc.com/ns/doap#mailing-list</a> | |
153 | */ | |
154 | 0 | private String mailingList = "${project.url}/mail-lists.html"; |
155 | ||
156 | /** | |
157 | * The project name.<br/> | |
158 | * <b>Default value</b>: ${project.name} | |
159 | * @see <a | |
160 | * href="http://usefulinc.com/ns/doap#name">http://usefulinc.com/ns/doap#name</a> | |
161 | */ | |
162 | 0 | private String name = "${project.name}"; |
163 | ||
164 | /** | |
165 | * URL of a project's past homepage, associated with exactly | |
166 | * one project. | |
167 | * @see <a | |
168 | * href="http://usefulinc.com/ns/doap#old-homepage">http://usefulinc.com/ns/doap#old-homepage</a> | |
169 | */ | |
170 | private String oldHomepage; | |
171 | ||
172 | /** | |
173 | * Operating system that a project is limited to. Omit this | |
174 | * property if the project is not OS-specific.<br/> | |
175 | * <b>Note</b>: This string is comma separated to allow several | |
176 | * OS. | |
177 | * @see <a | |
178 | * href="http://usefulinc.com/ns/doap#os">http://usefulinc.com/ns/doap#os</a> | |
179 | */ | |
180 | private String os; | |
181 | ||
182 | /** | |
183 | * Indicator of software platform (non-OS specific), e.g. Java, | |
184 | * Firefox, ECMA CLR.<br/> | |
185 | * <b>Note</b>: This string is comma separated to allow several | |
186 | * platforms. | |
187 | * @see <a | |
188 | * href="http://usefulinc.com/ns/doap#platform">http://usefulinc.com/ns/doap#platform</a> | |
189 | */ | |
190 | private String platform; | |
191 | ||
192 | /** | |
193 | * Programming language a project is implemented in or intended | |
194 | * for use with.<br/> | |
195 | * <b>Default value</b>: Java<br/> | |
196 | * <b>Note</b>: This string is comma separated to allow several | |
197 | * programming-language. | |
198 | * @see <a | |
199 | * href="http://usefulinc.com/ns/doap#programming-language">http://usefulinc.com/ns/doap#programming-language</a> | |
200 | */ | |
201 | 0 | private String programmingLanguage = "Java"; |
202 | ||
203 | /** | |
204 | * Anonymous Source Repository as URL or Maven format.<br/> | |
205 | * <b>Default value</b>: ${project.scm.connection} | |
206 | * @see <a | |
207 | * href="http://usefulinc.com/ns/doap#Repository">http://usefulinc.com/ns/doap#Repository</a> | |
208 | * @see <a | |
209 | * href="http://usefulinc.com/ns/doap#CVSRepository">http://usefulinc.com/ns/doap#CVSRepository</a> | |
210 | * @see <a | |
211 | * href="http://usefulinc.com/ns/doap#SVNRepository">http://usefulinc.com/ns/doap#SVNRepository</a> | |
212 | */ | |
213 | 0 | private String scmAnonymous = "${project.scm.connection}"; |
214 | ||
215 | /** | |
216 | * Developer Source Repository as URL or Maven format.<br/> | |
217 | * <b>Default value</b>: ${project.scm.developerConnection} | |
218 | * @see <a | |
219 | * href="http://usefulinc.com/ns/doap#Repository">http://usefulinc.com/ns/doap#Repository</a> | |
220 | * @see <a | |
221 | * href="http://usefulinc.com/ns/doap#CVSRepository">http://usefulinc.com/ns/doap#CVSRepository</a> | |
222 | * @see <a | |
223 | * href="http://usefulinc.com/ns/doap#SVNRepository">http://usefulinc.com/ns/doap#SVNRepository</a> | |
224 | */ | |
225 | 0 | private String scmDeveloper = "${project.scm.developerConnection}"; |
226 | ||
227 | /** | |
228 | * Web page with screenshots of project. | |
229 | * @see <a | |
230 | * href="http://usefulinc.com/ns/doap#screenshots">http://usefulinc.com/ns/doap#screenshots</a> | |
231 | */ | |
232 | private String screenshots; | |
233 | ||
234 | /** | |
235 | * URI of a web service endpoint where software as a service | |
236 | * may be accessed. | |
237 | * @see <a | |
238 | * href="http://usefulinc.com/ns/doap#service-endpoint">http://usefulinc.com/ns/doap#service-endpoint</a> | |
239 | */ | |
240 | private String serviceEndpoint; | |
241 | ||
242 | /** | |
243 | * Short (8 or 9 words) plain text description of a | |
244 | * project.<br/> | |
245 | * <b>Default value</b>: ${project.description} | |
246 | * @see <a | |
247 | * href="http://usefulinc.com/ns/doap#shortdesc">http://usefulinc.com/ns/doap#shortdesc</a> | |
248 | */ | |
249 | 0 | private String shortdesc = "${project.description}"; |
250 | ||
251 | /** | |
252 | * Vendor organization: commercial, free or otherwise.<br/> | |
253 | * <b>Default value</b>: ${project.organization.name} | |
254 | * @see <a | |
255 | * href="http://usefulinc.com/ns/doap#vendor">http://usefulinc.com/ns/doap#vendor</a> | |
256 | */ | |
257 | 0 | private String vendor = "${project.organization.name}"; |
258 | ||
259 | /** | |
260 | * URL of Wiki for collaborative discussion of project. | |
261 | * @see <a | |
262 | * href="http://usefulinc.com/ns/doap#wiki">http://usefulinc.com/ns/doap#wiki</a> | |
263 | */ | |
264 | private String wiki; | |
265 | ||
266 | /** | |
267 | * Field extra. | |
268 | */ | |
269 | private java.util.Map extra; | |
270 | ||
271 | ||
272 | //-----------/ | |
273 | //- Methods -/ | |
274 | //-----------/ | |
275 | ||
276 | /** | |
277 | * Method addExtra. | |
278 | * | |
279 | * @param key | |
280 | * @param value | |
281 | */ | |
282 | public void addExtra( Object key, String value ) | |
283 | { | |
284 | 0 | getExtra().put( key, value ); |
285 | 0 | } //-- void addExtra( Object, String ) |
286 | ||
287 | /** | |
288 | * Method equals. | |
289 | * | |
290 | * @param other | |
291 | * @return boolean | |
292 | */ | |
293 | public boolean equals( Object other ) | |
294 | { | |
295 | 0 | if ( this == other ) |
296 | { | |
297 | 0 | return true; |
298 | } | |
299 | ||
300 | 0 | if ( !( other instanceof DoapOptions ) ) |
301 | { | |
302 | 0 | return false; |
303 | } | |
304 | ||
305 | 0 | DoapOptions that = (DoapOptions) other; |
306 | 0 | boolean result = true; |
307 | ||
308 | 0 | result = result && ( getAudience() == null ? that.getAudience() == null : getAudience().equals( that.getAudience() ) ); |
309 | 0 | result = result && ( getBlog() == null ? that.getBlog() == null : getBlog().equals( that.getBlog() ) ); |
310 | 0 | result = result && ( getBugDatabase() == null ? that.getBugDatabase() == null : getBugDatabase().equals( that.getBugDatabase() ) ); |
311 | 0 | result = result && ( getCategory() == null ? that.getCategory() == null : getCategory().equals( that.getCategory() ) ); |
312 | 0 | result = result && ( getCreated() == null ? that.getCreated() == null : getCreated().equals( that.getCreated() ) ); |
313 | 0 | result = result && ( getDescription() == null ? that.getDescription() == null : getDescription().equals( that.getDescription() ) ); |
314 | 0 | result = result && ( getDownloadPage() == null ? that.getDownloadPage() == null : getDownloadPage().equals( that.getDownloadPage() ) ); |
315 | 0 | result = result && ( getDownloadMirror() == null ? that.getDownloadMirror() == null : getDownloadMirror().equals( that.getDownloadMirror() ) ); |
316 | 0 | result = result && ( getHomepage() == null ? that.getHomepage() == null : getHomepage().equals( that.getHomepage() ) ); |
317 | 0 | result = result && ( getImplementations() == null ? that.getImplementations() == null : getImplementations().equals( that.getImplementations() ) ); |
318 | 0 | result = result && ( getLanguage() == null ? that.getLanguage() == null : getLanguage().equals( that.getLanguage() ) ); |
319 | 0 | result = result && ( getLicense() == null ? that.getLicense() == null : getLicense().equals( that.getLicense() ) ); |
320 | 0 | result = result && ( getMailingList() == null ? that.getMailingList() == null : getMailingList().equals( that.getMailingList() ) ); |
321 | 0 | result = result && ( getName() == null ? that.getName() == null : getName().equals( that.getName() ) ); |
322 | 0 | result = result && ( getOldHomepage() == null ? that.getOldHomepage() == null : getOldHomepage().equals( that.getOldHomepage() ) ); |
323 | 0 | result = result && ( getOs() == null ? that.getOs() == null : getOs().equals( that.getOs() ) ); |
324 | 0 | result = result && ( getPlatform() == null ? that.getPlatform() == null : getPlatform().equals( that.getPlatform() ) ); |
325 | 0 | result = result && ( getProgrammingLanguage() == null ? that.getProgrammingLanguage() == null : getProgrammingLanguage().equals( that.getProgrammingLanguage() ) ); |
326 | 0 | result = result && ( getScmAnonymous() == null ? that.getScmAnonymous() == null : getScmAnonymous().equals( that.getScmAnonymous() ) ); |
327 | 0 | result = result && ( getScmDeveloper() == null ? that.getScmDeveloper() == null : getScmDeveloper().equals( that.getScmDeveloper() ) ); |
328 | 0 | result = result && ( getScreenshots() == null ? that.getScreenshots() == null : getScreenshots().equals( that.getScreenshots() ) ); |
329 | 0 | result = result && ( getServiceEndpoint() == null ? that.getServiceEndpoint() == null : getServiceEndpoint().equals( that.getServiceEndpoint() ) ); |
330 | 0 | result = result && ( getShortdesc() == null ? that.getShortdesc() == null : getShortdesc().equals( that.getShortdesc() ) ); |
331 | 0 | result = result && ( getVendor() == null ? that.getVendor() == null : getVendor().equals( that.getVendor() ) ); |
332 | 0 | result = result && ( getWiki() == null ? that.getWiki() == null : getWiki().equals( that.getWiki() ) ); |
333 | 0 | result = result && ( getExtra() == null ? that.getExtra() == null : getExtra().equals( that.getExtra() ) ); |
334 | ||
335 | 0 | return result; |
336 | } //-- boolean equals( Object ) | |
337 | ||
338 | /** | |
339 | * Get description of target user base. | |
340 | * @see <a | |
341 | * href="http://usefulinc.com/ns/doap#audience">http://usefulinc.com/ns/doap#audience</a> | |
342 | * | |
343 | * @return String | |
344 | */ | |
345 | public String getAudience() | |
346 | { | |
347 | 0 | return this.audience; |
348 | } //-- String getAudience() | |
349 | ||
350 | /** | |
351 | * Get uRI of a blog related to a project. | |
352 | * @see <a | |
353 | * href="http://usefulinc.com/ns/doap#blog">http://usefulinc.com/ns/doap#blog</a> | |
354 | * | |
355 | * @return String | |
356 | */ | |
357 | public String getBlog() | |
358 | { | |
359 | 0 | return this.blog; |
360 | } //-- String getBlog() | |
361 | ||
362 | /** | |
363 | * Get bug tracker for a project.<br/> | |
364 | * <b>Default value</b>: ${project.issueManagement.url} | |
365 | * @see <a | |
366 | * href="http://usefulinc.com/ns/doap#bug-database">http://usefulinc.com/ns/doap#bug-database</a> | |
367 | * | |
368 | * @return String | |
369 | */ | |
370 | public String getBugDatabase() | |
371 | { | |
372 | 0 | return this.bugDatabase; |
373 | } //-- String getBugDatabase() | |
374 | ||
375 | /** | |
376 | * Get a category of project.<br/> | |
377 | * <b>Default value</b>: library<br/> | |
378 | * <b>Note</b>: This string is comma separated to allow several | |
379 | * categories. | |
380 | * @see <a | |
381 | * href="http://usefulinc.com/ns/doap#category">http://usefulinc.com/ns/doap#category</a> | |
382 | * | |
383 | * @return String | |
384 | */ | |
385 | public String getCategory() | |
386 | { | |
387 | 0 | return this.category; |
388 | } //-- String getCategory() | |
389 | ||
390 | /** | |
391 | * Get date when something was created, in YYYY-MM-DD form. | |
392 | * e.g. 2004-04-05.<br/> | |
393 | * <b>Default value</b>: ${project.inceptionYear}-01-01 | |
394 | * @see <a | |
395 | * href="http://usefulinc.com/ns/doap#created">http://usefulinc.com/ns/doap#created</a> | |
396 | * | |
397 | * @return String | |
398 | */ | |
399 | public String getCreated() | |
400 | { | |
401 | 0 | return this.created; |
402 | } //-- String getCreated() | |
403 | ||
404 | /** | |
405 | * Get the project description.<br/> | |
406 | * <b>Default value</b>: ${project.description} | |
407 | * @see <a | |
408 | * href="http://usefulinc.com/ns/doap#description">http://usefulinc.com/ns/doap#description</a> | |
409 | * | |
410 | * @return String | |
411 | */ | |
412 | public String getDescription() | |
413 | { | |
414 | 0 | return this.description; |
415 | } //-- String getDescription() | |
416 | ||
417 | /** | |
418 | * Get mirror of software download web page.<br/> | |
419 | * <b>Note</b>: This string is comma separated to allow several | |
420 | * mirror pages. | |
421 | * @see <a | |
422 | * href="http://usefulinc.com/ns/doap#download-mirror">http://usefulinc.com/ns/doap#download-mirror</a> | |
423 | * | |
424 | * @return String | |
425 | */ | |
426 | public String getDownloadMirror() | |
427 | { | |
428 | 0 | return this.downloadMirror; |
429 | } //-- String getDownloadMirror() | |
430 | ||
431 | /** | |
432 | * Get web page from which the project software can be | |
433 | * downloaded.<br/> | |
434 | * <b>Default value</b>: | |
435 | * ${project.distributionManagement.downloadUrl} | |
436 | * @see <a | |
437 | * href="http://usefulinc.com/ns/doap#download-page">http://usefulinc.com/ns/doap#download-page</a> | |
438 | * | |
439 | * @return String | |
440 | */ | |
441 | public String getDownloadPage() | |
442 | { | |
443 | 0 | return this.downloadPage; |
444 | } //-- String getDownloadPage() | |
445 | ||
446 | /** | |
447 | * Method getExtra. | |
448 | * | |
449 | * @return Map | |
450 | */ | |
451 | public java.util.Map getExtra() | |
452 | { | |
453 | 0 | if ( this.extra == null ) |
454 | { | |
455 | 0 | this.extra = new java.util.HashMap(); |
456 | } | |
457 | ||
458 | 0 | return this.extra; |
459 | } //-- java.util.Map getExtra() | |
460 | ||
461 | /** | |
462 | * Get uRL of a project's homepage, associated with exactly one | |
463 | * project.<br/> | |
464 | * <b>Default value</b>: ${project.url} | |
465 | * @see <a | |
466 | * href="http://usefulinc.com/ns/doap#homepage">http://usefulinc.com/ns/doap#homepage</a> | |
467 | * | |
468 | * @return String | |
469 | */ | |
470 | public String getHomepage() | |
471 | { | |
472 | 0 | return this.homepage; |
473 | } //-- String getHomepage() | |
474 | ||
475 | /** | |
476 | * Get a specification that a project implements. Could be a | |
477 | * standard, API or legally defined level of conformance.<br/> | |
478 | * <b>Note</b>: This string is comma separated to allow several | |
479 | * implementations. | |
480 | * @see <a | |
481 | * href="http://usefulinc.com/ns/doap#implements">http://usefulinc.com/ns/doap#implements</a> | |
482 | * | |
483 | * @return String | |
484 | */ | |
485 | public String getImplementations() | |
486 | { | |
487 | 0 | return this.implementations; |
488 | } //-- String getImplementations() | |
489 | ||
490 | /** | |
491 | * Get iSO language code a project has been translated into. | |
492 | * <b>Note</b>: This string is comma separated to allow several | |
493 | * languages. | |
494 | * @see <a | |
495 | * href="http://usefulinc.com/ns/doap#language">http://usefulinc.com/ns/doap#language</a> | |
496 | * | |
497 | * @return String | |
498 | */ | |
499 | public String getLanguage() | |
500 | { | |
501 | 0 | return this.language; |
502 | } //-- String getLanguage() | |
503 | ||
504 | /** | |
505 | * Get the URI of an RDF description of the license the | |
506 | * software is distributed under.<br/> | |
507 | * <b>Default value</b>: ${project.licenses[0].url} | |
508 | * @see <a | |
509 | * href="http://usefulinc.com/ns/doap#license">http://usefulinc.com/ns/doap#license</a> | |
510 | * | |
511 | * @return String | |
512 | */ | |
513 | public String getLicense() | |
514 | { | |
515 | 0 | return this.license; |
516 | } //-- String getLicense() | |
517 | ||
518 | /** | |
519 | * Get single web page that allows people to find out more | |
520 | * information about the mailing lists provided by the | |
521 | * project.<br/> | |
522 | * <b>Default value</b>: ${project.url}/mail-lists.html<br/> | |
523 | * <b>Note</b>: by default, the mailing list page is the one | |
524 | * generated by the Maven Project Info Reports Plugin. | |
525 | * @see <a | |
526 | * href="http://usefulinc.com/ns/doap#mailing-list">http://usefulinc.com/ns/doap#mailing-list</a> | |
527 | * | |
528 | * @return String | |
529 | */ | |
530 | public String getMailingList() | |
531 | { | |
532 | 0 | return this.mailingList; |
533 | } //-- String getMailingList() | |
534 | ||
535 | /** | |
536 | * Get the project name.<br/> | |
537 | * <b>Default value</b>: ${project.name} | |
538 | * @see <a | |
539 | * href="http://usefulinc.com/ns/doap#name">http://usefulinc.com/ns/doap#name</a> | |
540 | * | |
541 | * @return String | |
542 | */ | |
543 | public String getName() | |
544 | { | |
545 | 0 | return this.name; |
546 | } //-- String getName() | |
547 | ||
548 | /** | |
549 | * Get uRL of a project's past homepage, associated with | |
550 | * exactly one project. | |
551 | * @see <a | |
552 | * href="http://usefulinc.com/ns/doap#old-homepage">http://usefulinc.com/ns/doap#old-homepage</a> | |
553 | * | |
554 | * @return String | |
555 | */ | |
556 | public String getOldHomepage() | |
557 | { | |
558 | 0 | return this.oldHomepage; |
559 | } //-- String getOldHomepage() | |
560 | ||
561 | /** | |
562 | * Get operating system that a project is limited to. Omit | |
563 | * this property if the project is not OS-specific.<br/> | |
564 | * <b>Note</b>: This string is comma separated to allow several | |
565 | * OS. | |
566 | * @see <a | |
567 | * href="http://usefulinc.com/ns/doap#os">http://usefulinc.com/ns/doap#os</a> | |
568 | * | |
569 | * @return String | |
570 | */ | |
571 | public String getOs() | |
572 | { | |
573 | 0 | return this.os; |
574 | } //-- String getOs() | |
575 | ||
576 | /** | |
577 | * Get indicator of software platform (non-OS specific), e.g. | |
578 | * Java, Firefox, ECMA CLR.<br/> | |
579 | * <b>Note</b>: This string is comma separated to allow several | |
580 | * platforms. | |
581 | * @see <a | |
582 | * href="http://usefulinc.com/ns/doap#platform">http://usefulinc.com/ns/doap#platform</a> | |
583 | * | |
584 | * @return String | |
585 | */ | |
586 | public String getPlatform() | |
587 | { | |
588 | 0 | return this.platform; |
589 | } //-- String getPlatform() | |
590 | ||
591 | /** | |
592 | * Get programming language a project is implemented in or | |
593 | * intended for use with.<br/> | |
594 | * <b>Default value</b>: Java<br/> | |
595 | * <b>Note</b>: This string is comma separated to allow several | |
596 | * programming-language. | |
597 | * @see <a | |
598 | * href="http://usefulinc.com/ns/doap#programming-language">http://usefulinc.com/ns/doap#programming-language</a> | |
599 | * | |
600 | * @return String | |
601 | */ | |
602 | public String getProgrammingLanguage() | |
603 | { | |
604 | 0 | return this.programmingLanguage; |
605 | } //-- String getProgrammingLanguage() | |
606 | ||
607 | /** | |
608 | * Get anonymous Source Repository as URL or Maven format.<br/> | |
609 | * <b>Default value</b>: ${project.scm.connection} | |
610 | * @see <a | |
611 | * href="http://usefulinc.com/ns/doap#Repository">http://usefulinc.com/ns/doap#Repository</a> | |
612 | * @see <a | |
613 | * href="http://usefulinc.com/ns/doap#CVSRepository">http://usefulinc.com/ns/doap#CVSRepository</a> | |
614 | * @see <a | |
615 | * href="http://usefulinc.com/ns/doap#SVNRepository">http://usefulinc.com/ns/doap#SVNRepository</a> | |
616 | * | |
617 | * @return String | |
618 | */ | |
619 | public String getScmAnonymous() | |
620 | { | |
621 | 0 | return this.scmAnonymous; |
622 | } //-- String getScmAnonymous() | |
623 | ||
624 | /** | |
625 | * Get developer Source Repository as URL or Maven format.<br/> | |
626 | * <b>Default value</b>: ${project.scm.developerConnection} | |
627 | * @see <a | |
628 | * href="http://usefulinc.com/ns/doap#Repository">http://usefulinc.com/ns/doap#Repository</a> | |
629 | * @see <a | |
630 | * href="http://usefulinc.com/ns/doap#CVSRepository">http://usefulinc.com/ns/doap#CVSRepository</a> | |
631 | * @see <a | |
632 | * href="http://usefulinc.com/ns/doap#SVNRepository">http://usefulinc.com/ns/doap#SVNRepository</a> | |
633 | * | |
634 | * @return String | |
635 | */ | |
636 | public String getScmDeveloper() | |
637 | { | |
638 | 0 | return this.scmDeveloper; |
639 | } //-- String getScmDeveloper() | |
640 | ||
641 | /** | |
642 | * Get web page with screenshots of project. | |
643 | * @see <a | |
644 | * href="http://usefulinc.com/ns/doap#screenshots">http://usefulinc.com/ns/doap#screenshots</a> | |
645 | * | |
646 | * @return String | |
647 | */ | |
648 | public String getScreenshots() | |
649 | { | |
650 | 0 | return this.screenshots; |
651 | } //-- String getScreenshots() | |
652 | ||
653 | /** | |
654 | * Get uRI of a web service endpoint where software as a | |
655 | * service may be accessed. | |
656 | * @see <a | |
657 | * href="http://usefulinc.com/ns/doap#service-endpoint">http://usefulinc.com/ns/doap#service-endpoint</a> | |
658 | * | |
659 | * @return String | |
660 | */ | |
661 | public String getServiceEndpoint() | |
662 | { | |
663 | 0 | return this.serviceEndpoint; |
664 | } //-- String getServiceEndpoint() | |
665 | ||
666 | /** | |
667 | * Get short (8 or 9 words) plain text description of a | |
668 | * project.<br/> | |
669 | * <b>Default value</b>: ${project.description} | |
670 | * @see <a | |
671 | * href="http://usefulinc.com/ns/doap#shortdesc">http://usefulinc.com/ns/doap#shortdesc</a> | |
672 | * | |
673 | * @return String | |
674 | */ | |
675 | public String getShortdesc() | |
676 | { | |
677 | 0 | return this.shortdesc; |
678 | } //-- String getShortdesc() | |
679 | ||
680 | /** | |
681 | * Get vendor organization: commercial, free or otherwise.<br/> | |
682 | * <b>Default value</b>: ${project.organization.name} | |
683 | * @see <a | |
684 | * href="http://usefulinc.com/ns/doap#vendor">http://usefulinc.com/ns/doap#vendor</a> | |
685 | * | |
686 | * @return String | |
687 | */ | |
688 | public String getVendor() | |
689 | { | |
690 | 0 | return this.vendor; |
691 | } //-- String getVendor() | |
692 | ||
693 | /** | |
694 | * Get uRL of Wiki for collaborative discussion of project. | |
695 | * @see <a | |
696 | * href="http://usefulinc.com/ns/doap#wiki">http://usefulinc.com/ns/doap#wiki</a> | |
697 | * | |
698 | * @return String | |
699 | */ | |
700 | public String getWiki() | |
701 | { | |
702 | 0 | return this.wiki; |
703 | } //-- String getWiki() | |
704 | ||
705 | /** | |
706 | * Get the URI of the DOAP xmlns namespace.<br/> | |
707 | * <b>Default value</b>: http://usefulinc.com/ns/doap#. | |
708 | * | |
709 | * @return String | |
710 | */ | |
711 | public String getXmlnsNamespaceURI() | |
712 | { | |
713 | 0 | return this.xmlnsNamespaceURI; |
714 | } //-- String getXmlnsNamespaceURI() | |
715 | ||
716 | /** | |
717 | * Get the DOAP xmlns prefix. | |
718 | * | |
719 | * @return String | |
720 | */ | |
721 | public String getXmlnsPrefix() | |
722 | { | |
723 | 0 | return this.xmlnsPrefix; |
724 | } //-- String getXmlnsPrefix() | |
725 | ||
726 | /** | |
727 | * Method hashCode. | |
728 | * | |
729 | * @return int | |
730 | */ | |
731 | public int hashCode() | |
732 | { | |
733 | 0 | int result = 17; |
734 | ||
735 | 0 | result = 37 * result + ( audience != null ? audience.hashCode() : 0 ); |
736 | 0 | result = 37 * result + ( blog != null ? blog.hashCode() : 0 ); |
737 | 0 | result = 37 * result + ( bugDatabase != null ? bugDatabase.hashCode() : 0 ); |
738 | 0 | result = 37 * result + ( category != null ? category.hashCode() : 0 ); |
739 | 0 | result = 37 * result + ( created != null ? created.hashCode() : 0 ); |
740 | 0 | result = 37 * result + ( description != null ? description.hashCode() : 0 ); |
741 | 0 | result = 37 * result + ( downloadPage != null ? downloadPage.hashCode() : 0 ); |
742 | 0 | result = 37 * result + ( downloadMirror != null ? downloadMirror.hashCode() : 0 ); |
743 | 0 | result = 37 * result + ( homepage != null ? homepage.hashCode() : 0 ); |
744 | 0 | result = 37 * result + ( implementations != null ? implementations.hashCode() : 0 ); |
745 | 0 | result = 37 * result + ( language != null ? language.hashCode() : 0 ); |
746 | 0 | result = 37 * result + ( license != null ? license.hashCode() : 0 ); |
747 | 0 | result = 37 * result + ( mailingList != null ? mailingList.hashCode() : 0 ); |
748 | 0 | result = 37 * result + ( name != null ? name.hashCode() : 0 ); |
749 | 0 | result = 37 * result + ( oldHomepage != null ? oldHomepage.hashCode() : 0 ); |
750 | 0 | result = 37 * result + ( os != null ? os.hashCode() : 0 ); |
751 | 0 | result = 37 * result + ( platform != null ? platform.hashCode() : 0 ); |
752 | 0 | result = 37 * result + ( programmingLanguage != null ? programmingLanguage.hashCode() : 0 ); |
753 | 0 | result = 37 * result + ( scmAnonymous != null ? scmAnonymous.hashCode() : 0 ); |
754 | 0 | result = 37 * result + ( scmDeveloper != null ? scmDeveloper.hashCode() : 0 ); |
755 | 0 | result = 37 * result + ( screenshots != null ? screenshots.hashCode() : 0 ); |
756 | 0 | result = 37 * result + ( serviceEndpoint != null ? serviceEndpoint.hashCode() : 0 ); |
757 | 0 | result = 37 * result + ( shortdesc != null ? shortdesc.hashCode() : 0 ); |
758 | 0 | result = 37 * result + ( vendor != null ? vendor.hashCode() : 0 ); |
759 | 0 | result = 37 * result + ( wiki != null ? wiki.hashCode() : 0 ); |
760 | 0 | result = 37 * result + ( extra != null ? extra.hashCode() : 0 ); |
761 | ||
762 | 0 | return result; |
763 | } //-- int hashCode() | |
764 | ||
765 | /** | |
766 | * Set description of target user base. | |
767 | * @see <a | |
768 | * href="http://usefulinc.com/ns/doap#audience">http://usefulinc.com/ns/doap#audience</a> | |
769 | * | |
770 | * @param audience | |
771 | */ | |
772 | public void setAudience( String audience ) | |
773 | { | |
774 | 0 | this.audience = audience; |
775 | 0 | } //-- void setAudience( String ) |
776 | ||
777 | /** | |
778 | * Set uRI of a blog related to a project. | |
779 | * @see <a | |
780 | * href="http://usefulinc.com/ns/doap#blog">http://usefulinc.com/ns/doap#blog</a> | |
781 | * | |
782 | * @param blog | |
783 | */ | |
784 | public void setBlog( String blog ) | |
785 | { | |
786 | 0 | this.blog = blog; |
787 | 0 | } //-- void setBlog( String ) |
788 | ||
789 | /** | |
790 | * Set bug tracker for a project.<br/> | |
791 | * <b>Default value</b>: ${project.issueManagement.url} | |
792 | * @see <a | |
793 | * href="http://usefulinc.com/ns/doap#bug-database">http://usefulinc.com/ns/doap#bug-database</a> | |
794 | * | |
795 | * @param bugDatabase | |
796 | */ | |
797 | public void setBugDatabase( String bugDatabase ) | |
798 | { | |
799 | 0 | this.bugDatabase = bugDatabase; |
800 | 0 | } //-- void setBugDatabase( String ) |
801 | ||
802 | /** | |
803 | * Set a category of project.<br/> | |
804 | * <b>Default value</b>: library<br/> | |
805 | * <b>Note</b>: This string is comma separated to allow several | |
806 | * categories. | |
807 | * @see <a | |
808 | * href="http://usefulinc.com/ns/doap#category">http://usefulinc.com/ns/doap#category</a> | |
809 | * | |
810 | * @param category | |
811 | */ | |
812 | public void setCategory( String category ) | |
813 | { | |
814 | 0 | this.category = category; |
815 | 0 | } //-- void setCategory( String ) |
816 | ||
817 | /** | |
818 | * Set date when something was created, in YYYY-MM-DD form. | |
819 | * e.g. 2004-04-05.<br/> | |
820 | * <b>Default value</b>: ${project.inceptionYear}-01-01 | |
821 | * @see <a | |
822 | * href="http://usefulinc.com/ns/doap#created">http://usefulinc.com/ns/doap#created</a> | |
823 | * | |
824 | * @param created | |
825 | */ | |
826 | public void setCreated( String created ) | |
827 | { | |
828 | 0 | this.created = created; |
829 | 0 | } //-- void setCreated( String ) |
830 | ||
831 | /** | |
832 | * Set the project description.<br/> | |
833 | * <b>Default value</b>: ${project.description} | |
834 | * @see <a | |
835 | * href="http://usefulinc.com/ns/doap#description">http://usefulinc.com/ns/doap#description</a> | |
836 | * | |
837 | * @param description | |
838 | */ | |
839 | public void setDescription( String description ) | |
840 | { | |
841 | 0 | this.description = description; |
842 | 0 | } //-- void setDescription( String ) |
843 | ||
844 | /** | |
845 | * Set mirror of software download web page.<br/> | |
846 | * <b>Note</b>: This string is comma separated to allow several | |
847 | * mirror pages. | |
848 | * @see <a | |
849 | * href="http://usefulinc.com/ns/doap#download-mirror">http://usefulinc.com/ns/doap#download-mirror</a> | |
850 | * | |
851 | * @param downloadMirror | |
852 | */ | |
853 | public void setDownloadMirror( String downloadMirror ) | |
854 | { | |
855 | 0 | this.downloadMirror = downloadMirror; |
856 | 0 | } //-- void setDownloadMirror( String ) |
857 | ||
858 | /** | |
859 | * Set web page from which the project software can be | |
860 | * downloaded.<br/> | |
861 | * <b>Default value</b>: | |
862 | * ${project.distributionManagement.downloadUrl} | |
863 | * @see <a | |
864 | * href="http://usefulinc.com/ns/doap#download-page">http://usefulinc.com/ns/doap#download-page</a> | |
865 | * | |
866 | * @param downloadPage | |
867 | */ | |
868 | public void setDownloadPage( String downloadPage ) | |
869 | { | |
870 | 0 | this.downloadPage = downloadPage; |
871 | 0 | } //-- void setDownloadPage( String ) |
872 | ||
873 | /** | |
874 | * Set extra DOAP vocabulary as key/value, not actually defined | |
875 | * as plugin options. | |
876 | * | |
877 | * @param extra | |
878 | */ | |
879 | public void setExtra( java.util.Map extra ) | |
880 | { | |
881 | 0 | this.extra = extra; |
882 | 0 | } //-- void setExtra( java.util.Map ) |
883 | ||
884 | /** | |
885 | * Set uRL of a project's homepage, associated with exactly one | |
886 | * project.<br/> | |
887 | * <b>Default value</b>: ${project.url} | |
888 | * @see <a | |
889 | * href="http://usefulinc.com/ns/doap#homepage">http://usefulinc.com/ns/doap#homepage</a> | |
890 | * | |
891 | * @param homepage | |
892 | */ | |
893 | public void setHomepage( String homepage ) | |
894 | { | |
895 | 0 | this.homepage = homepage; |
896 | 0 | } //-- void setHomepage( String ) |
897 | ||
898 | /** | |
899 | * Set a specification that a project implements. Could be a | |
900 | * standard, API or legally defined level of conformance.<br/> | |
901 | * <b>Note</b>: This string is comma separated to allow several | |
902 | * implementations. | |
903 | * @see <a | |
904 | * href="http://usefulinc.com/ns/doap#implements">http://usefulinc.com/ns/doap#implements</a> | |
905 | * | |
906 | * @param implementations | |
907 | */ | |
908 | public void setImplementations( String implementations ) | |
909 | { | |
910 | 0 | this.implementations = implementations; |
911 | 0 | } //-- void setImplementations( String ) |
912 | ||
913 | /** | |
914 | * Set iSO language code a project has been translated into. | |
915 | * <b>Note</b>: This string is comma separated to allow several | |
916 | * languages. | |
917 | * @see <a | |
918 | * href="http://usefulinc.com/ns/doap#language">http://usefulinc.com/ns/doap#language</a> | |
919 | * | |
920 | * @param language | |
921 | */ | |
922 | public void setLanguage( String language ) | |
923 | { | |
924 | 0 | this.language = language; |
925 | 0 | } //-- void setLanguage( String ) |
926 | ||
927 | /** | |
928 | * Set the URI of an RDF description of the license the | |
929 | * software is distributed under.<br/> | |
930 | * <b>Default value</b>: ${project.licenses[0].url} | |
931 | * @see <a | |
932 | * href="http://usefulinc.com/ns/doap#license">http://usefulinc.com/ns/doap#license</a> | |
933 | * | |
934 | * @param license | |
935 | */ | |
936 | public void setLicense( String license ) | |
937 | { | |
938 | 0 | this.license = license; |
939 | 0 | } //-- void setLicense( String ) |
940 | ||
941 | /** | |
942 | * Set single web page that allows people to find out more | |
943 | * information about the mailing lists provided by the | |
944 | * project.<br/> | |
945 | * <b>Default value</b>: ${project.url}/mail-lists.html<br/> | |
946 | * <b>Note</b>: by default, the mailing list page is the one | |
947 | * generated by the Maven Project Info Reports Plugin. | |
948 | * @see <a | |
949 | * href="http://usefulinc.com/ns/doap#mailing-list">http://usefulinc.com/ns/doap#mailing-list</a> | |
950 | * | |
951 | * @param mailingList | |
952 | */ | |
953 | public void setMailingList( String mailingList ) | |
954 | { | |
955 | 0 | this.mailingList = mailingList; |
956 | 0 | } //-- void setMailingList( String ) |
957 | ||
958 | /** | |
959 | * Set the project name.<br/> | |
960 | * <b>Default value</b>: ${project.name} | |
961 | * @see <a | |
962 | * href="http://usefulinc.com/ns/doap#name">http://usefulinc.com/ns/doap#name</a> | |
963 | * | |
964 | * @param name | |
965 | */ | |
966 | public void setName( String name ) | |
967 | { | |
968 | 0 | this.name = name; |
969 | 0 | } //-- void setName( String ) |
970 | ||
971 | /** | |
972 | * Set uRL of a project's past homepage, associated with | |
973 | * exactly one project. | |
974 | * @see <a | |
975 | * href="http://usefulinc.com/ns/doap#old-homepage">http://usefulinc.com/ns/doap#old-homepage</a> | |
976 | * | |
977 | * @param oldHomepage | |
978 | */ | |
979 | public void setOldHomepage( String oldHomepage ) | |
980 | { | |
981 | 0 | this.oldHomepage = oldHomepage; |
982 | 0 | } //-- void setOldHomepage( String ) |
983 | ||
984 | /** | |
985 | * Set operating system that a project is limited to. Omit | |
986 | * this property if the project is not OS-specific.<br/> | |
987 | * <b>Note</b>: This string is comma separated to allow several | |
988 | * OS. | |
989 | * @see <a | |
990 | * href="http://usefulinc.com/ns/doap#os">http://usefulinc.com/ns/doap#os</a> | |
991 | * | |
992 | * @param os | |
993 | */ | |
994 | public void setOs( String os ) | |
995 | { | |
996 | 0 | this.os = os; |
997 | 0 | } //-- void setOs( String ) |
998 | ||
999 | /** | |
1000 | * Set indicator of software platform (non-OS specific), e.g. | |
1001 | * Java, Firefox, ECMA CLR.<br/> | |
1002 | * <b>Note</b>: This string is comma separated to allow several | |
1003 | * platforms. | |
1004 | * @see <a | |
1005 | * href="http://usefulinc.com/ns/doap#platform">http://usefulinc.com/ns/doap#platform</a> | |
1006 | * | |
1007 | * @param platform | |
1008 | */ | |
1009 | public void setPlatform( String platform ) | |
1010 | { | |
1011 | 0 | this.platform = platform; |
1012 | 0 | } //-- void setPlatform( String ) |
1013 | ||
1014 | /** | |
1015 | * Set programming language a project is implemented in or | |
1016 | * intended for use with.<br/> | |
1017 | * <b>Default value</b>: Java<br/> | |
1018 | * <b>Note</b>: This string is comma separated to allow several | |
1019 | * programming-language. | |
1020 | * @see <a | |
1021 | * href="http://usefulinc.com/ns/doap#programming-language">http://usefulinc.com/ns/doap#programming-language</a> | |
1022 | * | |
1023 | * @param programmingLanguage | |
1024 | */ | |
1025 | public void setProgrammingLanguage( String programmingLanguage ) | |
1026 | { | |
1027 | 0 | this.programmingLanguage = programmingLanguage; |
1028 | 0 | } //-- void setProgrammingLanguage( String ) |
1029 | ||
1030 | /** | |
1031 | * Set anonymous Source Repository as URL or Maven format.<br/> | |
1032 | * <b>Default value</b>: ${project.scm.connection} | |
1033 | * @see <a | |
1034 | * href="http://usefulinc.com/ns/doap#Repository">http://usefulinc.com/ns/doap#Repository</a> | |
1035 | * @see <a | |
1036 | * href="http://usefulinc.com/ns/doap#CVSRepository">http://usefulinc.com/ns/doap#CVSRepository</a> | |
1037 | * @see <a | |
1038 | * href="http://usefulinc.com/ns/doap#SVNRepository">http://usefulinc.com/ns/doap#SVNRepository</a> | |
1039 | * | |
1040 | * @param scmAnonymous | |
1041 | */ | |
1042 | public void setScmAnonymous( String scmAnonymous ) | |
1043 | { | |
1044 | 0 | this.scmAnonymous = scmAnonymous; |
1045 | 0 | } //-- void setScmAnonymous( String ) |
1046 | ||
1047 | /** | |
1048 | * Set developer Source Repository as URL or Maven format.<br/> | |
1049 | * <b>Default value</b>: ${project.scm.developerConnection} | |
1050 | * @see <a | |
1051 | * href="http://usefulinc.com/ns/doap#Repository">http://usefulinc.com/ns/doap#Repository</a> | |
1052 | * @see <a | |
1053 | * href="http://usefulinc.com/ns/doap#CVSRepository">http://usefulinc.com/ns/doap#CVSRepository</a> | |
1054 | * @see <a | |
1055 | * href="http://usefulinc.com/ns/doap#SVNRepository">http://usefulinc.com/ns/doap#SVNRepository</a> | |
1056 | * | |
1057 | * @param scmDeveloper | |
1058 | */ | |
1059 | public void setScmDeveloper( String scmDeveloper ) | |
1060 | { | |
1061 | 0 | this.scmDeveloper = scmDeveloper; |
1062 | 0 | } //-- void setScmDeveloper( String ) |
1063 | ||
1064 | /** | |
1065 | * Set web page with screenshots of project. | |
1066 | * @see <a | |
1067 | * href="http://usefulinc.com/ns/doap#screenshots">http://usefulinc.com/ns/doap#screenshots</a> | |
1068 | * | |
1069 | * @param screenshots | |
1070 | */ | |
1071 | public void setScreenshots( String screenshots ) | |
1072 | { | |
1073 | 0 | this.screenshots = screenshots; |
1074 | 0 | } //-- void setScreenshots( String ) |
1075 | ||
1076 | /** | |
1077 | * Set uRI of a web service endpoint where software as a | |
1078 | * service may be accessed. | |
1079 | * @see <a | |
1080 | * href="http://usefulinc.com/ns/doap#service-endpoint">http://usefulinc.com/ns/doap#service-endpoint</a> | |
1081 | * | |
1082 | * @param serviceEndpoint | |
1083 | */ | |
1084 | public void setServiceEndpoint( String serviceEndpoint ) | |
1085 | { | |
1086 | 0 | this.serviceEndpoint = serviceEndpoint; |
1087 | 0 | } //-- void setServiceEndpoint( String ) |
1088 | ||
1089 | /** | |
1090 | * Set short (8 or 9 words) plain text description of a | |
1091 | * project.<br/> | |
1092 | * <b>Default value</b>: ${project.description} | |
1093 | * @see <a | |
1094 | * href="http://usefulinc.com/ns/doap#shortdesc">http://usefulinc.com/ns/doap#shortdesc</a> | |
1095 | * | |
1096 | * @param shortdesc | |
1097 | */ | |
1098 | public void setShortdesc( String shortdesc ) | |
1099 | { | |
1100 | 0 | this.shortdesc = shortdesc; |
1101 | 0 | } //-- void setShortdesc( String ) |
1102 | ||
1103 | /** | |
1104 | * Set vendor organization: commercial, free or otherwise.<br/> | |
1105 | * <b>Default value</b>: ${project.organization.name} | |
1106 | * @see <a | |
1107 | * href="http://usefulinc.com/ns/doap#vendor">http://usefulinc.com/ns/doap#vendor</a> | |
1108 | * | |
1109 | * @param vendor | |
1110 | */ | |
1111 | public void setVendor( String vendor ) | |
1112 | { | |
1113 | 0 | this.vendor = vendor; |
1114 | 0 | } //-- void setVendor( String ) |
1115 | ||
1116 | /** | |
1117 | * Set uRL of Wiki for collaborative discussion of project. | |
1118 | * @see <a | |
1119 | * href="http://usefulinc.com/ns/doap#wiki">http://usefulinc.com/ns/doap#wiki</a> | |
1120 | * | |
1121 | * @param wiki | |
1122 | */ | |
1123 | public void setWiki( String wiki ) | |
1124 | { | |
1125 | 0 | this.wiki = wiki; |
1126 | 0 | } //-- void setWiki( String ) |
1127 | ||
1128 | /** | |
1129 | * Set the URI of the DOAP xmlns namespace.<br/> | |
1130 | * <b>Default value</b>: http://usefulinc.com/ns/doap#. | |
1131 | * | |
1132 | * @param xmlnsNamespaceURI | |
1133 | */ | |
1134 | public void setXmlnsNamespaceURI( String xmlnsNamespaceURI ) | |
1135 | { | |
1136 | 0 | this.xmlnsNamespaceURI = xmlnsNamespaceURI; |
1137 | 0 | } //-- void setXmlnsNamespaceURI( String ) |
1138 | ||
1139 | /** | |
1140 | * Set the DOAP xmlns prefix. | |
1141 | * | |
1142 | * @param xmlnsPrefix | |
1143 | */ | |
1144 | public void setXmlnsPrefix( String xmlnsPrefix ) | |
1145 | { | |
1146 | 0 | this.xmlnsPrefix = xmlnsPrefix; |
1147 | 0 | } //-- void setXmlnsPrefix( String ) |
1148 | ||
1149 | /** | |
1150 | * Method toString. | |
1151 | * | |
1152 | * @return String | |
1153 | */ | |
1154 | public java.lang.String toString() | |
1155 | { | |
1156 | 0 | StringBuilder buf = new StringBuilder( 128 ); |
1157 | ||
1158 | 0 | buf.append( "audience = '" ); |
1159 | 0 | buf.append( getAudience() ); |
1160 | 0 | buf.append( "'" ); |
1161 | 0 | buf.append( "\n" ); |
1162 | 0 | buf.append( "blog = '" ); |
1163 | 0 | buf.append( getBlog() ); |
1164 | 0 | buf.append( "'" ); |
1165 | 0 | buf.append( "\n" ); |
1166 | 0 | buf.append( "bugDatabase = '" ); |
1167 | 0 | buf.append( getBugDatabase() ); |
1168 | 0 | buf.append( "'" ); |
1169 | 0 | buf.append( "\n" ); |
1170 | 0 | buf.append( "category = '" ); |
1171 | 0 | buf.append( getCategory() ); |
1172 | 0 | buf.append( "'" ); |
1173 | 0 | buf.append( "\n" ); |
1174 | 0 | buf.append( "created = '" ); |
1175 | 0 | buf.append( getCreated() ); |
1176 | 0 | buf.append( "'" ); |
1177 | 0 | buf.append( "\n" ); |
1178 | 0 | buf.append( "description = '" ); |
1179 | 0 | buf.append( getDescription() ); |
1180 | 0 | buf.append( "'" ); |
1181 | 0 | buf.append( "\n" ); |
1182 | 0 | buf.append( "downloadPage = '" ); |
1183 | 0 | buf.append( getDownloadPage() ); |
1184 | 0 | buf.append( "'" ); |
1185 | 0 | buf.append( "\n" ); |
1186 | 0 | buf.append( "downloadMirror = '" ); |
1187 | 0 | buf.append( getDownloadMirror() ); |
1188 | 0 | buf.append( "'" ); |
1189 | 0 | buf.append( "\n" ); |
1190 | 0 | buf.append( "homepage = '" ); |
1191 | 0 | buf.append( getHomepage() ); |
1192 | 0 | buf.append( "'" ); |
1193 | 0 | buf.append( "\n" ); |
1194 | 0 | buf.append( "implementations = '" ); |
1195 | 0 | buf.append( getImplementations() ); |
1196 | 0 | buf.append( "'" ); |
1197 | 0 | buf.append( "\n" ); |
1198 | 0 | buf.append( "language = '" ); |
1199 | 0 | buf.append( getLanguage() ); |
1200 | 0 | buf.append( "'" ); |
1201 | 0 | buf.append( "\n" ); |
1202 | 0 | buf.append( "license = '" ); |
1203 | 0 | buf.append( getLicense() ); |
1204 | 0 | buf.append( "'" ); |
1205 | 0 | buf.append( "\n" ); |
1206 | 0 | buf.append( "mailingList = '" ); |
1207 | 0 | buf.append( getMailingList() ); |
1208 | 0 | buf.append( "'" ); |
1209 | 0 | buf.append( "\n" ); |
1210 | 0 | buf.append( "name = '" ); |
1211 | 0 | buf.append( getName() ); |
1212 | 0 | buf.append( "'" ); |
1213 | 0 | buf.append( "\n" ); |
1214 | 0 | buf.append( "oldHomepage = '" ); |
1215 | 0 | buf.append( getOldHomepage() ); |
1216 | 0 | buf.append( "'" ); |
1217 | 0 | buf.append( "\n" ); |
1218 | 0 | buf.append( "os = '" ); |
1219 | 0 | buf.append( getOs() ); |
1220 | 0 | buf.append( "'" ); |
1221 | 0 | buf.append( "\n" ); |
1222 | 0 | buf.append( "platform = '" ); |
1223 | 0 | buf.append( getPlatform() ); |
1224 | 0 | buf.append( "'" ); |
1225 | 0 | buf.append( "\n" ); |
1226 | 0 | buf.append( "programmingLanguage = '" ); |
1227 | 0 | buf.append( getProgrammingLanguage() ); |
1228 | 0 | buf.append( "'" ); |
1229 | 0 | buf.append( "\n" ); |
1230 | 0 | buf.append( "scmAnonymous = '" ); |
1231 | 0 | buf.append( getScmAnonymous() ); |
1232 | 0 | buf.append( "'" ); |
1233 | 0 | buf.append( "\n" ); |
1234 | 0 | buf.append( "scmDeveloper = '" ); |
1235 | 0 | buf.append( getScmDeveloper() ); |
1236 | 0 | buf.append( "'" ); |
1237 | 0 | buf.append( "\n" ); |
1238 | 0 | buf.append( "screenshots = '" ); |
1239 | 0 | buf.append( getScreenshots() ); |
1240 | 0 | buf.append( "'" ); |
1241 | 0 | buf.append( "\n" ); |
1242 | 0 | buf.append( "serviceEndpoint = '" ); |
1243 | 0 | buf.append( getServiceEndpoint() ); |
1244 | 0 | buf.append( "'" ); |
1245 | 0 | buf.append( "\n" ); |
1246 | 0 | buf.append( "shortdesc = '" ); |
1247 | 0 | buf.append( getShortdesc() ); |
1248 | 0 | buf.append( "'" ); |
1249 | 0 | buf.append( "\n" ); |
1250 | 0 | buf.append( "vendor = '" ); |
1251 | 0 | buf.append( getVendor() ); |
1252 | 0 | buf.append( "'" ); |
1253 | 0 | buf.append( "\n" ); |
1254 | 0 | buf.append( "wiki = '" ); |
1255 | 0 | buf.append( getWiki() ); |
1256 | 0 | buf.append( "'" ); |
1257 | 0 | buf.append( "\n" ); |
1258 | 0 | buf.append( "extra = '" ); |
1259 | 0 | buf.append( getExtra() ); |
1260 | 0 | buf.append( "'" ); |
1261 | ||
1262 | 0 | return buf.toString(); |
1263 | } //-- java.lang.String toString() | |
1264 | ||
1265 | } |