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