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