001package org.hl7.fhir.r4.model.codesystems; 002 003 004 005 006/* 007 Copyright (c) 2011+, HL7, Inc. 008 All rights reserved. 009 010 Redistribution and use in source and binary forms, with or without modification, 011 are permitted provided that the following conditions are met: 012 013 * Redistributions of source code must retain the above copyright notice, this 014 list of conditions and the following disclaimer. 015 * Redistributions in binary form must reproduce the above copyright notice, 016 this list of conditions and the following disclaimer in the documentation 017 and/or other materials provided with the distribution. 018 * Neither the name of HL7 nor the names of its contributors may be used to 019 endorse or promote products derived from this software without specific 020 prior written permission. 021 022 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 023 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 024 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 025 IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 026 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 027 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 028 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 029 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 030 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 031 POSSIBILITY OF SUCH DAMAGE. 032 033*/ 034 035// Generated on Wed, Jan 30, 2019 16:19-0500 for FHIR v4.0.0 036 037 038import org.hl7.fhir.exceptions.FHIRException; 039 040public enum SpdxLicense { 041 042 /** 043 * Not an open source license. 044 */ 045 NOTOPENSOURCE, 046 /** 047 * BSD Zero Clause License. 048 */ 049 _0BSD, 050 /** 051 * Attribution Assurance License. 052 */ 053 AAL, 054 /** 055 * Abstyles License. 056 */ 057 ABSTYLES, 058 /** 059 * Adobe Systems Incorporated Source Code License Agreement. 060 */ 061 ADOBE2006, 062 /** 063 * Adobe Glyph List License. 064 */ 065 ADOBEGLYPH, 066 /** 067 * Amazon Digital Services License. 068 */ 069 ADSL, 070 /** 071 * Academic Free License v1.1. 072 */ 073 AFL1_1, 074 /** 075 * Academic Free License v1.2. 076 */ 077 AFL1_2, 078 /** 079 * Academic Free License v2.0. 080 */ 081 AFL2_0, 082 /** 083 * Academic Free License v2.1. 084 */ 085 AFL2_1, 086 /** 087 * Academic Free License v3.0. 088 */ 089 AFL3_0, 090 /** 091 * Afmparse License. 092 */ 093 AFMPARSE, 094 /** 095 * Affero General Public License v1.0 only. 096 */ 097 AGPL1_0ONLY, 098 /** 099 * Affero General Public License v1.0 or later. 100 */ 101 AGPL1_0ORLATER, 102 /** 103 * GNU Affero General Public License v3.0 only. 104 */ 105 AGPL3_0ONLY, 106 /** 107 * GNU Affero General Public License v3.0 or later. 108 */ 109 AGPL3_0ORLATER, 110 /** 111 * Aladdin Free Public License. 112 */ 113 ALADDIN, 114 /** 115 * AMD's plpa_map.c License. 116 */ 117 AMDPLPA, 118 /** 119 * Apple MIT License. 120 */ 121 AML, 122 /** 123 * Academy of Motion Picture Arts and Sciences BSD. 124 */ 125 AMPAS, 126 /** 127 * ANTLR Software Rights Notice. 128 */ 129 ANTLRPD, 130 /** 131 * Apache License 1.0. 132 */ 133 APACHE1_0, 134 /** 135 * Apache License 1.1. 136 */ 137 APACHE1_1, 138 /** 139 * Apache License 2.0. 140 */ 141 APACHE2_0, 142 /** 143 * Adobe Postscript AFM License. 144 */ 145 APAFML, 146 /** 147 * Adaptive Public License 1.0. 148 */ 149 APL1_0, 150 /** 151 * Apple Public Source License 1.0. 152 */ 153 APSL1_0, 154 /** 155 * Apple Public Source License 1.1. 156 */ 157 APSL1_1, 158 /** 159 * Apple Public Source License 1.2. 160 */ 161 APSL1_2, 162 /** 163 * Apple Public Source License 2.0. 164 */ 165 APSL2_0, 166 /** 167 * Artistic License 1.0 w/clause 8. 168 */ 169 ARTISTIC1_0CL8, 170 /** 171 * Artistic License 1.0 (Perl). 172 */ 173 ARTISTIC1_0PERL, 174 /** 175 * Artistic License 1.0. 176 */ 177 ARTISTIC1_0, 178 /** 179 * Artistic License 2.0. 180 */ 181 ARTISTIC2_0, 182 /** 183 * Bahyph License. 184 */ 185 BAHYPH, 186 /** 187 * Barr License. 188 */ 189 BARR, 190 /** 191 * Beerware License. 192 */ 193 BEERWARE, 194 /** 195 * BitTorrent Open Source License v1.0. 196 */ 197 BITTORRENT1_0, 198 /** 199 * BitTorrent Open Source License v1.1. 200 */ 201 BITTORRENT1_1, 202 /** 203 * Borceux license. 204 */ 205 BORCEUX, 206 /** 207 * BSD 1-Clause License. 208 */ 209 BSD1CLAUSE, 210 /** 211 * BSD 2-Clause FreeBSD License. 212 */ 213 BSD2CLAUSEFREEBSD, 214 /** 215 * BSD 2-Clause NetBSD License. 216 */ 217 BSD2CLAUSENETBSD, 218 /** 219 * BSD-2-Clause Plus Patent License. 220 */ 221 BSD2CLAUSEPATENT, 222 /** 223 * BSD 2-Clause "Simplified" License. 224 */ 225 BSD2CLAUSE, 226 /** 227 * BSD with attribution. 228 */ 229 BSD3CLAUSEATTRIBUTION, 230 /** 231 * BSD 3-Clause Clear License. 232 */ 233 BSD3CLAUSECLEAR, 234 /** 235 * Lawrence Berkeley National Labs BSD variant license. 236 */ 237 BSD3CLAUSELBNL, 238 /** 239 * BSD 3-Clause No Nuclear License 2014. 240 */ 241 BSD3CLAUSENONUCLEARLICENSE2014, 242 /** 243 * BSD 3-Clause No Nuclear License. 244 */ 245 BSD3CLAUSENONUCLEARLICENSE, 246 /** 247 * BSD 3-Clause No Nuclear Warranty. 248 */ 249 BSD3CLAUSENONUCLEARWARRANTY, 250 /** 251 * BSD 3-Clause "New" or "Revised" License. 252 */ 253 BSD3CLAUSE, 254 /** 255 * BSD-4-Clause (University of California-Specific). 256 */ 257 BSD4CLAUSEUC, 258 /** 259 * BSD 4-Clause "Original" or "Old" License. 260 */ 261 BSD4CLAUSE, 262 /** 263 * BSD Protection License. 264 */ 265 BSDPROTECTION, 266 /** 267 * BSD Source Code Attribution. 268 */ 269 BSDSOURCECODE, 270 /** 271 * Boost Software License 1.0. 272 */ 273 BSL1_0, 274 /** 275 * bzip2 and libbzip2 License v1.0.5. 276 */ 277 BZIP21_0_5, 278 /** 279 * bzip2 and libbzip2 License v1.0.6. 280 */ 281 BZIP21_0_6, 282 /** 283 * Caldera License. 284 */ 285 CALDERA, 286 /** 287 * Computer Associates Trusted Open Source License 1.1. 288 */ 289 CATOSL1_1, 290 /** 291 * Creative Commons Attribution 1.0 Generic. 292 */ 293 CCBY1_0, 294 /** 295 * Creative Commons Attribution 2.0 Generic. 296 */ 297 CCBY2_0, 298 /** 299 * Creative Commons Attribution 2.5 Generic. 300 */ 301 CCBY2_5, 302 /** 303 * Creative Commons Attribution 3.0 Unported. 304 */ 305 CCBY3_0, 306 /** 307 * Creative Commons Attribution 4.0 International. 308 */ 309 CCBY4_0, 310 /** 311 * Creative Commons Attribution Non Commercial 1.0 Generic. 312 */ 313 CCBYNC1_0, 314 /** 315 * Creative Commons Attribution Non Commercial 2.0 Generic. 316 */ 317 CCBYNC2_0, 318 /** 319 * Creative Commons Attribution Non Commercial 2.5 Generic. 320 */ 321 CCBYNC2_5, 322 /** 323 * Creative Commons Attribution Non Commercial 3.0 Unported. 324 */ 325 CCBYNC3_0, 326 /** 327 * Creative Commons Attribution Non Commercial 4.0 International. 328 */ 329 CCBYNC4_0, 330 /** 331 * Creative Commons Attribution Non Commercial No Derivatives 1.0 Generic. 332 */ 333 CCBYNCND1_0, 334 /** 335 * Creative Commons Attribution Non Commercial No Derivatives 2.0 Generic. 336 */ 337 CCBYNCND2_0, 338 /** 339 * Creative Commons Attribution Non Commercial No Derivatives 2.5 Generic. 340 */ 341 CCBYNCND2_5, 342 /** 343 * Creative Commons Attribution Non Commercial No Derivatives 3.0 Unported. 344 */ 345 CCBYNCND3_0, 346 /** 347 * Creative Commons Attribution Non Commercial No Derivatives 4.0 International. 348 */ 349 CCBYNCND4_0, 350 /** 351 * Creative Commons Attribution Non Commercial Share Alike 1.0 Generic. 352 */ 353 CCBYNCSA1_0, 354 /** 355 * Creative Commons Attribution Non Commercial Share Alike 2.0 Generic. 356 */ 357 CCBYNCSA2_0, 358 /** 359 * Creative Commons Attribution Non Commercial Share Alike 2.5 Generic. 360 */ 361 CCBYNCSA2_5, 362 /** 363 * Creative Commons Attribution Non Commercial Share Alike 3.0 Unported. 364 */ 365 CCBYNCSA3_0, 366 /** 367 * Creative Commons Attribution Non Commercial Share Alike 4.0 International. 368 */ 369 CCBYNCSA4_0, 370 /** 371 * Creative Commons Attribution No Derivatives 1.0 Generic. 372 */ 373 CCBYND1_0, 374 /** 375 * Creative Commons Attribution No Derivatives 2.0 Generic. 376 */ 377 CCBYND2_0, 378 /** 379 * Creative Commons Attribution No Derivatives 2.5 Generic. 380 */ 381 CCBYND2_5, 382 /** 383 * Creative Commons Attribution No Derivatives 3.0 Unported. 384 */ 385 CCBYND3_0, 386 /** 387 * Creative Commons Attribution No Derivatives 4.0 International. 388 */ 389 CCBYND4_0, 390 /** 391 * Creative Commons Attribution Share Alike 1.0 Generic. 392 */ 393 CCBYSA1_0, 394 /** 395 * Creative Commons Attribution Share Alike 2.0 Generic. 396 */ 397 CCBYSA2_0, 398 /** 399 * Creative Commons Attribution Share Alike 2.5 Generic. 400 */ 401 CCBYSA2_5, 402 /** 403 * Creative Commons Attribution Share Alike 3.0 Unported. 404 */ 405 CCBYSA3_0, 406 /** 407 * Creative Commons Attribution Share Alike 4.0 International. 408 */ 409 CCBYSA4_0, 410 /** 411 * Creative Commons Zero v1.0 Universal. 412 */ 413 CC01_0, 414 /** 415 * Common Development and Distribution License 1.0. 416 */ 417 CDDL1_0, 418 /** 419 * Common Development and Distribution License 1.1. 420 */ 421 CDDL1_1, 422 /** 423 * Community Data License Agreement Permissive 1.0. 424 */ 425 CDLAPERMISSIVE1_0, 426 /** 427 * Community Data License Agreement Sharing 1.0. 428 */ 429 CDLASHARING1_0, 430 /** 431 * CeCILL Free Software License Agreement v1.0. 432 */ 433 CECILL1_0, 434 /** 435 * CeCILL Free Software License Agreement v1.1. 436 */ 437 CECILL1_1, 438 /** 439 * CeCILL Free Software License Agreement v2.0. 440 */ 441 CECILL2_0, 442 /** 443 * CeCILL Free Software License Agreement v2.1. 444 */ 445 CECILL2_1, 446 /** 447 * CeCILL-B Free Software License Agreement. 448 */ 449 CECILLB, 450 /** 451 * CeCILL-C Free Software License Agreement. 452 */ 453 CECILLC, 454 /** 455 * Clarified Artistic License. 456 */ 457 CLARTISTIC, 458 /** 459 * CNRI Jython License. 460 */ 461 CNRIJYTHON, 462 /** 463 * CNRI Python Open Source GPL Compatible License Agreement. 464 */ 465 CNRIPYTHONGPLCOMPATIBLE, 466 /** 467 * CNRI Python License. 468 */ 469 CNRIPYTHON, 470 /** 471 * Condor Public License v1.1. 472 */ 473 CONDOR1_1, 474 /** 475 * Common Public Attribution License 1.0. 476 */ 477 CPAL1_0, 478 /** 479 * Common Public License 1.0. 480 */ 481 CPL1_0, 482 /** 483 * Code Project Open License 1.02. 484 */ 485 CPOL1_02, 486 /** 487 * Crossword License. 488 */ 489 CROSSWORD, 490 /** 491 * CrystalStacker License. 492 */ 493 CRYSTALSTACKER, 494 /** 495 * CUA Office Public License v1.0. 496 */ 497 CUAOPL1_0, 498 /** 499 * Cube License. 500 */ 501 CUBE, 502 /** 503 * curl License. 504 */ 505 CURL, 506 /** 507 * Deutsche Freie Software Lizenz. 508 */ 509 DFSL1_0, 510 /** 511 * diffmark license. 512 */ 513 DIFFMARK, 514 /** 515 * DOC License. 516 */ 517 DOC, 518 /** 519 * Dotseqn License. 520 */ 521 DOTSEQN, 522 /** 523 * DSDP License. 524 */ 525 DSDP, 526 /** 527 * dvipdfm License. 528 */ 529 DVIPDFM, 530 /** 531 * Educational Community License v1.0. 532 */ 533 ECL1_0, 534 /** 535 * Educational Community License v2.0. 536 */ 537 ECL2_0, 538 /** 539 * Eiffel Forum License v1.0. 540 */ 541 EFL1_0, 542 /** 543 * Eiffel Forum License v2.0. 544 */ 545 EFL2_0, 546 /** 547 * eGenix.com Public License 1.1.0. 548 */ 549 EGENIX, 550 /** 551 * Entessa Public License v1.0. 552 */ 553 ENTESSA, 554 /** 555 * Eclipse Public License 1.0. 556 */ 557 EPL1_0, 558 /** 559 * Eclipse Public License 2.0. 560 */ 561 EPL2_0, 562 /** 563 * Erlang Public License v1.1. 564 */ 565 ERLPL1_1, 566 /** 567 * EU DataGrid Software License. 568 */ 569 EUDATAGRID, 570 /** 571 * European Union Public License 1.0. 572 */ 573 EUPL1_0, 574 /** 575 * European Union Public License 1.1. 576 */ 577 EUPL1_1, 578 /** 579 * European Union Public License 1.2. 580 */ 581 EUPL1_2, 582 /** 583 * Eurosym License. 584 */ 585 EUROSYM, 586 /** 587 * Fair License. 588 */ 589 FAIR, 590 /** 591 * Frameworx Open License 1.0. 592 */ 593 FRAMEWORX1_0, 594 /** 595 * FreeImage Public License v1.0. 596 */ 597 FREEIMAGE, 598 /** 599 * FSF All Permissive License. 600 */ 601 FSFAP, 602 /** 603 * FSF Unlimited License. 604 */ 605 FSFUL, 606 /** 607 * FSF Unlimited License (with License Retention). 608 */ 609 FSFULLR, 610 /** 611 * Freetype Project License. 612 */ 613 FTL, 614 /** 615 * GNU Free Documentation License v1.1 only. 616 */ 617 GFDL1_1ONLY, 618 /** 619 * GNU Free Documentation License v1.1 or later. 620 */ 621 GFDL1_1ORLATER, 622 /** 623 * GNU Free Documentation License v1.2 only. 624 */ 625 GFDL1_2ONLY, 626 /** 627 * GNU Free Documentation License v1.2 or later. 628 */ 629 GFDL1_2ORLATER, 630 /** 631 * GNU Free Documentation License v1.3 only. 632 */ 633 GFDL1_3ONLY, 634 /** 635 * GNU Free Documentation License v1.3 or later. 636 */ 637 GFDL1_3ORLATER, 638 /** 639 * Giftware License. 640 */ 641 GIFTWARE, 642 /** 643 * GL2PS License. 644 */ 645 GL2PS, 646 /** 647 * 3dfx Glide License. 648 */ 649 GLIDE, 650 /** 651 * Glulxe License. 652 */ 653 GLULXE, 654 /** 655 * gnuplot License. 656 */ 657 GNUPLOT, 658 /** 659 * GNU General Public License v1.0 only. 660 */ 661 GPL1_0ONLY, 662 /** 663 * GNU General Public License v1.0 or later. 664 */ 665 GPL1_0ORLATER, 666 /** 667 * GNU General Public License v2.0 only. 668 */ 669 GPL2_0ONLY, 670 /** 671 * GNU General Public License v2.0 or later. 672 */ 673 GPL2_0ORLATER, 674 /** 675 * GNU General Public License v3.0 only. 676 */ 677 GPL3_0ONLY, 678 /** 679 * GNU General Public License v3.0 or later. 680 */ 681 GPL3_0ORLATER, 682 /** 683 * gSOAP Public License v1.3b. 684 */ 685 GSOAP1_3B, 686 /** 687 * Haskell Language Report License. 688 */ 689 HASKELLREPORT, 690 /** 691 * Historical Permission Notice and Disclaimer. 692 */ 693 HPND, 694 /** 695 * IBM PowerPC Initialization and Boot Software. 696 */ 697 IBMPIBS, 698 /** 699 * ICU License. 700 */ 701 ICU, 702 /** 703 * Independent JPEG Group License. 704 */ 705 IJG, 706 /** 707 * ImageMagick License. 708 */ 709 IMAGEMAGICK, 710 /** 711 * iMatix Standard Function Library Agreement. 712 */ 713 IMATIX, 714 /** 715 * Imlib2 License. 716 */ 717 IMLIB2, 718 /** 719 * Info-ZIP License. 720 */ 721 INFOZIP, 722 /** 723 * Intel ACPI Software License Agreement. 724 */ 725 INTELACPI, 726 /** 727 * Intel Open Source License. 728 */ 729 INTEL, 730 /** 731 * Interbase Public License v1.0. 732 */ 733 INTERBASE1_0, 734 /** 735 * IPA Font License. 736 */ 737 IPA, 738 /** 739 * IBM Public License v1.0. 740 */ 741 IPL1_0, 742 /** 743 * ISC License. 744 */ 745 ISC, 746 /** 747 * JasPer License. 748 */ 749 JASPER2_0, 750 /** 751 * JSON License. 752 */ 753 JSON, 754 /** 755 * Licence Art Libre 1.2. 756 */ 757 LAL1_2, 758 /** 759 * Licence Art Libre 1.3. 760 */ 761 LAL1_3, 762 /** 763 * Latex2e License. 764 */ 765 LATEX2E, 766 /** 767 * Leptonica License. 768 */ 769 LEPTONICA, 770 /** 771 * GNU Library General Public License v2 only. 772 */ 773 LGPL2_0ONLY, 774 /** 775 * GNU Library General Public License v2 or later. 776 */ 777 LGPL2_0ORLATER, 778 /** 779 * GNU Lesser General Public License v2.1 only. 780 */ 781 LGPL2_1ONLY, 782 /** 783 * GNU Lesser General Public License v2.1 or later. 784 */ 785 LGPL2_1ORLATER, 786 /** 787 * GNU Lesser General Public License v3.0 only. 788 */ 789 LGPL3_0ONLY, 790 /** 791 * GNU Lesser General Public License v3.0 or later. 792 */ 793 LGPL3_0ORLATER, 794 /** 795 * Lesser General Public License For Linguistic Resources. 796 */ 797 LGPLLR, 798 /** 799 * libpng License. 800 */ 801 LIBPNG, 802 /** 803 * libtiff License. 804 */ 805 LIBTIFF, 806 /** 807 * Licence Libre du Québec – Permissive version 1.1. 808 */ 809 LILIQP1_1, 810 /** 811 * Licence Libre du Québec – Réciprocité version 1.1. 812 */ 813 LILIQR1_1, 814 /** 815 * Licence Libre du Québec – Réciprocité forte version 1.1. 816 */ 817 LILIQRPLUS1_1, 818 /** 819 * Linux Kernel Variant of OpenIB.org license. 820 */ 821 LINUXOPENIB, 822 /** 823 * Lucent Public License Version 1.0. 824 */ 825 LPL1_0, 826 /** 827 * Lucent Public License v1.02. 828 */ 829 LPL1_02, 830 /** 831 * LaTeX Project Public License v1.0. 832 */ 833 LPPL1_0, 834 /** 835 * LaTeX Project Public License v1.1. 836 */ 837 LPPL1_1, 838 /** 839 * LaTeX Project Public License v1.2. 840 */ 841 LPPL1_2, 842 /** 843 * LaTeX Project Public License v1.3a. 844 */ 845 LPPL1_3A, 846 /** 847 * LaTeX Project Public License v1.3c. 848 */ 849 LPPL1_3C, 850 /** 851 * MakeIndex License. 852 */ 853 MAKEINDEX, 854 /** 855 * MirOS License. 856 */ 857 MIROS, 858 /** 859 * MIT No Attribution. 860 */ 861 MIT0, 862 /** 863 * Enlightenment License (e16). 864 */ 865 MITADVERTISING, 866 /** 867 * CMU License. 868 */ 869 MITCMU, 870 /** 871 * enna License. 872 */ 873 MITENNA, 874 /** 875 * feh License. 876 */ 877 MITFEH, 878 /** 879 * MIT License. 880 */ 881 MIT, 882 /** 883 * MIT +no-false-attribs license. 884 */ 885 MITNFA, 886 /** 887 * Motosoto License. 888 */ 889 MOTOSOTO, 890 /** 891 * mpich2 License. 892 */ 893 MPICH2, 894 /** 895 * Mozilla Public License 1.0. 896 */ 897 MPL1_0, 898 /** 899 * Mozilla Public License 1.1. 900 */ 901 MPL1_1, 902 /** 903 * Mozilla Public License 2.0 (no copyleft exception). 904 */ 905 MPL2_0NOCOPYLEFTEXCEPTION, 906 /** 907 * Mozilla Public License 2.0. 908 */ 909 MPL2_0, 910 /** 911 * Microsoft Public License. 912 */ 913 MSPL, 914 /** 915 * Microsoft Reciprocal License. 916 */ 917 MSRL, 918 /** 919 * Matrix Template Library License. 920 */ 921 MTLL, 922 /** 923 * Multics License. 924 */ 925 MULTICS, 926 /** 927 * Mup License. 928 */ 929 MUP, 930 /** 931 * NASA Open Source Agreement 1.3. 932 */ 933 NASA1_3, 934 /** 935 * Naumen Public License. 936 */ 937 NAUMEN, 938 /** 939 * Net Boolean Public License v1. 940 */ 941 NBPL1_0, 942 /** 943 * University of Illinois/NCSA Open Source License. 944 */ 945 NCSA, 946 /** 947 * Net-SNMP License. 948 */ 949 NETSNMP, 950 /** 951 * NetCDF license. 952 */ 953 NETCDF, 954 /** 955 * Newsletr License. 956 */ 957 NEWSLETR, 958 /** 959 * Nethack General Public License. 960 */ 961 NGPL, 962 /** 963 * Norwegian Licence for Open Government Data. 964 */ 965 NLOD1_0, 966 /** 967 * No Limit Public License. 968 */ 969 NLPL, 970 /** 971 * Nokia Open Source License. 972 */ 973 NOKIA, 974 /** 975 * Netizen Open Source License. 976 */ 977 NOSL, 978 /** 979 * Noweb License. 980 */ 981 NOWEB, 982 /** 983 * Netscape Public License v1.0. 984 */ 985 NPL1_0, 986 /** 987 * Netscape Public License v1.1. 988 */ 989 NPL1_1, 990 /** 991 * Non-Profit Open Software License 3.0. 992 */ 993 NPOSL3_0, 994 /** 995 * NRL License. 996 */ 997 NRL, 998 /** 999 * NTP License. 1000 */ 1001 NTP, 1002 /** 1003 * Open CASCADE Technology Public License. 1004 */ 1005 OCCTPL, 1006 /** 1007 * OCLC Research Public License 2.0. 1008 */ 1009 OCLC2_0, 1010 /** 1011 * ODC Open Database License v1.0. 1012 */ 1013 ODBL1_0, 1014 /** 1015 * SIL Open Font License 1.0. 1016 */ 1017 OFL1_0, 1018 /** 1019 * SIL Open Font License 1.1. 1020 */ 1021 OFL1_1, 1022 /** 1023 * Open Group Test Suite License. 1024 */ 1025 OGTSL, 1026 /** 1027 * Open LDAP Public License v1.1. 1028 */ 1029 OLDAP1_1, 1030 /** 1031 * Open LDAP Public License v1.2. 1032 */ 1033 OLDAP1_2, 1034 /** 1035 * Open LDAP Public License v1.3. 1036 */ 1037 OLDAP1_3, 1038 /** 1039 * Open LDAP Public License v1.4. 1040 */ 1041 OLDAP1_4, 1042 /** 1043 * Open LDAP Public License v2.0.1. 1044 */ 1045 OLDAP2_0_1, 1046 /** 1047 * Open LDAP Public License v2.0 (or possibly 2.0A and 2.0B). 1048 */ 1049 OLDAP2_0, 1050 /** 1051 * Open LDAP Public License v2.1. 1052 */ 1053 OLDAP2_1, 1054 /** 1055 * Open LDAP Public License v2.2.1. 1056 */ 1057 OLDAP2_2_1, 1058 /** 1059 * Open LDAP Public License 2.2.2. 1060 */ 1061 OLDAP2_2_2, 1062 /** 1063 * Open LDAP Public License v2.2. 1064 */ 1065 OLDAP2_2, 1066 /** 1067 * Open LDAP Public License v2.3. 1068 */ 1069 OLDAP2_3, 1070 /** 1071 * Open LDAP Public License v2.4. 1072 */ 1073 OLDAP2_4, 1074 /** 1075 * Open LDAP Public License v2.5. 1076 */ 1077 OLDAP2_5, 1078 /** 1079 * Open LDAP Public License v2.6. 1080 */ 1081 OLDAP2_6, 1082 /** 1083 * Open LDAP Public License v2.7. 1084 */ 1085 OLDAP2_7, 1086 /** 1087 * Open LDAP Public License v2.8. 1088 */ 1089 OLDAP2_8, 1090 /** 1091 * Open Market License. 1092 */ 1093 OML, 1094 /** 1095 * OpenSSL License. 1096 */ 1097 OPENSSL, 1098 /** 1099 * Open Public License v1.0. 1100 */ 1101 OPL1_0, 1102 /** 1103 * OSET Public License version 2.1. 1104 */ 1105 OSETPL2_1, 1106 /** 1107 * Open Software License 1.0. 1108 */ 1109 OSL1_0, 1110 /** 1111 * Open Software License 1.1. 1112 */ 1113 OSL1_1, 1114 /** 1115 * Open Software License 2.0. 1116 */ 1117 OSL2_0, 1118 /** 1119 * Open Software License 2.1. 1120 */ 1121 OSL2_1, 1122 /** 1123 * Open Software License 3.0. 1124 */ 1125 OSL3_0, 1126 /** 1127 * ODC Public Domain Dedication & License 1.0. 1128 */ 1129 PDDL1_0, 1130 /** 1131 * PHP License v3.0. 1132 */ 1133 PHP3_0, 1134 /** 1135 * PHP License v3.01. 1136 */ 1137 PHP3_01, 1138 /** 1139 * Plexus Classworlds License. 1140 */ 1141 PLEXUS, 1142 /** 1143 * PostgreSQL License. 1144 */ 1145 POSTGRESQL, 1146 /** 1147 * psfrag License. 1148 */ 1149 PSFRAG, 1150 /** 1151 * psutils License. 1152 */ 1153 PSUTILS, 1154 /** 1155 * Python License 2.0. 1156 */ 1157 PYTHON2_0, 1158 /** 1159 * Qhull License. 1160 */ 1161 QHULL, 1162 /** 1163 * Q Public License 1.0. 1164 */ 1165 QPL1_0, 1166 /** 1167 * Rdisc License. 1168 */ 1169 RDISC, 1170 /** 1171 * Red Hat eCos Public License v1.1. 1172 */ 1173 RHECOS1_1, 1174 /** 1175 * Reciprocal Public License 1.1. 1176 */ 1177 RPL1_1, 1178 /** 1179 * Reciprocal Public License 1.5. 1180 */ 1181 RPL1_5, 1182 /** 1183 * RealNetworks Public Source License v1.0. 1184 */ 1185 RPSL1_0, 1186 /** 1187 * RSA Message-Digest License. 1188 */ 1189 RSAMD, 1190 /** 1191 * Ricoh Source Code Public License. 1192 */ 1193 RSCPL, 1194 /** 1195 * Ruby License. 1196 */ 1197 RUBY, 1198 /** 1199 * Sax Public Domain Notice. 1200 */ 1201 SAXPD, 1202 /** 1203 * Saxpath License. 1204 */ 1205 SAXPATH, 1206 /** 1207 * SCEA Shared Source License. 1208 */ 1209 SCEA, 1210 /** 1211 * Sendmail License. 1212 */ 1213 SENDMAIL, 1214 /** 1215 * SGI Free Software License B v1.0. 1216 */ 1217 SGIB1_0, 1218 /** 1219 * SGI Free Software License B v1.1. 1220 */ 1221 SGIB1_1, 1222 /** 1223 * SGI Free Software License B v2.0. 1224 */ 1225 SGIB2_0, 1226 /** 1227 * Simple Public License 2.0. 1228 */ 1229 SIMPL2_0, 1230 /** 1231 * Sun Industry Standards Source License v1.2. 1232 */ 1233 SISSL1_2, 1234 /** 1235 * Sun Industry Standards Source License v1.1. 1236 */ 1237 SISSL, 1238 /** 1239 * Sleepycat License. 1240 */ 1241 SLEEPYCAT, 1242 /** 1243 * Standard ML of New Jersey License. 1244 */ 1245 SMLNJ, 1246 /** 1247 * Secure Messaging Protocol Public License. 1248 */ 1249 SMPPL, 1250 /** 1251 * SNIA Public License 1.1. 1252 */ 1253 SNIA, 1254 /** 1255 * Spencer License 86. 1256 */ 1257 SPENCER86, 1258 /** 1259 * Spencer License 94. 1260 */ 1261 SPENCER94, 1262 /** 1263 * Spencer License 99. 1264 */ 1265 SPENCER99, 1266 /** 1267 * Sun Public License v1.0. 1268 */ 1269 SPL1_0, 1270 /** 1271 * SugarCRM Public License v1.1.3. 1272 */ 1273 SUGARCRM1_1_3, 1274 /** 1275 * Scheme Widget Library (SWL) Software License Agreement. 1276 */ 1277 SWL, 1278 /** 1279 * TCL/TK License. 1280 */ 1281 TCL, 1282 /** 1283 * TCP Wrappers License. 1284 */ 1285 TCPWRAPPERS, 1286 /** 1287 * TMate Open Source License. 1288 */ 1289 TMATE, 1290 /** 1291 * TORQUE v2.5+ Software License v1.1. 1292 */ 1293 TORQUE1_1, 1294 /** 1295 * Trusster Open Source License. 1296 */ 1297 TOSL, 1298 /** 1299 * Unicode License Agreement - Data Files and Software (2015). 1300 */ 1301 UNICODEDFS2015, 1302 /** 1303 * Unicode License Agreement - Data Files and Software (2016). 1304 */ 1305 UNICODEDFS2016, 1306 /** 1307 * Unicode Terms of Use. 1308 */ 1309 UNICODETOU, 1310 /** 1311 * The Unlicense. 1312 */ 1313 UNLICENSE, 1314 /** 1315 * Universal Permissive License v1.0. 1316 */ 1317 UPL1_0, 1318 /** 1319 * Vim License. 1320 */ 1321 VIM, 1322 /** 1323 * VOSTROM Public License for Open Source. 1324 */ 1325 VOSTROM, 1326 /** 1327 * Vovida Software License v1.0. 1328 */ 1329 VSL1_0, 1330 /** 1331 * W3C Software Notice and License (1998-07-20). 1332 */ 1333 W3C19980720, 1334 /** 1335 * W3C Software Notice and Document License (2015-05-13). 1336 */ 1337 W3C20150513, 1338 /** 1339 * W3C Software Notice and License (2002-12-31). 1340 */ 1341 W3C, 1342 /** 1343 * Sybase Open Watcom Public License 1.0. 1344 */ 1345 WATCOM1_0, 1346 /** 1347 * Wsuipa License. 1348 */ 1349 WSUIPA, 1350 /** 1351 * Do What The F*ck You Want To Public License. 1352 */ 1353 WTFPL, 1354 /** 1355 * X11 License. 1356 */ 1357 X11, 1358 /** 1359 * Xerox License. 1360 */ 1361 XEROX, 1362 /** 1363 * XFree86 License 1.1. 1364 */ 1365 XFREE861_1, 1366 /** 1367 * xinetd License. 1368 */ 1369 XINETD, 1370 /** 1371 * X.Net License. 1372 */ 1373 XNET, 1374 /** 1375 * XPP License. 1376 */ 1377 XPP, 1378 /** 1379 * XSkat License. 1380 */ 1381 XSKAT, 1382 /** 1383 * Yahoo! Public License v1.0. 1384 */ 1385 YPL1_0, 1386 /** 1387 * Yahoo! Public License v1.1. 1388 */ 1389 YPL1_1, 1390 /** 1391 * Zed License. 1392 */ 1393 ZED, 1394 /** 1395 * Zend License v2.0. 1396 */ 1397 ZEND2_0, 1398 /** 1399 * Zimbra Public License v1.3. 1400 */ 1401 ZIMBRA1_3, 1402 /** 1403 * Zimbra Public License v1.4. 1404 */ 1405 ZIMBRA1_4, 1406 /** 1407 * zlib/libpng License with Acknowledgement. 1408 */ 1409 ZLIBACKNOWLEDGEMENT, 1410 /** 1411 * zlib License. 1412 */ 1413 ZLIB, 1414 /** 1415 * Zope Public License 1.1. 1416 */ 1417 ZPL1_1, 1418 /** 1419 * Zope Public License 2.0. 1420 */ 1421 ZPL2_0, 1422 /** 1423 * Zope Public License 2.1. 1424 */ 1425 ZPL2_1, 1426 /** 1427 * added to help the parsers 1428 */ 1429 NULL; 1430 public static SpdxLicense fromCode(String codeString) throws FHIRException { 1431 if (codeString == null || "".equals(codeString)) 1432 return null; 1433 if ("not-open-source".equals(codeString)) 1434 return NOTOPENSOURCE; 1435 if ("0BSD".equals(codeString)) 1436 return _0BSD; 1437 if ("AAL".equals(codeString)) 1438 return AAL; 1439 if ("Abstyles".equals(codeString)) 1440 return ABSTYLES; 1441 if ("Adobe-2006".equals(codeString)) 1442 return ADOBE2006; 1443 if ("Adobe-Glyph".equals(codeString)) 1444 return ADOBEGLYPH; 1445 if ("ADSL".equals(codeString)) 1446 return ADSL; 1447 if ("AFL-1.1".equals(codeString)) 1448 return AFL1_1; 1449 if ("AFL-1.2".equals(codeString)) 1450 return AFL1_2; 1451 if ("AFL-2.0".equals(codeString)) 1452 return AFL2_0; 1453 if ("AFL-2.1".equals(codeString)) 1454 return AFL2_1; 1455 if ("AFL-3.0".equals(codeString)) 1456 return AFL3_0; 1457 if ("Afmparse".equals(codeString)) 1458 return AFMPARSE; 1459 if ("AGPL-1.0-only".equals(codeString)) 1460 return AGPL1_0ONLY; 1461 if ("AGPL-1.0-or-later".equals(codeString)) 1462 return AGPL1_0ORLATER; 1463 if ("AGPL-3.0-only".equals(codeString)) 1464 return AGPL3_0ONLY; 1465 if ("AGPL-3.0-or-later".equals(codeString)) 1466 return AGPL3_0ORLATER; 1467 if ("Aladdin".equals(codeString)) 1468 return ALADDIN; 1469 if ("AMDPLPA".equals(codeString)) 1470 return AMDPLPA; 1471 if ("AML".equals(codeString)) 1472 return AML; 1473 if ("AMPAS".equals(codeString)) 1474 return AMPAS; 1475 if ("ANTLR-PD".equals(codeString)) 1476 return ANTLRPD; 1477 if ("Apache-1.0".equals(codeString)) 1478 return APACHE1_0; 1479 if ("Apache-1.1".equals(codeString)) 1480 return APACHE1_1; 1481 if ("Apache-2.0".equals(codeString)) 1482 return APACHE2_0; 1483 if ("APAFML".equals(codeString)) 1484 return APAFML; 1485 if ("APL-1.0".equals(codeString)) 1486 return APL1_0; 1487 if ("APSL-1.0".equals(codeString)) 1488 return APSL1_0; 1489 if ("APSL-1.1".equals(codeString)) 1490 return APSL1_1; 1491 if ("APSL-1.2".equals(codeString)) 1492 return APSL1_2; 1493 if ("APSL-2.0".equals(codeString)) 1494 return APSL2_0; 1495 if ("Artistic-1.0-cl8".equals(codeString)) 1496 return ARTISTIC1_0CL8; 1497 if ("Artistic-1.0-Perl".equals(codeString)) 1498 return ARTISTIC1_0PERL; 1499 if ("Artistic-1.0".equals(codeString)) 1500 return ARTISTIC1_0; 1501 if ("Artistic-2.0".equals(codeString)) 1502 return ARTISTIC2_0; 1503 if ("Bahyph".equals(codeString)) 1504 return BAHYPH; 1505 if ("Barr".equals(codeString)) 1506 return BARR; 1507 if ("Beerware".equals(codeString)) 1508 return BEERWARE; 1509 if ("BitTorrent-1.0".equals(codeString)) 1510 return BITTORRENT1_0; 1511 if ("BitTorrent-1.1".equals(codeString)) 1512 return BITTORRENT1_1; 1513 if ("Borceux".equals(codeString)) 1514 return BORCEUX; 1515 if ("BSD-1-Clause".equals(codeString)) 1516 return BSD1CLAUSE; 1517 if ("BSD-2-Clause-FreeBSD".equals(codeString)) 1518 return BSD2CLAUSEFREEBSD; 1519 if ("BSD-2-Clause-NetBSD".equals(codeString)) 1520 return BSD2CLAUSENETBSD; 1521 if ("BSD-2-Clause-Patent".equals(codeString)) 1522 return BSD2CLAUSEPATENT; 1523 if ("BSD-2-Clause".equals(codeString)) 1524 return BSD2CLAUSE; 1525 if ("BSD-3-Clause-Attribution".equals(codeString)) 1526 return BSD3CLAUSEATTRIBUTION; 1527 if ("BSD-3-Clause-Clear".equals(codeString)) 1528 return BSD3CLAUSECLEAR; 1529 if ("BSD-3-Clause-LBNL".equals(codeString)) 1530 return BSD3CLAUSELBNL; 1531 if ("BSD-3-Clause-No-Nuclear-License-2014".equals(codeString)) 1532 return BSD3CLAUSENONUCLEARLICENSE2014; 1533 if ("BSD-3-Clause-No-Nuclear-License".equals(codeString)) 1534 return BSD3CLAUSENONUCLEARLICENSE; 1535 if ("BSD-3-Clause-No-Nuclear-Warranty".equals(codeString)) 1536 return BSD3CLAUSENONUCLEARWARRANTY; 1537 if ("BSD-3-Clause".equals(codeString)) 1538 return BSD3CLAUSE; 1539 if ("BSD-4-Clause-UC".equals(codeString)) 1540 return BSD4CLAUSEUC; 1541 if ("BSD-4-Clause".equals(codeString)) 1542 return BSD4CLAUSE; 1543 if ("BSD-Protection".equals(codeString)) 1544 return BSDPROTECTION; 1545 if ("BSD-Source-Code".equals(codeString)) 1546 return BSDSOURCECODE; 1547 if ("BSL-1.0".equals(codeString)) 1548 return BSL1_0; 1549 if ("bzip2-1.0.5".equals(codeString)) 1550 return BZIP21_0_5; 1551 if ("bzip2-1.0.6".equals(codeString)) 1552 return BZIP21_0_6; 1553 if ("Caldera".equals(codeString)) 1554 return CALDERA; 1555 if ("CATOSL-1.1".equals(codeString)) 1556 return CATOSL1_1; 1557 if ("CC-BY-1.0".equals(codeString)) 1558 return CCBY1_0; 1559 if ("CC-BY-2.0".equals(codeString)) 1560 return CCBY2_0; 1561 if ("CC-BY-2.5".equals(codeString)) 1562 return CCBY2_5; 1563 if ("CC-BY-3.0".equals(codeString)) 1564 return CCBY3_0; 1565 if ("CC-BY-4.0".equals(codeString)) 1566 return CCBY4_0; 1567 if ("CC-BY-NC-1.0".equals(codeString)) 1568 return CCBYNC1_0; 1569 if ("CC-BY-NC-2.0".equals(codeString)) 1570 return CCBYNC2_0; 1571 if ("CC-BY-NC-2.5".equals(codeString)) 1572 return CCBYNC2_5; 1573 if ("CC-BY-NC-3.0".equals(codeString)) 1574 return CCBYNC3_0; 1575 if ("CC-BY-NC-4.0".equals(codeString)) 1576 return CCBYNC4_0; 1577 if ("CC-BY-NC-ND-1.0".equals(codeString)) 1578 return CCBYNCND1_0; 1579 if ("CC-BY-NC-ND-2.0".equals(codeString)) 1580 return CCBYNCND2_0; 1581 if ("CC-BY-NC-ND-2.5".equals(codeString)) 1582 return CCBYNCND2_5; 1583 if ("CC-BY-NC-ND-3.0".equals(codeString)) 1584 return CCBYNCND3_0; 1585 if ("CC-BY-NC-ND-4.0".equals(codeString)) 1586 return CCBYNCND4_0; 1587 if ("CC-BY-NC-SA-1.0".equals(codeString)) 1588 return CCBYNCSA1_0; 1589 if ("CC-BY-NC-SA-2.0".equals(codeString)) 1590 return CCBYNCSA2_0; 1591 if ("CC-BY-NC-SA-2.5".equals(codeString)) 1592 return CCBYNCSA2_5; 1593 if ("CC-BY-NC-SA-3.0".equals(codeString)) 1594 return CCBYNCSA3_0; 1595 if ("CC-BY-NC-SA-4.0".equals(codeString)) 1596 return CCBYNCSA4_0; 1597 if ("CC-BY-ND-1.0".equals(codeString)) 1598 return CCBYND1_0; 1599 if ("CC-BY-ND-2.0".equals(codeString)) 1600 return CCBYND2_0; 1601 if ("CC-BY-ND-2.5".equals(codeString)) 1602 return CCBYND2_5; 1603 if ("CC-BY-ND-3.0".equals(codeString)) 1604 return CCBYND3_0; 1605 if ("CC-BY-ND-4.0".equals(codeString)) 1606 return CCBYND4_0; 1607 if ("CC-BY-SA-1.0".equals(codeString)) 1608 return CCBYSA1_0; 1609 if ("CC-BY-SA-2.0".equals(codeString)) 1610 return CCBYSA2_0; 1611 if ("CC-BY-SA-2.5".equals(codeString)) 1612 return CCBYSA2_5; 1613 if ("CC-BY-SA-3.0".equals(codeString)) 1614 return CCBYSA3_0; 1615 if ("CC-BY-SA-4.0".equals(codeString)) 1616 return CCBYSA4_0; 1617 if ("CC0-1.0".equals(codeString)) 1618 return CC01_0; 1619 if ("CDDL-1.0".equals(codeString)) 1620 return CDDL1_0; 1621 if ("CDDL-1.1".equals(codeString)) 1622 return CDDL1_1; 1623 if ("CDLA-Permissive-1.0".equals(codeString)) 1624 return CDLAPERMISSIVE1_0; 1625 if ("CDLA-Sharing-1.0".equals(codeString)) 1626 return CDLASHARING1_0; 1627 if ("CECILL-1.0".equals(codeString)) 1628 return CECILL1_0; 1629 if ("CECILL-1.1".equals(codeString)) 1630 return CECILL1_1; 1631 if ("CECILL-2.0".equals(codeString)) 1632 return CECILL2_0; 1633 if ("CECILL-2.1".equals(codeString)) 1634 return CECILL2_1; 1635 if ("CECILL-B".equals(codeString)) 1636 return CECILLB; 1637 if ("CECILL-C".equals(codeString)) 1638 return CECILLC; 1639 if ("ClArtistic".equals(codeString)) 1640 return CLARTISTIC; 1641 if ("CNRI-Jython".equals(codeString)) 1642 return CNRIJYTHON; 1643 if ("CNRI-Python-GPL-Compatible".equals(codeString)) 1644 return CNRIPYTHONGPLCOMPATIBLE; 1645 if ("CNRI-Python".equals(codeString)) 1646 return CNRIPYTHON; 1647 if ("Condor-1.1".equals(codeString)) 1648 return CONDOR1_1; 1649 if ("CPAL-1.0".equals(codeString)) 1650 return CPAL1_0; 1651 if ("CPL-1.0".equals(codeString)) 1652 return CPL1_0; 1653 if ("CPOL-1.02".equals(codeString)) 1654 return CPOL1_02; 1655 if ("Crossword".equals(codeString)) 1656 return CROSSWORD; 1657 if ("CrystalStacker".equals(codeString)) 1658 return CRYSTALSTACKER; 1659 if ("CUA-OPL-1.0".equals(codeString)) 1660 return CUAOPL1_0; 1661 if ("Cube".equals(codeString)) 1662 return CUBE; 1663 if ("curl".equals(codeString)) 1664 return CURL; 1665 if ("D-FSL-1.0".equals(codeString)) 1666 return DFSL1_0; 1667 if ("diffmark".equals(codeString)) 1668 return DIFFMARK; 1669 if ("DOC".equals(codeString)) 1670 return DOC; 1671 if ("Dotseqn".equals(codeString)) 1672 return DOTSEQN; 1673 if ("DSDP".equals(codeString)) 1674 return DSDP; 1675 if ("dvipdfm".equals(codeString)) 1676 return DVIPDFM; 1677 if ("ECL-1.0".equals(codeString)) 1678 return ECL1_0; 1679 if ("ECL-2.0".equals(codeString)) 1680 return ECL2_0; 1681 if ("EFL-1.0".equals(codeString)) 1682 return EFL1_0; 1683 if ("EFL-2.0".equals(codeString)) 1684 return EFL2_0; 1685 if ("eGenix".equals(codeString)) 1686 return EGENIX; 1687 if ("Entessa".equals(codeString)) 1688 return ENTESSA; 1689 if ("EPL-1.0".equals(codeString)) 1690 return EPL1_0; 1691 if ("EPL-2.0".equals(codeString)) 1692 return EPL2_0; 1693 if ("ErlPL-1.1".equals(codeString)) 1694 return ERLPL1_1; 1695 if ("EUDatagrid".equals(codeString)) 1696 return EUDATAGRID; 1697 if ("EUPL-1.0".equals(codeString)) 1698 return EUPL1_0; 1699 if ("EUPL-1.1".equals(codeString)) 1700 return EUPL1_1; 1701 if ("EUPL-1.2".equals(codeString)) 1702 return EUPL1_2; 1703 if ("Eurosym".equals(codeString)) 1704 return EUROSYM; 1705 if ("Fair".equals(codeString)) 1706 return FAIR; 1707 if ("Frameworx-1.0".equals(codeString)) 1708 return FRAMEWORX1_0; 1709 if ("FreeImage".equals(codeString)) 1710 return FREEIMAGE; 1711 if ("FSFAP".equals(codeString)) 1712 return FSFAP; 1713 if ("FSFUL".equals(codeString)) 1714 return FSFUL; 1715 if ("FSFULLR".equals(codeString)) 1716 return FSFULLR; 1717 if ("FTL".equals(codeString)) 1718 return FTL; 1719 if ("GFDL-1.1-only".equals(codeString)) 1720 return GFDL1_1ONLY; 1721 if ("GFDL-1.1-or-later".equals(codeString)) 1722 return GFDL1_1ORLATER; 1723 if ("GFDL-1.2-only".equals(codeString)) 1724 return GFDL1_2ONLY; 1725 if ("GFDL-1.2-or-later".equals(codeString)) 1726 return GFDL1_2ORLATER; 1727 if ("GFDL-1.3-only".equals(codeString)) 1728 return GFDL1_3ONLY; 1729 if ("GFDL-1.3-or-later".equals(codeString)) 1730 return GFDL1_3ORLATER; 1731 if ("Giftware".equals(codeString)) 1732 return GIFTWARE; 1733 if ("GL2PS".equals(codeString)) 1734 return GL2PS; 1735 if ("Glide".equals(codeString)) 1736 return GLIDE; 1737 if ("Glulxe".equals(codeString)) 1738 return GLULXE; 1739 if ("gnuplot".equals(codeString)) 1740 return GNUPLOT; 1741 if ("GPL-1.0-only".equals(codeString)) 1742 return GPL1_0ONLY; 1743 if ("GPL-1.0-or-later".equals(codeString)) 1744 return GPL1_0ORLATER; 1745 if ("GPL-2.0-only".equals(codeString)) 1746 return GPL2_0ONLY; 1747 if ("GPL-2.0-or-later".equals(codeString)) 1748 return GPL2_0ORLATER; 1749 if ("GPL-3.0-only".equals(codeString)) 1750 return GPL3_0ONLY; 1751 if ("GPL-3.0-or-later".equals(codeString)) 1752 return GPL3_0ORLATER; 1753 if ("gSOAP-1.3b".equals(codeString)) 1754 return GSOAP1_3B; 1755 if ("HaskellReport".equals(codeString)) 1756 return HASKELLREPORT; 1757 if ("HPND".equals(codeString)) 1758 return HPND; 1759 if ("IBM-pibs".equals(codeString)) 1760 return IBMPIBS; 1761 if ("ICU".equals(codeString)) 1762 return ICU; 1763 if ("IJG".equals(codeString)) 1764 return IJG; 1765 if ("ImageMagick".equals(codeString)) 1766 return IMAGEMAGICK; 1767 if ("iMatix".equals(codeString)) 1768 return IMATIX; 1769 if ("Imlib2".equals(codeString)) 1770 return IMLIB2; 1771 if ("Info-ZIP".equals(codeString)) 1772 return INFOZIP; 1773 if ("Intel-ACPI".equals(codeString)) 1774 return INTELACPI; 1775 if ("Intel".equals(codeString)) 1776 return INTEL; 1777 if ("Interbase-1.0".equals(codeString)) 1778 return INTERBASE1_0; 1779 if ("IPA".equals(codeString)) 1780 return IPA; 1781 if ("IPL-1.0".equals(codeString)) 1782 return IPL1_0; 1783 if ("ISC".equals(codeString)) 1784 return ISC; 1785 if ("JasPer-2.0".equals(codeString)) 1786 return JASPER2_0; 1787 if ("JSON".equals(codeString)) 1788 return JSON; 1789 if ("LAL-1.2".equals(codeString)) 1790 return LAL1_2; 1791 if ("LAL-1.3".equals(codeString)) 1792 return LAL1_3; 1793 if ("Latex2e".equals(codeString)) 1794 return LATEX2E; 1795 if ("Leptonica".equals(codeString)) 1796 return LEPTONICA; 1797 if ("LGPL-2.0-only".equals(codeString)) 1798 return LGPL2_0ONLY; 1799 if ("LGPL-2.0-or-later".equals(codeString)) 1800 return LGPL2_0ORLATER; 1801 if ("LGPL-2.1-only".equals(codeString)) 1802 return LGPL2_1ONLY; 1803 if ("LGPL-2.1-or-later".equals(codeString)) 1804 return LGPL2_1ORLATER; 1805 if ("LGPL-3.0-only".equals(codeString)) 1806 return LGPL3_0ONLY; 1807 if ("LGPL-3.0-or-later".equals(codeString)) 1808 return LGPL3_0ORLATER; 1809 if ("LGPLLR".equals(codeString)) 1810 return LGPLLR; 1811 if ("Libpng".equals(codeString)) 1812 return LIBPNG; 1813 if ("libtiff".equals(codeString)) 1814 return LIBTIFF; 1815 if ("LiLiQ-P-1.1".equals(codeString)) 1816 return LILIQP1_1; 1817 if ("LiLiQ-R-1.1".equals(codeString)) 1818 return LILIQR1_1; 1819 if ("LiLiQ-Rplus-1.1".equals(codeString)) 1820 return LILIQRPLUS1_1; 1821 if ("Linux-OpenIB".equals(codeString)) 1822 return LINUXOPENIB; 1823 if ("LPL-1.0".equals(codeString)) 1824 return LPL1_0; 1825 if ("LPL-1.02".equals(codeString)) 1826 return LPL1_02; 1827 if ("LPPL-1.0".equals(codeString)) 1828 return LPPL1_0; 1829 if ("LPPL-1.1".equals(codeString)) 1830 return LPPL1_1; 1831 if ("LPPL-1.2".equals(codeString)) 1832 return LPPL1_2; 1833 if ("LPPL-1.3a".equals(codeString)) 1834 return LPPL1_3A; 1835 if ("LPPL-1.3c".equals(codeString)) 1836 return LPPL1_3C; 1837 if ("MakeIndex".equals(codeString)) 1838 return MAKEINDEX; 1839 if ("MirOS".equals(codeString)) 1840 return MIROS; 1841 if ("MIT-0".equals(codeString)) 1842 return MIT0; 1843 if ("MIT-advertising".equals(codeString)) 1844 return MITADVERTISING; 1845 if ("MIT-CMU".equals(codeString)) 1846 return MITCMU; 1847 if ("MIT-enna".equals(codeString)) 1848 return MITENNA; 1849 if ("MIT-feh".equals(codeString)) 1850 return MITFEH; 1851 if ("MIT".equals(codeString)) 1852 return MIT; 1853 if ("MITNFA".equals(codeString)) 1854 return MITNFA; 1855 if ("Motosoto".equals(codeString)) 1856 return MOTOSOTO; 1857 if ("mpich2".equals(codeString)) 1858 return MPICH2; 1859 if ("MPL-1.0".equals(codeString)) 1860 return MPL1_0; 1861 if ("MPL-1.1".equals(codeString)) 1862 return MPL1_1; 1863 if ("MPL-2.0-no-copyleft-exception".equals(codeString)) 1864 return MPL2_0NOCOPYLEFTEXCEPTION; 1865 if ("MPL-2.0".equals(codeString)) 1866 return MPL2_0; 1867 if ("MS-PL".equals(codeString)) 1868 return MSPL; 1869 if ("MS-RL".equals(codeString)) 1870 return MSRL; 1871 if ("MTLL".equals(codeString)) 1872 return MTLL; 1873 if ("Multics".equals(codeString)) 1874 return MULTICS; 1875 if ("Mup".equals(codeString)) 1876 return MUP; 1877 if ("NASA-1.3".equals(codeString)) 1878 return NASA1_3; 1879 if ("Naumen".equals(codeString)) 1880 return NAUMEN; 1881 if ("NBPL-1.0".equals(codeString)) 1882 return NBPL1_0; 1883 if ("NCSA".equals(codeString)) 1884 return NCSA; 1885 if ("Net-SNMP".equals(codeString)) 1886 return NETSNMP; 1887 if ("NetCDF".equals(codeString)) 1888 return NETCDF; 1889 if ("Newsletr".equals(codeString)) 1890 return NEWSLETR; 1891 if ("NGPL".equals(codeString)) 1892 return NGPL; 1893 if ("NLOD-1.0".equals(codeString)) 1894 return NLOD1_0; 1895 if ("NLPL".equals(codeString)) 1896 return NLPL; 1897 if ("Nokia".equals(codeString)) 1898 return NOKIA; 1899 if ("NOSL".equals(codeString)) 1900 return NOSL; 1901 if ("Noweb".equals(codeString)) 1902 return NOWEB; 1903 if ("NPL-1.0".equals(codeString)) 1904 return NPL1_0; 1905 if ("NPL-1.1".equals(codeString)) 1906 return NPL1_1; 1907 if ("NPOSL-3.0".equals(codeString)) 1908 return NPOSL3_0; 1909 if ("NRL".equals(codeString)) 1910 return NRL; 1911 if ("NTP".equals(codeString)) 1912 return NTP; 1913 if ("OCCT-PL".equals(codeString)) 1914 return OCCTPL; 1915 if ("OCLC-2.0".equals(codeString)) 1916 return OCLC2_0; 1917 if ("ODbL-1.0".equals(codeString)) 1918 return ODBL1_0; 1919 if ("OFL-1.0".equals(codeString)) 1920 return OFL1_0; 1921 if ("OFL-1.1".equals(codeString)) 1922 return OFL1_1; 1923 if ("OGTSL".equals(codeString)) 1924 return OGTSL; 1925 if ("OLDAP-1.1".equals(codeString)) 1926 return OLDAP1_1; 1927 if ("OLDAP-1.2".equals(codeString)) 1928 return OLDAP1_2; 1929 if ("OLDAP-1.3".equals(codeString)) 1930 return OLDAP1_3; 1931 if ("OLDAP-1.4".equals(codeString)) 1932 return OLDAP1_4; 1933 if ("OLDAP-2.0.1".equals(codeString)) 1934 return OLDAP2_0_1; 1935 if ("OLDAP-2.0".equals(codeString)) 1936 return OLDAP2_0; 1937 if ("OLDAP-2.1".equals(codeString)) 1938 return OLDAP2_1; 1939 if ("OLDAP-2.2.1".equals(codeString)) 1940 return OLDAP2_2_1; 1941 if ("OLDAP-2.2.2".equals(codeString)) 1942 return OLDAP2_2_2; 1943 if ("OLDAP-2.2".equals(codeString)) 1944 return OLDAP2_2; 1945 if ("OLDAP-2.3".equals(codeString)) 1946 return OLDAP2_3; 1947 if ("OLDAP-2.4".equals(codeString)) 1948 return OLDAP2_4; 1949 if ("OLDAP-2.5".equals(codeString)) 1950 return OLDAP2_5; 1951 if ("OLDAP-2.6".equals(codeString)) 1952 return OLDAP2_6; 1953 if ("OLDAP-2.7".equals(codeString)) 1954 return OLDAP2_7; 1955 if ("OLDAP-2.8".equals(codeString)) 1956 return OLDAP2_8; 1957 if ("OML".equals(codeString)) 1958 return OML; 1959 if ("OpenSSL".equals(codeString)) 1960 return OPENSSL; 1961 if ("OPL-1.0".equals(codeString)) 1962 return OPL1_0; 1963 if ("OSET-PL-2.1".equals(codeString)) 1964 return OSETPL2_1; 1965 if ("OSL-1.0".equals(codeString)) 1966 return OSL1_0; 1967 if ("OSL-1.1".equals(codeString)) 1968 return OSL1_1; 1969 if ("OSL-2.0".equals(codeString)) 1970 return OSL2_0; 1971 if ("OSL-2.1".equals(codeString)) 1972 return OSL2_1; 1973 if ("OSL-3.0".equals(codeString)) 1974 return OSL3_0; 1975 if ("PDDL-1.0".equals(codeString)) 1976 return PDDL1_0; 1977 if ("PHP-3.0".equals(codeString)) 1978 return PHP3_0; 1979 if ("PHP-3.01".equals(codeString)) 1980 return PHP3_01; 1981 if ("Plexus".equals(codeString)) 1982 return PLEXUS; 1983 if ("PostgreSQL".equals(codeString)) 1984 return POSTGRESQL; 1985 if ("psfrag".equals(codeString)) 1986 return PSFRAG; 1987 if ("psutils".equals(codeString)) 1988 return PSUTILS; 1989 if ("Python-2.0".equals(codeString)) 1990 return PYTHON2_0; 1991 if ("Qhull".equals(codeString)) 1992 return QHULL; 1993 if ("QPL-1.0".equals(codeString)) 1994 return QPL1_0; 1995 if ("Rdisc".equals(codeString)) 1996 return RDISC; 1997 if ("RHeCos-1.1".equals(codeString)) 1998 return RHECOS1_1; 1999 if ("RPL-1.1".equals(codeString)) 2000 return RPL1_1; 2001 if ("RPL-1.5".equals(codeString)) 2002 return RPL1_5; 2003 if ("RPSL-1.0".equals(codeString)) 2004 return RPSL1_0; 2005 if ("RSA-MD".equals(codeString)) 2006 return RSAMD; 2007 if ("RSCPL".equals(codeString)) 2008 return RSCPL; 2009 if ("Ruby".equals(codeString)) 2010 return RUBY; 2011 if ("SAX-PD".equals(codeString)) 2012 return SAXPD; 2013 if ("Saxpath".equals(codeString)) 2014 return SAXPATH; 2015 if ("SCEA".equals(codeString)) 2016 return SCEA; 2017 if ("Sendmail".equals(codeString)) 2018 return SENDMAIL; 2019 if ("SGI-B-1.0".equals(codeString)) 2020 return SGIB1_0; 2021 if ("SGI-B-1.1".equals(codeString)) 2022 return SGIB1_1; 2023 if ("SGI-B-2.0".equals(codeString)) 2024 return SGIB2_0; 2025 if ("SimPL-2.0".equals(codeString)) 2026 return SIMPL2_0; 2027 if ("SISSL-1.2".equals(codeString)) 2028 return SISSL1_2; 2029 if ("SISSL".equals(codeString)) 2030 return SISSL; 2031 if ("Sleepycat".equals(codeString)) 2032 return SLEEPYCAT; 2033 if ("SMLNJ".equals(codeString)) 2034 return SMLNJ; 2035 if ("SMPPL".equals(codeString)) 2036 return SMPPL; 2037 if ("SNIA".equals(codeString)) 2038 return SNIA; 2039 if ("Spencer-86".equals(codeString)) 2040 return SPENCER86; 2041 if ("Spencer-94".equals(codeString)) 2042 return SPENCER94; 2043 if ("Spencer-99".equals(codeString)) 2044 return SPENCER99; 2045 if ("SPL-1.0".equals(codeString)) 2046 return SPL1_0; 2047 if ("SugarCRM-1.1.3".equals(codeString)) 2048 return SUGARCRM1_1_3; 2049 if ("SWL".equals(codeString)) 2050 return SWL; 2051 if ("TCL".equals(codeString)) 2052 return TCL; 2053 if ("TCP-wrappers".equals(codeString)) 2054 return TCPWRAPPERS; 2055 if ("TMate".equals(codeString)) 2056 return TMATE; 2057 if ("TORQUE-1.1".equals(codeString)) 2058 return TORQUE1_1; 2059 if ("TOSL".equals(codeString)) 2060 return TOSL; 2061 if ("Unicode-DFS-2015".equals(codeString)) 2062 return UNICODEDFS2015; 2063 if ("Unicode-DFS-2016".equals(codeString)) 2064 return UNICODEDFS2016; 2065 if ("Unicode-TOU".equals(codeString)) 2066 return UNICODETOU; 2067 if ("Unlicense".equals(codeString)) 2068 return UNLICENSE; 2069 if ("UPL-1.0".equals(codeString)) 2070 return UPL1_0; 2071 if ("Vim".equals(codeString)) 2072 return VIM; 2073 if ("VOSTROM".equals(codeString)) 2074 return VOSTROM; 2075 if ("VSL-1.0".equals(codeString)) 2076 return VSL1_0; 2077 if ("W3C-19980720".equals(codeString)) 2078 return W3C19980720; 2079 if ("W3C-20150513".equals(codeString)) 2080 return W3C20150513; 2081 if ("W3C".equals(codeString)) 2082 return W3C; 2083 if ("Watcom-1.0".equals(codeString)) 2084 return WATCOM1_0; 2085 if ("Wsuipa".equals(codeString)) 2086 return WSUIPA; 2087 if ("WTFPL".equals(codeString)) 2088 return WTFPL; 2089 if ("X11".equals(codeString)) 2090 return X11; 2091 if ("Xerox".equals(codeString)) 2092 return XEROX; 2093 if ("XFree86-1.1".equals(codeString)) 2094 return XFREE861_1; 2095 if ("xinetd".equals(codeString)) 2096 return XINETD; 2097 if ("Xnet".equals(codeString)) 2098 return XNET; 2099 if ("xpp".equals(codeString)) 2100 return XPP; 2101 if ("XSkat".equals(codeString)) 2102 return XSKAT; 2103 if ("YPL-1.0".equals(codeString)) 2104 return YPL1_0; 2105 if ("YPL-1.1".equals(codeString)) 2106 return YPL1_1; 2107 if ("Zed".equals(codeString)) 2108 return ZED; 2109 if ("Zend-2.0".equals(codeString)) 2110 return ZEND2_0; 2111 if ("Zimbra-1.3".equals(codeString)) 2112 return ZIMBRA1_3; 2113 if ("Zimbra-1.4".equals(codeString)) 2114 return ZIMBRA1_4; 2115 if ("zlib-acknowledgement".equals(codeString)) 2116 return ZLIBACKNOWLEDGEMENT; 2117 if ("Zlib".equals(codeString)) 2118 return ZLIB; 2119 if ("ZPL-1.1".equals(codeString)) 2120 return ZPL1_1; 2121 if ("ZPL-2.0".equals(codeString)) 2122 return ZPL2_0; 2123 if ("ZPL-2.1".equals(codeString)) 2124 return ZPL2_1; 2125 throw new FHIRException("Unknown SpdxLicense code '"+codeString+"'"); 2126 } 2127 public String toCode() { 2128 switch (this) { 2129 case NOTOPENSOURCE: return "not-open-source"; 2130 case _0BSD: return "0BSD"; 2131 case AAL: return "AAL"; 2132 case ABSTYLES: return "Abstyles"; 2133 case ADOBE2006: return "Adobe-2006"; 2134 case ADOBEGLYPH: return "Adobe-Glyph"; 2135 case ADSL: return "ADSL"; 2136 case AFL1_1: return "AFL-1.1"; 2137 case AFL1_2: return "AFL-1.2"; 2138 case AFL2_0: return "AFL-2.0"; 2139 case AFL2_1: return "AFL-2.1"; 2140 case AFL3_0: return "AFL-3.0"; 2141 case AFMPARSE: return "Afmparse"; 2142 case AGPL1_0ONLY: return "AGPL-1.0-only"; 2143 case AGPL1_0ORLATER: return "AGPL-1.0-or-later"; 2144 case AGPL3_0ONLY: return "AGPL-3.0-only"; 2145 case AGPL3_0ORLATER: return "AGPL-3.0-or-later"; 2146 case ALADDIN: return "Aladdin"; 2147 case AMDPLPA: return "AMDPLPA"; 2148 case AML: return "AML"; 2149 case AMPAS: return "AMPAS"; 2150 case ANTLRPD: return "ANTLR-PD"; 2151 case APACHE1_0: return "Apache-1.0"; 2152 case APACHE1_1: return "Apache-1.1"; 2153 case APACHE2_0: return "Apache-2.0"; 2154 case APAFML: return "APAFML"; 2155 case APL1_0: return "APL-1.0"; 2156 case APSL1_0: return "APSL-1.0"; 2157 case APSL1_1: return "APSL-1.1"; 2158 case APSL1_2: return "APSL-1.2"; 2159 case APSL2_0: return "APSL-2.0"; 2160 case ARTISTIC1_0CL8: return "Artistic-1.0-cl8"; 2161 case ARTISTIC1_0PERL: return "Artistic-1.0-Perl"; 2162 case ARTISTIC1_0: return "Artistic-1.0"; 2163 case ARTISTIC2_0: return "Artistic-2.0"; 2164 case BAHYPH: return "Bahyph"; 2165 case BARR: return "Barr"; 2166 case BEERWARE: return "Beerware"; 2167 case BITTORRENT1_0: return "BitTorrent-1.0"; 2168 case BITTORRENT1_1: return "BitTorrent-1.1"; 2169 case BORCEUX: return "Borceux"; 2170 case BSD1CLAUSE: return "BSD-1-Clause"; 2171 case BSD2CLAUSEFREEBSD: return "BSD-2-Clause-FreeBSD"; 2172 case BSD2CLAUSENETBSD: return "BSD-2-Clause-NetBSD"; 2173 case BSD2CLAUSEPATENT: return "BSD-2-Clause-Patent"; 2174 case BSD2CLAUSE: return "BSD-2-Clause"; 2175 case BSD3CLAUSEATTRIBUTION: return "BSD-3-Clause-Attribution"; 2176 case BSD3CLAUSECLEAR: return "BSD-3-Clause-Clear"; 2177 case BSD3CLAUSELBNL: return "BSD-3-Clause-LBNL"; 2178 case BSD3CLAUSENONUCLEARLICENSE2014: return "BSD-3-Clause-No-Nuclear-License-2014"; 2179 case BSD3CLAUSENONUCLEARLICENSE: return "BSD-3-Clause-No-Nuclear-License"; 2180 case BSD3CLAUSENONUCLEARWARRANTY: return "BSD-3-Clause-No-Nuclear-Warranty"; 2181 case BSD3CLAUSE: return "BSD-3-Clause"; 2182 case BSD4CLAUSEUC: return "BSD-4-Clause-UC"; 2183 case BSD4CLAUSE: return "BSD-4-Clause"; 2184 case BSDPROTECTION: return "BSD-Protection"; 2185 case BSDSOURCECODE: return "BSD-Source-Code"; 2186 case BSL1_0: return "BSL-1.0"; 2187 case BZIP21_0_5: return "bzip2-1.0.5"; 2188 case BZIP21_0_6: return "bzip2-1.0.6"; 2189 case CALDERA: return "Caldera"; 2190 case CATOSL1_1: return "CATOSL-1.1"; 2191 case CCBY1_0: return "CC-BY-1.0"; 2192 case CCBY2_0: return "CC-BY-2.0"; 2193 case CCBY2_5: return "CC-BY-2.5"; 2194 case CCBY3_0: return "CC-BY-3.0"; 2195 case CCBY4_0: return "CC-BY-4.0"; 2196 case CCBYNC1_0: return "CC-BY-NC-1.0"; 2197 case CCBYNC2_0: return "CC-BY-NC-2.0"; 2198 case CCBYNC2_5: return "CC-BY-NC-2.5"; 2199 case CCBYNC3_0: return "CC-BY-NC-3.0"; 2200 case CCBYNC4_0: return "CC-BY-NC-4.0"; 2201 case CCBYNCND1_0: return "CC-BY-NC-ND-1.0"; 2202 case CCBYNCND2_0: return "CC-BY-NC-ND-2.0"; 2203 case CCBYNCND2_5: return "CC-BY-NC-ND-2.5"; 2204 case CCBYNCND3_0: return "CC-BY-NC-ND-3.0"; 2205 case CCBYNCND4_0: return "CC-BY-NC-ND-4.0"; 2206 case CCBYNCSA1_0: return "CC-BY-NC-SA-1.0"; 2207 case CCBYNCSA2_0: return "CC-BY-NC-SA-2.0"; 2208 case CCBYNCSA2_5: return "CC-BY-NC-SA-2.5"; 2209 case CCBYNCSA3_0: return "CC-BY-NC-SA-3.0"; 2210 case CCBYNCSA4_0: return "CC-BY-NC-SA-4.0"; 2211 case CCBYND1_0: return "CC-BY-ND-1.0"; 2212 case CCBYND2_0: return "CC-BY-ND-2.0"; 2213 case CCBYND2_5: return "CC-BY-ND-2.5"; 2214 case CCBYND3_0: return "CC-BY-ND-3.0"; 2215 case CCBYND4_0: return "CC-BY-ND-4.0"; 2216 case CCBYSA1_0: return "CC-BY-SA-1.0"; 2217 case CCBYSA2_0: return "CC-BY-SA-2.0"; 2218 case CCBYSA2_5: return "CC-BY-SA-2.5"; 2219 case CCBYSA3_0: return "CC-BY-SA-3.0"; 2220 case CCBYSA4_0: return "CC-BY-SA-4.0"; 2221 case CC01_0: return "CC0-1.0"; 2222 case CDDL1_0: return "CDDL-1.0"; 2223 case CDDL1_1: return "CDDL-1.1"; 2224 case CDLAPERMISSIVE1_0: return "CDLA-Permissive-1.0"; 2225 case CDLASHARING1_0: return "CDLA-Sharing-1.0"; 2226 case CECILL1_0: return "CECILL-1.0"; 2227 case CECILL1_1: return "CECILL-1.1"; 2228 case CECILL2_0: return "CECILL-2.0"; 2229 case CECILL2_1: return "CECILL-2.1"; 2230 case CECILLB: return "CECILL-B"; 2231 case CECILLC: return "CECILL-C"; 2232 case CLARTISTIC: return "ClArtistic"; 2233 case CNRIJYTHON: return "CNRI-Jython"; 2234 case CNRIPYTHONGPLCOMPATIBLE: return "CNRI-Python-GPL-Compatible"; 2235 case CNRIPYTHON: return "CNRI-Python"; 2236 case CONDOR1_1: return "Condor-1.1"; 2237 case CPAL1_0: return "CPAL-1.0"; 2238 case CPL1_0: return "CPL-1.0"; 2239 case CPOL1_02: return "CPOL-1.02"; 2240 case CROSSWORD: return "Crossword"; 2241 case CRYSTALSTACKER: return "CrystalStacker"; 2242 case CUAOPL1_0: return "CUA-OPL-1.0"; 2243 case CUBE: return "Cube"; 2244 case CURL: return "curl"; 2245 case DFSL1_0: return "D-FSL-1.0"; 2246 case DIFFMARK: return "diffmark"; 2247 case DOC: return "DOC"; 2248 case DOTSEQN: return "Dotseqn"; 2249 case DSDP: return "DSDP"; 2250 case DVIPDFM: return "dvipdfm"; 2251 case ECL1_0: return "ECL-1.0"; 2252 case ECL2_0: return "ECL-2.0"; 2253 case EFL1_0: return "EFL-1.0"; 2254 case EFL2_0: return "EFL-2.0"; 2255 case EGENIX: return "eGenix"; 2256 case ENTESSA: return "Entessa"; 2257 case EPL1_0: return "EPL-1.0"; 2258 case EPL2_0: return "EPL-2.0"; 2259 case ERLPL1_1: return "ErlPL-1.1"; 2260 case EUDATAGRID: return "EUDatagrid"; 2261 case EUPL1_0: return "EUPL-1.0"; 2262 case EUPL1_1: return "EUPL-1.1"; 2263 case EUPL1_2: return "EUPL-1.2"; 2264 case EUROSYM: return "Eurosym"; 2265 case FAIR: return "Fair"; 2266 case FRAMEWORX1_0: return "Frameworx-1.0"; 2267 case FREEIMAGE: return "FreeImage"; 2268 case FSFAP: return "FSFAP"; 2269 case FSFUL: return "FSFUL"; 2270 case FSFULLR: return "FSFULLR"; 2271 case FTL: return "FTL"; 2272 case GFDL1_1ONLY: return "GFDL-1.1-only"; 2273 case GFDL1_1ORLATER: return "GFDL-1.1-or-later"; 2274 case GFDL1_2ONLY: return "GFDL-1.2-only"; 2275 case GFDL1_2ORLATER: return "GFDL-1.2-or-later"; 2276 case GFDL1_3ONLY: return "GFDL-1.3-only"; 2277 case GFDL1_3ORLATER: return "GFDL-1.3-or-later"; 2278 case GIFTWARE: return "Giftware"; 2279 case GL2PS: return "GL2PS"; 2280 case GLIDE: return "Glide"; 2281 case GLULXE: return "Glulxe"; 2282 case GNUPLOT: return "gnuplot"; 2283 case GPL1_0ONLY: return "GPL-1.0-only"; 2284 case GPL1_0ORLATER: return "GPL-1.0-or-later"; 2285 case GPL2_0ONLY: return "GPL-2.0-only"; 2286 case GPL2_0ORLATER: return "GPL-2.0-or-later"; 2287 case GPL3_0ONLY: return "GPL-3.0-only"; 2288 case GPL3_0ORLATER: return "GPL-3.0-or-later"; 2289 case GSOAP1_3B: return "gSOAP-1.3b"; 2290 case HASKELLREPORT: return "HaskellReport"; 2291 case HPND: return "HPND"; 2292 case IBMPIBS: return "IBM-pibs"; 2293 case ICU: return "ICU"; 2294 case IJG: return "IJG"; 2295 case IMAGEMAGICK: return "ImageMagick"; 2296 case IMATIX: return "iMatix"; 2297 case IMLIB2: return "Imlib2"; 2298 case INFOZIP: return "Info-ZIP"; 2299 case INTELACPI: return "Intel-ACPI"; 2300 case INTEL: return "Intel"; 2301 case INTERBASE1_0: return "Interbase-1.0"; 2302 case IPA: return "IPA"; 2303 case IPL1_0: return "IPL-1.0"; 2304 case ISC: return "ISC"; 2305 case JASPER2_0: return "JasPer-2.0"; 2306 case JSON: return "JSON"; 2307 case LAL1_2: return "LAL-1.2"; 2308 case LAL1_3: return "LAL-1.3"; 2309 case LATEX2E: return "Latex2e"; 2310 case LEPTONICA: return "Leptonica"; 2311 case LGPL2_0ONLY: return "LGPL-2.0-only"; 2312 case LGPL2_0ORLATER: return "LGPL-2.0-or-later"; 2313 case LGPL2_1ONLY: return "LGPL-2.1-only"; 2314 case LGPL2_1ORLATER: return "LGPL-2.1-or-later"; 2315 case LGPL3_0ONLY: return "LGPL-3.0-only"; 2316 case LGPL3_0ORLATER: return "LGPL-3.0-or-later"; 2317 case LGPLLR: return "LGPLLR"; 2318 case LIBPNG: return "Libpng"; 2319 case LIBTIFF: return "libtiff"; 2320 case LILIQP1_1: return "LiLiQ-P-1.1"; 2321 case LILIQR1_1: return "LiLiQ-R-1.1"; 2322 case LILIQRPLUS1_1: return "LiLiQ-Rplus-1.1"; 2323 case LINUXOPENIB: return "Linux-OpenIB"; 2324 case LPL1_0: return "LPL-1.0"; 2325 case LPL1_02: return "LPL-1.02"; 2326 case LPPL1_0: return "LPPL-1.0"; 2327 case LPPL1_1: return "LPPL-1.1"; 2328 case LPPL1_2: return "LPPL-1.2"; 2329 case LPPL1_3A: return "LPPL-1.3a"; 2330 case LPPL1_3C: return "LPPL-1.3c"; 2331 case MAKEINDEX: return "MakeIndex"; 2332 case MIROS: return "MirOS"; 2333 case MIT0: return "MIT-0"; 2334 case MITADVERTISING: return "MIT-advertising"; 2335 case MITCMU: return "MIT-CMU"; 2336 case MITENNA: return "MIT-enna"; 2337 case MITFEH: return "MIT-feh"; 2338 case MIT: return "MIT"; 2339 case MITNFA: return "MITNFA"; 2340 case MOTOSOTO: return "Motosoto"; 2341 case MPICH2: return "mpich2"; 2342 case MPL1_0: return "MPL-1.0"; 2343 case MPL1_1: return "MPL-1.1"; 2344 case MPL2_0NOCOPYLEFTEXCEPTION: return "MPL-2.0-no-copyleft-exception"; 2345 case MPL2_0: return "MPL-2.0"; 2346 case MSPL: return "MS-PL"; 2347 case MSRL: return "MS-RL"; 2348 case MTLL: return "MTLL"; 2349 case MULTICS: return "Multics"; 2350 case MUP: return "Mup"; 2351 case NASA1_3: return "NASA-1.3"; 2352 case NAUMEN: return "Naumen"; 2353 case NBPL1_0: return "NBPL-1.0"; 2354 case NCSA: return "NCSA"; 2355 case NETSNMP: return "Net-SNMP"; 2356 case NETCDF: return "NetCDF"; 2357 case NEWSLETR: return "Newsletr"; 2358 case NGPL: return "NGPL"; 2359 case NLOD1_0: return "NLOD-1.0"; 2360 case NLPL: return "NLPL"; 2361 case NOKIA: return "Nokia"; 2362 case NOSL: return "NOSL"; 2363 case NOWEB: return "Noweb"; 2364 case NPL1_0: return "NPL-1.0"; 2365 case NPL1_1: return "NPL-1.1"; 2366 case NPOSL3_0: return "NPOSL-3.0"; 2367 case NRL: return "NRL"; 2368 case NTP: return "NTP"; 2369 case OCCTPL: return "OCCT-PL"; 2370 case OCLC2_0: return "OCLC-2.0"; 2371 case ODBL1_0: return "ODbL-1.0"; 2372 case OFL1_0: return "OFL-1.0"; 2373 case OFL1_1: return "OFL-1.1"; 2374 case OGTSL: return "OGTSL"; 2375 case OLDAP1_1: return "OLDAP-1.1"; 2376 case OLDAP1_2: return "OLDAP-1.2"; 2377 case OLDAP1_3: return "OLDAP-1.3"; 2378 case OLDAP1_4: return "OLDAP-1.4"; 2379 case OLDAP2_0_1: return "OLDAP-2.0.1"; 2380 case OLDAP2_0: return "OLDAP-2.0"; 2381 case OLDAP2_1: return "OLDAP-2.1"; 2382 case OLDAP2_2_1: return "OLDAP-2.2.1"; 2383 case OLDAP2_2_2: return "OLDAP-2.2.2"; 2384 case OLDAP2_2: return "OLDAP-2.2"; 2385 case OLDAP2_3: return "OLDAP-2.3"; 2386 case OLDAP2_4: return "OLDAP-2.4"; 2387 case OLDAP2_5: return "OLDAP-2.5"; 2388 case OLDAP2_6: return "OLDAP-2.6"; 2389 case OLDAP2_7: return "OLDAP-2.7"; 2390 case OLDAP2_8: return "OLDAP-2.8"; 2391 case OML: return "OML"; 2392 case OPENSSL: return "OpenSSL"; 2393 case OPL1_0: return "OPL-1.0"; 2394 case OSETPL2_1: return "OSET-PL-2.1"; 2395 case OSL1_0: return "OSL-1.0"; 2396 case OSL1_1: return "OSL-1.1"; 2397 case OSL2_0: return "OSL-2.0"; 2398 case OSL2_1: return "OSL-2.1"; 2399 case OSL3_0: return "OSL-3.0"; 2400 case PDDL1_0: return "PDDL-1.0"; 2401 case PHP3_0: return "PHP-3.0"; 2402 case PHP3_01: return "PHP-3.01"; 2403 case PLEXUS: return "Plexus"; 2404 case POSTGRESQL: return "PostgreSQL"; 2405 case PSFRAG: return "psfrag"; 2406 case PSUTILS: return "psutils"; 2407 case PYTHON2_0: return "Python-2.0"; 2408 case QHULL: return "Qhull"; 2409 case QPL1_0: return "QPL-1.0"; 2410 case RDISC: return "Rdisc"; 2411 case RHECOS1_1: return "RHeCos-1.1"; 2412 case RPL1_1: return "RPL-1.1"; 2413 case RPL1_5: return "RPL-1.5"; 2414 case RPSL1_0: return "RPSL-1.0"; 2415 case RSAMD: return "RSA-MD"; 2416 case RSCPL: return "RSCPL"; 2417 case RUBY: return "Ruby"; 2418 case SAXPD: return "SAX-PD"; 2419 case SAXPATH: return "Saxpath"; 2420 case SCEA: return "SCEA"; 2421 case SENDMAIL: return "Sendmail"; 2422 case SGIB1_0: return "SGI-B-1.0"; 2423 case SGIB1_1: return "SGI-B-1.1"; 2424 case SGIB2_0: return "SGI-B-2.0"; 2425 case SIMPL2_0: return "SimPL-2.0"; 2426 case SISSL1_2: return "SISSL-1.2"; 2427 case SISSL: return "SISSL"; 2428 case SLEEPYCAT: return "Sleepycat"; 2429 case SMLNJ: return "SMLNJ"; 2430 case SMPPL: return "SMPPL"; 2431 case SNIA: return "SNIA"; 2432 case SPENCER86: return "Spencer-86"; 2433 case SPENCER94: return "Spencer-94"; 2434 case SPENCER99: return "Spencer-99"; 2435 case SPL1_0: return "SPL-1.0"; 2436 case SUGARCRM1_1_3: return "SugarCRM-1.1.3"; 2437 case SWL: return "SWL"; 2438 case TCL: return "TCL"; 2439 case TCPWRAPPERS: return "TCP-wrappers"; 2440 case TMATE: return "TMate"; 2441 case TORQUE1_1: return "TORQUE-1.1"; 2442 case TOSL: return "TOSL"; 2443 case UNICODEDFS2015: return "Unicode-DFS-2015"; 2444 case UNICODEDFS2016: return "Unicode-DFS-2016"; 2445 case UNICODETOU: return "Unicode-TOU"; 2446 case UNLICENSE: return "Unlicense"; 2447 case UPL1_0: return "UPL-1.0"; 2448 case VIM: return "Vim"; 2449 case VOSTROM: return "VOSTROM"; 2450 case VSL1_0: return "VSL-1.0"; 2451 case W3C19980720: return "W3C-19980720"; 2452 case W3C20150513: return "W3C-20150513"; 2453 case W3C: return "W3C"; 2454 case WATCOM1_0: return "Watcom-1.0"; 2455 case WSUIPA: return "Wsuipa"; 2456 case WTFPL: return "WTFPL"; 2457 case X11: return "X11"; 2458 case XEROX: return "Xerox"; 2459 case XFREE861_1: return "XFree86-1.1"; 2460 case XINETD: return "xinetd"; 2461 case XNET: return "Xnet"; 2462 case XPP: return "xpp"; 2463 case XSKAT: return "XSkat"; 2464 case YPL1_0: return "YPL-1.0"; 2465 case YPL1_1: return "YPL-1.1"; 2466 case ZED: return "Zed"; 2467 case ZEND2_0: return "Zend-2.0"; 2468 case ZIMBRA1_3: return "Zimbra-1.3"; 2469 case ZIMBRA1_4: return "Zimbra-1.4"; 2470 case ZLIBACKNOWLEDGEMENT: return "zlib-acknowledgement"; 2471 case ZLIB: return "Zlib"; 2472 case ZPL1_1: return "ZPL-1.1"; 2473 case ZPL2_0: return "ZPL-2.0"; 2474 case ZPL2_1: return "ZPL-2.1"; 2475 case NULL: return null; 2476 default: return "?"; 2477 } 2478 } 2479 public String getSystem() { 2480 return "http://hl7.org/fhir/spdx-license"; 2481 } 2482 public String getDefinition() { 2483 switch (this) { 2484 case NOTOPENSOURCE: return "Not an open source license."; 2485 case _0BSD: return "BSD Zero Clause License."; 2486 case AAL: return "Attribution Assurance License."; 2487 case ABSTYLES: return "Abstyles License."; 2488 case ADOBE2006: return "Adobe Systems Incorporated Source Code License Agreement."; 2489 case ADOBEGLYPH: return "Adobe Glyph List License."; 2490 case ADSL: return "Amazon Digital Services License."; 2491 case AFL1_1: return "Academic Free License v1.1."; 2492 case AFL1_2: return "Academic Free License v1.2."; 2493 case AFL2_0: return "Academic Free License v2.0."; 2494 case AFL2_1: return "Academic Free License v2.1."; 2495 case AFL3_0: return "Academic Free License v3.0."; 2496 case AFMPARSE: return "Afmparse License."; 2497 case AGPL1_0ONLY: return "Affero General Public License v1.0 only."; 2498 case AGPL1_0ORLATER: return "Affero General Public License v1.0 or later."; 2499 case AGPL3_0ONLY: return "GNU Affero General Public License v3.0 only."; 2500 case AGPL3_0ORLATER: return "GNU Affero General Public License v3.0 or later."; 2501 case ALADDIN: return "Aladdin Free Public License."; 2502 case AMDPLPA: return "AMD's plpa_map.c License."; 2503 case AML: return "Apple MIT License."; 2504 case AMPAS: return "Academy of Motion Picture Arts and Sciences BSD."; 2505 case ANTLRPD: return "ANTLR Software Rights Notice."; 2506 case APACHE1_0: return "Apache License 1.0."; 2507 case APACHE1_1: return "Apache License 1.1."; 2508 case APACHE2_0: return "Apache License 2.0."; 2509 case APAFML: return "Adobe Postscript AFM License."; 2510 case APL1_0: return "Adaptive Public License 1.0."; 2511 case APSL1_0: return "Apple Public Source License 1.0."; 2512 case APSL1_1: return "Apple Public Source License 1.1."; 2513 case APSL1_2: return "Apple Public Source License 1.2."; 2514 case APSL2_0: return "Apple Public Source License 2.0."; 2515 case ARTISTIC1_0CL8: return "Artistic License 1.0 w/clause 8."; 2516 case ARTISTIC1_0PERL: return "Artistic License 1.0 (Perl)."; 2517 case ARTISTIC1_0: return "Artistic License 1.0."; 2518 case ARTISTIC2_0: return "Artistic License 2.0."; 2519 case BAHYPH: return "Bahyph License."; 2520 case BARR: return "Barr License."; 2521 case BEERWARE: return "Beerware License."; 2522 case BITTORRENT1_0: return "BitTorrent Open Source License v1.0."; 2523 case BITTORRENT1_1: return "BitTorrent Open Source License v1.1."; 2524 case BORCEUX: return "Borceux license."; 2525 case BSD1CLAUSE: return "BSD 1-Clause License."; 2526 case BSD2CLAUSEFREEBSD: return "BSD 2-Clause FreeBSD License."; 2527 case BSD2CLAUSENETBSD: return "BSD 2-Clause NetBSD License."; 2528 case BSD2CLAUSEPATENT: return "BSD-2-Clause Plus Patent License."; 2529 case BSD2CLAUSE: return "BSD 2-Clause \"Simplified\" License."; 2530 case BSD3CLAUSEATTRIBUTION: return "BSD with attribution."; 2531 case BSD3CLAUSECLEAR: return "BSD 3-Clause Clear License."; 2532 case BSD3CLAUSELBNL: return "Lawrence Berkeley National Labs BSD variant license."; 2533 case BSD3CLAUSENONUCLEARLICENSE2014: return "BSD 3-Clause No Nuclear License 2014."; 2534 case BSD3CLAUSENONUCLEARLICENSE: return "BSD 3-Clause No Nuclear License."; 2535 case BSD3CLAUSENONUCLEARWARRANTY: return "BSD 3-Clause No Nuclear Warranty."; 2536 case BSD3CLAUSE: return "BSD 3-Clause \"New\" or \"Revised\" License."; 2537 case BSD4CLAUSEUC: return "BSD-4-Clause (University of California-Specific)."; 2538 case BSD4CLAUSE: return "BSD 4-Clause \"Original\" or \"Old\" License."; 2539 case BSDPROTECTION: return "BSD Protection License."; 2540 case BSDSOURCECODE: return "BSD Source Code Attribution."; 2541 case BSL1_0: return "Boost Software License 1.0."; 2542 case BZIP21_0_5: return "bzip2 and libbzip2 License v1.0.5."; 2543 case BZIP21_0_6: return "bzip2 and libbzip2 License v1.0.6."; 2544 case CALDERA: return "Caldera License."; 2545 case CATOSL1_1: return "Computer Associates Trusted Open Source License 1.1."; 2546 case CCBY1_0: return "Creative Commons Attribution 1.0 Generic."; 2547 case CCBY2_0: return "Creative Commons Attribution 2.0 Generic."; 2548 case CCBY2_5: return "Creative Commons Attribution 2.5 Generic."; 2549 case CCBY3_0: return "Creative Commons Attribution 3.0 Unported."; 2550 case CCBY4_0: return "Creative Commons Attribution 4.0 International."; 2551 case CCBYNC1_0: return "Creative Commons Attribution Non Commercial 1.0 Generic."; 2552 case CCBYNC2_0: return "Creative Commons Attribution Non Commercial 2.0 Generic."; 2553 case CCBYNC2_5: return "Creative Commons Attribution Non Commercial 2.5 Generic."; 2554 case CCBYNC3_0: return "Creative Commons Attribution Non Commercial 3.0 Unported."; 2555 case CCBYNC4_0: return "Creative Commons Attribution Non Commercial 4.0 International."; 2556 case CCBYNCND1_0: return "Creative Commons Attribution Non Commercial No Derivatives 1.0 Generic."; 2557 case CCBYNCND2_0: return "Creative Commons Attribution Non Commercial No Derivatives 2.0 Generic."; 2558 case CCBYNCND2_5: return "Creative Commons Attribution Non Commercial No Derivatives 2.5 Generic."; 2559 case CCBYNCND3_0: return "Creative Commons Attribution Non Commercial No Derivatives 3.0 Unported."; 2560 case CCBYNCND4_0: return "Creative Commons Attribution Non Commercial No Derivatives 4.0 International."; 2561 case CCBYNCSA1_0: return "Creative Commons Attribution Non Commercial Share Alike 1.0 Generic."; 2562 case CCBYNCSA2_0: return "Creative Commons Attribution Non Commercial Share Alike 2.0 Generic."; 2563 case CCBYNCSA2_5: return "Creative Commons Attribution Non Commercial Share Alike 2.5 Generic."; 2564 case CCBYNCSA3_0: return "Creative Commons Attribution Non Commercial Share Alike 3.0 Unported."; 2565 case CCBYNCSA4_0: return "Creative Commons Attribution Non Commercial Share Alike 4.0 International."; 2566 case CCBYND1_0: return "Creative Commons Attribution No Derivatives 1.0 Generic."; 2567 case CCBYND2_0: return "Creative Commons Attribution No Derivatives 2.0 Generic."; 2568 case CCBYND2_5: return "Creative Commons Attribution No Derivatives 2.5 Generic."; 2569 case CCBYND3_0: return "Creative Commons Attribution No Derivatives 3.0 Unported."; 2570 case CCBYND4_0: return "Creative Commons Attribution No Derivatives 4.0 International."; 2571 case CCBYSA1_0: return "Creative Commons Attribution Share Alike 1.0 Generic."; 2572 case CCBYSA2_0: return "Creative Commons Attribution Share Alike 2.0 Generic."; 2573 case CCBYSA2_5: return "Creative Commons Attribution Share Alike 2.5 Generic."; 2574 case CCBYSA3_0: return "Creative Commons Attribution Share Alike 3.0 Unported."; 2575 case CCBYSA4_0: return "Creative Commons Attribution Share Alike 4.0 International."; 2576 case CC01_0: return "Creative Commons Zero v1.0 Universal."; 2577 case CDDL1_0: return "Common Development and Distribution License 1.0."; 2578 case CDDL1_1: return "Common Development and Distribution License 1.1."; 2579 case CDLAPERMISSIVE1_0: return "Community Data License Agreement Permissive 1.0."; 2580 case CDLASHARING1_0: return "Community Data License Agreement Sharing 1.0."; 2581 case CECILL1_0: return "CeCILL Free Software License Agreement v1.0."; 2582 case CECILL1_1: return "CeCILL Free Software License Agreement v1.1."; 2583 case CECILL2_0: return "CeCILL Free Software License Agreement v2.0."; 2584 case CECILL2_1: return "CeCILL Free Software License Agreement v2.1."; 2585 case CECILLB: return "CeCILL-B Free Software License Agreement."; 2586 case CECILLC: return "CeCILL-C Free Software License Agreement."; 2587 case CLARTISTIC: return "Clarified Artistic License."; 2588 case CNRIJYTHON: return "CNRI Jython License."; 2589 case CNRIPYTHONGPLCOMPATIBLE: return "CNRI Python Open Source GPL Compatible License Agreement."; 2590 case CNRIPYTHON: return "CNRI Python License."; 2591 case CONDOR1_1: return "Condor Public License v1.1."; 2592 case CPAL1_0: return "Common Public Attribution License 1.0."; 2593 case CPL1_0: return "Common Public License 1.0."; 2594 case CPOL1_02: return "Code Project Open License 1.02."; 2595 case CROSSWORD: return "Crossword License."; 2596 case CRYSTALSTACKER: return "CrystalStacker License."; 2597 case CUAOPL1_0: return "CUA Office Public License v1.0."; 2598 case CUBE: return "Cube License."; 2599 case CURL: return "curl License."; 2600 case DFSL1_0: return "Deutsche Freie Software Lizenz."; 2601 case DIFFMARK: return "diffmark license."; 2602 case DOC: return "DOC License."; 2603 case DOTSEQN: return "Dotseqn License."; 2604 case DSDP: return "DSDP License."; 2605 case DVIPDFM: return "dvipdfm License."; 2606 case ECL1_0: return "Educational Community License v1.0."; 2607 case ECL2_0: return "Educational Community License v2.0."; 2608 case EFL1_0: return "Eiffel Forum License v1.0."; 2609 case EFL2_0: return "Eiffel Forum License v2.0."; 2610 case EGENIX: return "eGenix.com Public License 1.1.0."; 2611 case ENTESSA: return "Entessa Public License v1.0."; 2612 case EPL1_0: return "Eclipse Public License 1.0."; 2613 case EPL2_0: return "Eclipse Public License 2.0."; 2614 case ERLPL1_1: return "Erlang Public License v1.1."; 2615 case EUDATAGRID: return "EU DataGrid Software License."; 2616 case EUPL1_0: return "European Union Public License 1.0."; 2617 case EUPL1_1: return "European Union Public License 1.1."; 2618 case EUPL1_2: return "European Union Public License 1.2."; 2619 case EUROSYM: return "Eurosym License."; 2620 case FAIR: return "Fair License."; 2621 case FRAMEWORX1_0: return "Frameworx Open License 1.0."; 2622 case FREEIMAGE: return "FreeImage Public License v1.0."; 2623 case FSFAP: return "FSF All Permissive License."; 2624 case FSFUL: return "FSF Unlimited License."; 2625 case FSFULLR: return "FSF Unlimited License (with License Retention)."; 2626 case FTL: return "Freetype Project License."; 2627 case GFDL1_1ONLY: return "GNU Free Documentation License v1.1 only."; 2628 case GFDL1_1ORLATER: return "GNU Free Documentation License v1.1 or later."; 2629 case GFDL1_2ONLY: return "GNU Free Documentation License v1.2 only."; 2630 case GFDL1_2ORLATER: return "GNU Free Documentation License v1.2 or later."; 2631 case GFDL1_3ONLY: return "GNU Free Documentation License v1.3 only."; 2632 case GFDL1_3ORLATER: return "GNU Free Documentation License v1.3 or later."; 2633 case GIFTWARE: return "Giftware License."; 2634 case GL2PS: return "GL2PS License."; 2635 case GLIDE: return "3dfx Glide License."; 2636 case GLULXE: return "Glulxe License."; 2637 case GNUPLOT: return "gnuplot License."; 2638 case GPL1_0ONLY: return "GNU General Public License v1.0 only."; 2639 case GPL1_0ORLATER: return "GNU General Public License v1.0 or later."; 2640 case GPL2_0ONLY: return "GNU General Public License v2.0 only."; 2641 case GPL2_0ORLATER: return "GNU General Public License v2.0 or later."; 2642 case GPL3_0ONLY: return "GNU General Public License v3.0 only."; 2643 case GPL3_0ORLATER: return "GNU General Public License v3.0 or later."; 2644 case GSOAP1_3B: return "gSOAP Public License v1.3b."; 2645 case HASKELLREPORT: return "Haskell Language Report License."; 2646 case HPND: return "Historical Permission Notice and Disclaimer."; 2647 case IBMPIBS: return "IBM PowerPC Initialization and Boot Software."; 2648 case ICU: return "ICU License."; 2649 case IJG: return "Independent JPEG Group License."; 2650 case IMAGEMAGICK: return "ImageMagick License."; 2651 case IMATIX: return "iMatix Standard Function Library Agreement."; 2652 case IMLIB2: return "Imlib2 License."; 2653 case INFOZIP: return "Info-ZIP License."; 2654 case INTELACPI: return "Intel ACPI Software License Agreement."; 2655 case INTEL: return "Intel Open Source License."; 2656 case INTERBASE1_0: return "Interbase Public License v1.0."; 2657 case IPA: return "IPA Font License."; 2658 case IPL1_0: return "IBM Public License v1.0."; 2659 case ISC: return "ISC License."; 2660 case JASPER2_0: return "JasPer License."; 2661 case JSON: return "JSON License."; 2662 case LAL1_2: return "Licence Art Libre 1.2."; 2663 case LAL1_3: return "Licence Art Libre 1.3."; 2664 case LATEX2E: return "Latex2e License."; 2665 case LEPTONICA: return "Leptonica License."; 2666 case LGPL2_0ONLY: return "GNU Library General Public License v2 only."; 2667 case LGPL2_0ORLATER: return "GNU Library General Public License v2 or later."; 2668 case LGPL2_1ONLY: return "GNU Lesser General Public License v2.1 only."; 2669 case LGPL2_1ORLATER: return "GNU Lesser General Public License v2.1 or later."; 2670 case LGPL3_0ONLY: return "GNU Lesser General Public License v3.0 only."; 2671 case LGPL3_0ORLATER: return "GNU Lesser General Public License v3.0 or later."; 2672 case LGPLLR: return "Lesser General Public License For Linguistic Resources."; 2673 case LIBPNG: return "libpng License."; 2674 case LIBTIFF: return "libtiff License."; 2675 case LILIQP1_1: return "Licence Libre du Québec – Permissive version 1.1."; 2676 case LILIQR1_1: return "Licence Libre du Québec – Réciprocité version 1.1."; 2677 case LILIQRPLUS1_1: return "Licence Libre du Québec – Réciprocité forte version 1.1."; 2678 case LINUXOPENIB: return "Linux Kernel Variant of OpenIB.org license."; 2679 case LPL1_0: return "Lucent Public License Version 1.0."; 2680 case LPL1_02: return "Lucent Public License v1.02."; 2681 case LPPL1_0: return "LaTeX Project Public License v1.0."; 2682 case LPPL1_1: return "LaTeX Project Public License v1.1."; 2683 case LPPL1_2: return "LaTeX Project Public License v1.2."; 2684 case LPPL1_3A: return "LaTeX Project Public License v1.3a."; 2685 case LPPL1_3C: return "LaTeX Project Public License v1.3c."; 2686 case MAKEINDEX: return "MakeIndex License."; 2687 case MIROS: return "MirOS License."; 2688 case MIT0: return "MIT No Attribution."; 2689 case MITADVERTISING: return "Enlightenment License (e16)."; 2690 case MITCMU: return "CMU License."; 2691 case MITENNA: return "enna License."; 2692 case MITFEH: return "feh License."; 2693 case MIT: return "MIT License."; 2694 case MITNFA: return "MIT +no-false-attribs license."; 2695 case MOTOSOTO: return "Motosoto License."; 2696 case MPICH2: return "mpich2 License."; 2697 case MPL1_0: return "Mozilla Public License 1.0."; 2698 case MPL1_1: return "Mozilla Public License 1.1."; 2699 case MPL2_0NOCOPYLEFTEXCEPTION: return "Mozilla Public License 2.0 (no copyleft exception)."; 2700 case MPL2_0: return "Mozilla Public License 2.0."; 2701 case MSPL: return "Microsoft Public License."; 2702 case MSRL: return "Microsoft Reciprocal License."; 2703 case MTLL: return "Matrix Template Library License."; 2704 case MULTICS: return "Multics License."; 2705 case MUP: return "Mup License."; 2706 case NASA1_3: return "NASA Open Source Agreement 1.3."; 2707 case NAUMEN: return "Naumen Public License."; 2708 case NBPL1_0: return "Net Boolean Public License v1."; 2709 case NCSA: return "University of Illinois/NCSA Open Source License."; 2710 case NETSNMP: return "Net-SNMP License."; 2711 case NETCDF: return "NetCDF license."; 2712 case NEWSLETR: return "Newsletr License."; 2713 case NGPL: return "Nethack General Public License."; 2714 case NLOD1_0: return "Norwegian Licence for Open Government Data."; 2715 case NLPL: return "No Limit Public License."; 2716 case NOKIA: return "Nokia Open Source License."; 2717 case NOSL: return "Netizen Open Source License."; 2718 case NOWEB: return "Noweb License."; 2719 case NPL1_0: return "Netscape Public License v1.0."; 2720 case NPL1_1: return "Netscape Public License v1.1."; 2721 case NPOSL3_0: return "Non-Profit Open Software License 3.0."; 2722 case NRL: return "NRL License."; 2723 case NTP: return "NTP License."; 2724 case OCCTPL: return "Open CASCADE Technology Public License."; 2725 case OCLC2_0: return "OCLC Research Public License 2.0."; 2726 case ODBL1_0: return "ODC Open Database License v1.0."; 2727 case OFL1_0: return "SIL Open Font License 1.0."; 2728 case OFL1_1: return "SIL Open Font License 1.1."; 2729 case OGTSL: return "Open Group Test Suite License."; 2730 case OLDAP1_1: return "Open LDAP Public License v1.1."; 2731 case OLDAP1_2: return "Open LDAP Public License v1.2."; 2732 case OLDAP1_3: return "Open LDAP Public License v1.3."; 2733 case OLDAP1_4: return "Open LDAP Public License v1.4."; 2734 case OLDAP2_0_1: return "Open LDAP Public License v2.0.1."; 2735 case OLDAP2_0: return "Open LDAP Public License v2.0 (or possibly 2.0A and 2.0B)."; 2736 case OLDAP2_1: return "Open LDAP Public License v2.1."; 2737 case OLDAP2_2_1: return "Open LDAP Public License v2.2.1."; 2738 case OLDAP2_2_2: return "Open LDAP Public License 2.2.2."; 2739 case OLDAP2_2: return "Open LDAP Public License v2.2."; 2740 case OLDAP2_3: return "Open LDAP Public License v2.3."; 2741 case OLDAP2_4: return "Open LDAP Public License v2.4."; 2742 case OLDAP2_5: return "Open LDAP Public License v2.5."; 2743 case OLDAP2_6: return "Open LDAP Public License v2.6."; 2744 case OLDAP2_7: return "Open LDAP Public License v2.7."; 2745 case OLDAP2_8: return "Open LDAP Public License v2.8."; 2746 case OML: return "Open Market License."; 2747 case OPENSSL: return "OpenSSL License."; 2748 case OPL1_0: return "Open Public License v1.0."; 2749 case OSETPL2_1: return "OSET Public License version 2.1."; 2750 case OSL1_0: return "Open Software License 1.0."; 2751 case OSL1_1: return "Open Software License 1.1."; 2752 case OSL2_0: return "Open Software License 2.0."; 2753 case OSL2_1: return "Open Software License 2.1."; 2754 case OSL3_0: return "Open Software License 3.0."; 2755 case PDDL1_0: return "ODC Public Domain Dedication & License 1.0."; 2756 case PHP3_0: return "PHP License v3.0."; 2757 case PHP3_01: return "PHP License v3.01."; 2758 case PLEXUS: return "Plexus Classworlds License."; 2759 case POSTGRESQL: return "PostgreSQL License."; 2760 case PSFRAG: return "psfrag License."; 2761 case PSUTILS: return "psutils License."; 2762 case PYTHON2_0: return "Python License 2.0."; 2763 case QHULL: return "Qhull License."; 2764 case QPL1_0: return "Q Public License 1.0."; 2765 case RDISC: return "Rdisc License."; 2766 case RHECOS1_1: return "Red Hat eCos Public License v1.1."; 2767 case RPL1_1: return "Reciprocal Public License 1.1."; 2768 case RPL1_5: return "Reciprocal Public License 1.5."; 2769 case RPSL1_0: return "RealNetworks Public Source License v1.0."; 2770 case RSAMD: return "RSA Message-Digest License."; 2771 case RSCPL: return "Ricoh Source Code Public License."; 2772 case RUBY: return "Ruby License."; 2773 case SAXPD: return "Sax Public Domain Notice."; 2774 case SAXPATH: return "Saxpath License."; 2775 case SCEA: return "SCEA Shared Source License."; 2776 case SENDMAIL: return "Sendmail License."; 2777 case SGIB1_0: return "SGI Free Software License B v1.0."; 2778 case SGIB1_1: return "SGI Free Software License B v1.1."; 2779 case SGIB2_0: return "SGI Free Software License B v2.0."; 2780 case SIMPL2_0: return "Simple Public License 2.0."; 2781 case SISSL1_2: return "Sun Industry Standards Source License v1.2."; 2782 case SISSL: return "Sun Industry Standards Source License v1.1."; 2783 case SLEEPYCAT: return "Sleepycat License."; 2784 case SMLNJ: return "Standard ML of New Jersey License."; 2785 case SMPPL: return "Secure Messaging Protocol Public License."; 2786 case SNIA: return "SNIA Public License 1.1."; 2787 case SPENCER86: return "Spencer License 86."; 2788 case SPENCER94: return "Spencer License 94."; 2789 case SPENCER99: return "Spencer License 99."; 2790 case SPL1_0: return "Sun Public License v1.0."; 2791 case SUGARCRM1_1_3: return "SugarCRM Public License v1.1.3."; 2792 case SWL: return "Scheme Widget Library (SWL) Software License Agreement."; 2793 case TCL: return "TCL/TK License."; 2794 case TCPWRAPPERS: return "TCP Wrappers License."; 2795 case TMATE: return "TMate Open Source License."; 2796 case TORQUE1_1: return "TORQUE v2.5+ Software License v1.1."; 2797 case TOSL: return "Trusster Open Source License."; 2798 case UNICODEDFS2015: return "Unicode License Agreement - Data Files and Software (2015)."; 2799 case UNICODEDFS2016: return "Unicode License Agreement - Data Files and Software (2016)."; 2800 case UNICODETOU: return "Unicode Terms of Use."; 2801 case UNLICENSE: return "The Unlicense."; 2802 case UPL1_0: return "Universal Permissive License v1.0."; 2803 case VIM: return "Vim License."; 2804 case VOSTROM: return "VOSTROM Public License for Open Source."; 2805 case VSL1_0: return "Vovida Software License v1.0."; 2806 case W3C19980720: return "W3C Software Notice and License (1998-07-20)."; 2807 case W3C20150513: return "W3C Software Notice and Document License (2015-05-13)."; 2808 case W3C: return "W3C Software Notice and License (2002-12-31)."; 2809 case WATCOM1_0: return "Sybase Open Watcom Public License 1.0."; 2810 case WSUIPA: return "Wsuipa License."; 2811 case WTFPL: return "Do What The F*ck You Want To Public License."; 2812 case X11: return "X11 License."; 2813 case XEROX: return "Xerox License."; 2814 case XFREE861_1: return "XFree86 License 1.1."; 2815 case XINETD: return "xinetd License."; 2816 case XNET: return "X.Net License."; 2817 case XPP: return "XPP License."; 2818 case XSKAT: return "XSkat License."; 2819 case YPL1_0: return "Yahoo! Public License v1.0."; 2820 case YPL1_1: return "Yahoo! Public License v1.1."; 2821 case ZED: return "Zed License."; 2822 case ZEND2_0: return "Zend License v2.0."; 2823 case ZIMBRA1_3: return "Zimbra Public License v1.3."; 2824 case ZIMBRA1_4: return "Zimbra Public License v1.4."; 2825 case ZLIBACKNOWLEDGEMENT: return "zlib/libpng License with Acknowledgement."; 2826 case ZLIB: return "zlib License."; 2827 case ZPL1_1: return "Zope Public License 1.1."; 2828 case ZPL2_0: return "Zope Public License 2.0."; 2829 case ZPL2_1: return "Zope Public License 2.1."; 2830 case NULL: return null; 2831 default: return "?"; 2832 } 2833 } 2834 public String getDisplay() { 2835 switch (this) { 2836 case NOTOPENSOURCE: return "Not open source"; 2837 case _0BSD: return "BSD Zero Clause License"; 2838 case AAL: return "Attribution Assurance License"; 2839 case ABSTYLES: return "Abstyles License"; 2840 case ADOBE2006: return "Adobe Systems Incorporated Source Code License Agreement"; 2841 case ADOBEGLYPH: return "Adobe Glyph List License"; 2842 case ADSL: return "Amazon Digital Services License"; 2843 case AFL1_1: return "Academic Free License v1.1"; 2844 case AFL1_2: return "Academic Free License v1.2"; 2845 case AFL2_0: return "Academic Free License v2.0"; 2846 case AFL2_1: return "Academic Free License v2.1"; 2847 case AFL3_0: return "Academic Free License v3.0"; 2848 case AFMPARSE: return "Afmparse License"; 2849 case AGPL1_0ONLY: return "Affero General Public License v1.0 only"; 2850 case AGPL1_0ORLATER: return "Affero General Public License v1.0 or later"; 2851 case AGPL3_0ONLY: return "GNU Affero General Public License v3.0 only"; 2852 case AGPL3_0ORLATER: return "GNU Affero General Public License v3.0 or later"; 2853 case ALADDIN: return "Aladdin Free Public License"; 2854 case AMDPLPA: return "AMD's plpa_map.c License"; 2855 case AML: return "Apple MIT License"; 2856 case AMPAS: return "Academy of Motion Picture Arts and Sciences BSD"; 2857 case ANTLRPD: return "ANTLR Software Rights Notice"; 2858 case APACHE1_0: return "Apache License 1.0"; 2859 case APACHE1_1: return "Apache License 1.1"; 2860 case APACHE2_0: return "Apache License 2.0"; 2861 case APAFML: return "Adobe Postscript AFM License"; 2862 case APL1_0: return "Adaptive Public License 1.0"; 2863 case APSL1_0: return "Apple Public Source License 1.0"; 2864 case APSL1_1: return "Apple Public Source License 1.1"; 2865 case APSL1_2: return "Apple Public Source License 1.2"; 2866 case APSL2_0: return "Apple Public Source License 2.0"; 2867 case ARTISTIC1_0CL8: return "Artistic License 1.0 w/clause 8"; 2868 case ARTISTIC1_0PERL: return "Artistic License 1.0 (Perl)"; 2869 case ARTISTIC1_0: return "Artistic License 1.0"; 2870 case ARTISTIC2_0: return "Artistic License 2.0"; 2871 case BAHYPH: return "Bahyph License"; 2872 case BARR: return "Barr License"; 2873 case BEERWARE: return "Beerware License"; 2874 case BITTORRENT1_0: return "BitTorrent Open Source License v1.0"; 2875 case BITTORRENT1_1: return "BitTorrent Open Source License v1.1"; 2876 case BORCEUX: return "Borceux license"; 2877 case BSD1CLAUSE: return "BSD 1-Clause License"; 2878 case BSD2CLAUSEFREEBSD: return "BSD 2-Clause FreeBSD License"; 2879 case BSD2CLAUSENETBSD: return "BSD 2-Clause NetBSD License"; 2880 case BSD2CLAUSEPATENT: return "BSD-2-Clause Plus Patent License"; 2881 case BSD2CLAUSE: return "BSD 2-Clause \"Simplified\" License"; 2882 case BSD3CLAUSEATTRIBUTION: return "BSD with attribution"; 2883 case BSD3CLAUSECLEAR: return "BSD 3-Clause Clear License"; 2884 case BSD3CLAUSELBNL: return "Lawrence Berkeley National Labs BSD variant license"; 2885 case BSD3CLAUSENONUCLEARLICENSE2014: return "BSD 3-Clause No Nuclear License 2014"; 2886 case BSD3CLAUSENONUCLEARLICENSE: return "BSD 3-Clause No Nuclear License"; 2887 case BSD3CLAUSENONUCLEARWARRANTY: return "BSD 3-Clause No Nuclear Warranty"; 2888 case BSD3CLAUSE: return "BSD 3-Clause \"New\" or \"Revised\" License"; 2889 case BSD4CLAUSEUC: return "BSD-4-Clause (University of California-Specific)"; 2890 case BSD4CLAUSE: return "BSD 4-Clause \"Original\" or \"Old\" License"; 2891 case BSDPROTECTION: return "BSD Protection License"; 2892 case BSDSOURCECODE: return "BSD Source Code Attribution"; 2893 case BSL1_0: return "Boost Software License 1.0"; 2894 case BZIP21_0_5: return "bzip2 and libbzip2 License v1.0.5"; 2895 case BZIP21_0_6: return "bzip2 and libbzip2 License v1.0.6"; 2896 case CALDERA: return "Caldera License"; 2897 case CATOSL1_1: return "Computer Associates Trusted Open Source License 1.1"; 2898 case CCBY1_0: return "Creative Commons Attribution 1.0 Generic"; 2899 case CCBY2_0: return "Creative Commons Attribution 2.0 Generic"; 2900 case CCBY2_5: return "Creative Commons Attribution 2.5 Generic"; 2901 case CCBY3_0: return "Creative Commons Attribution 3.0 Unported"; 2902 case CCBY4_0: return "Creative Commons Attribution 4.0 International"; 2903 case CCBYNC1_0: return "Creative Commons Attribution Non Commercial 1.0 Generic"; 2904 case CCBYNC2_0: return "Creative Commons Attribution Non Commercial 2.0 Generic"; 2905 case CCBYNC2_5: return "Creative Commons Attribution Non Commercial 2.5 Generic"; 2906 case CCBYNC3_0: return "Creative Commons Attribution Non Commercial 3.0 Unported"; 2907 case CCBYNC4_0: return "Creative Commons Attribution Non Commercial 4.0 International"; 2908 case CCBYNCND1_0: return "Creative Commons Attribution Non Commercial No Derivatives 1.0 Generic"; 2909 case CCBYNCND2_0: return "Creative Commons Attribution Non Commercial No Derivatives 2.0 Generic"; 2910 case CCBYNCND2_5: return "Creative Commons Attribution Non Commercial No Derivatives 2.5 Generic"; 2911 case CCBYNCND3_0: return "Creative Commons Attribution Non Commercial No Derivatives 3.0 Unported"; 2912 case CCBYNCND4_0: return "Creative Commons Attribution Non Commercial No Derivatives 4.0 International"; 2913 case CCBYNCSA1_0: return "Creative Commons Attribution Non Commercial Share Alike 1.0 Generic"; 2914 case CCBYNCSA2_0: return "Creative Commons Attribution Non Commercial Share Alike 2.0 Generic"; 2915 case CCBYNCSA2_5: return "Creative Commons Attribution Non Commercial Share Alike 2.5 Generic"; 2916 case CCBYNCSA3_0: return "Creative Commons Attribution Non Commercial Share Alike 3.0 Unported"; 2917 case CCBYNCSA4_0: return "Creative Commons Attribution Non Commercial Share Alike 4.0 International"; 2918 case CCBYND1_0: return "Creative Commons Attribution No Derivatives 1.0 Generic"; 2919 case CCBYND2_0: return "Creative Commons Attribution No Derivatives 2.0 Generic"; 2920 case CCBYND2_5: return "Creative Commons Attribution No Derivatives 2.5 Generic"; 2921 case CCBYND3_0: return "Creative Commons Attribution No Derivatives 3.0 Unported"; 2922 case CCBYND4_0: return "Creative Commons Attribution No Derivatives 4.0 International"; 2923 case CCBYSA1_0: return "Creative Commons Attribution Share Alike 1.0 Generic"; 2924 case CCBYSA2_0: return "Creative Commons Attribution Share Alike 2.0 Generic"; 2925 case CCBYSA2_5: return "Creative Commons Attribution Share Alike 2.5 Generic"; 2926 case CCBYSA3_0: return "Creative Commons Attribution Share Alike 3.0 Unported"; 2927 case CCBYSA4_0: return "Creative Commons Attribution Share Alike 4.0 International"; 2928 case CC01_0: return "Creative Commons Zero v1.0 Universal"; 2929 case CDDL1_0: return "Common Development and Distribution License 1.0"; 2930 case CDDL1_1: return "Common Development and Distribution License 1.1"; 2931 case CDLAPERMISSIVE1_0: return "Community Data License Agreement Permissive 1.0"; 2932 case CDLASHARING1_0: return "Community Data License Agreement Sharing 1.0"; 2933 case CECILL1_0: return "CeCILL Free Software License Agreement v1.0"; 2934 case CECILL1_1: return "CeCILL Free Software License Agreement v1.1"; 2935 case CECILL2_0: return "CeCILL Free Software License Agreement v2.0"; 2936 case CECILL2_1: return "CeCILL Free Software License Agreement v2.1"; 2937 case CECILLB: return "CeCILL-B Free Software License Agreement"; 2938 case CECILLC: return "CeCILL-C Free Software License Agreement"; 2939 case CLARTISTIC: return "Clarified Artistic License"; 2940 case CNRIJYTHON: return "CNRI Jython License"; 2941 case CNRIPYTHONGPLCOMPATIBLE: return "CNRI Python Open Source GPL Compatible License Agreement"; 2942 case CNRIPYTHON: return "CNRI Python License"; 2943 case CONDOR1_1: return "Condor Public License v1.1"; 2944 case CPAL1_0: return "Common Public Attribution License 1.0"; 2945 case CPL1_0: return "Common Public License 1.0"; 2946 case CPOL1_02: return "Code Project Open License 1.02"; 2947 case CROSSWORD: return "Crossword License"; 2948 case CRYSTALSTACKER: return "CrystalStacker License"; 2949 case CUAOPL1_0: return "CUA Office Public License v1.0"; 2950 case CUBE: return "Cube License"; 2951 case CURL: return "curl License"; 2952 case DFSL1_0: return "Deutsche Freie Software Lizenz"; 2953 case DIFFMARK: return "diffmark license"; 2954 case DOC: return "DOC License"; 2955 case DOTSEQN: return "Dotseqn License"; 2956 case DSDP: return "DSDP License"; 2957 case DVIPDFM: return "dvipdfm License"; 2958 case ECL1_0: return "Educational Community License v1.0"; 2959 case ECL2_0: return "Educational Community License v2.0"; 2960 case EFL1_0: return "Eiffel Forum License v1.0"; 2961 case EFL2_0: return "Eiffel Forum License v2.0"; 2962 case EGENIX: return "eGenix.com Public License 1.1.0"; 2963 case ENTESSA: return "Entessa Public License v1.0"; 2964 case EPL1_0: return "Eclipse Public License 1.0"; 2965 case EPL2_0: return "Eclipse Public License 2.0"; 2966 case ERLPL1_1: return "Erlang Public License v1.1"; 2967 case EUDATAGRID: return "EU DataGrid Software License"; 2968 case EUPL1_0: return "European Union Public License 1.0"; 2969 case EUPL1_1: return "European Union Public License 1.1"; 2970 case EUPL1_2: return "European Union Public License 1.2"; 2971 case EUROSYM: return "Eurosym License"; 2972 case FAIR: return "Fair License"; 2973 case FRAMEWORX1_0: return "Frameworx Open License 1.0"; 2974 case FREEIMAGE: return "FreeImage Public License v1.0"; 2975 case FSFAP: return "FSF All Permissive License"; 2976 case FSFUL: return "FSF Unlimited License"; 2977 case FSFULLR: return "FSF Unlimited License (with License Retention)"; 2978 case FTL: return "Freetype Project License"; 2979 case GFDL1_1ONLY: return "GNU Free Documentation License v1.1 only"; 2980 case GFDL1_1ORLATER: return "GNU Free Documentation License v1.1 or later"; 2981 case GFDL1_2ONLY: return "GNU Free Documentation License v1.2 only"; 2982 case GFDL1_2ORLATER: return "GNU Free Documentation License v1.2 or later"; 2983 case GFDL1_3ONLY: return "GNU Free Documentation License v1.3 only"; 2984 case GFDL1_3ORLATER: return "GNU Free Documentation License v1.3 or later"; 2985 case GIFTWARE: return "Giftware License"; 2986 case GL2PS: return "GL2PS License"; 2987 case GLIDE: return "3dfx Glide License"; 2988 case GLULXE: return "Glulxe License"; 2989 case GNUPLOT: return "gnuplot License"; 2990 case GPL1_0ONLY: return "GNU General Public License v1.0 only"; 2991 case GPL1_0ORLATER: return "GNU General Public License v1.0 or later"; 2992 case GPL2_0ONLY: return "GNU General Public License v2.0 only"; 2993 case GPL2_0ORLATER: return "GNU General Public License v2.0 or later"; 2994 case GPL3_0ONLY: return "GNU General Public License v3.0 only"; 2995 case GPL3_0ORLATER: return "GNU General Public License v3.0 or later"; 2996 case GSOAP1_3B: return "gSOAP Public License v1.3b"; 2997 case HASKELLREPORT: return "Haskell Language Report License"; 2998 case HPND: return "Historical Permission Notice and Disclaimer"; 2999 case IBMPIBS: return "IBM PowerPC Initialization and Boot Software"; 3000 case ICU: return "ICU License"; 3001 case IJG: return "Independent JPEG Group License"; 3002 case IMAGEMAGICK: return "ImageMagick License"; 3003 case IMATIX: return "iMatix Standard Function Library Agreement"; 3004 case IMLIB2: return "Imlib2 License"; 3005 case INFOZIP: return "Info-ZIP License"; 3006 case INTELACPI: return "Intel ACPI Software License Agreement"; 3007 case INTEL: return "Intel Open Source License"; 3008 case INTERBASE1_0: return "Interbase Public License v1.0"; 3009 case IPA: return "IPA Font License"; 3010 case IPL1_0: return "IBM Public License v1.0"; 3011 case ISC: return "ISC License"; 3012 case JASPER2_0: return "JasPer License"; 3013 case JSON: return "JSON License"; 3014 case LAL1_2: return "Licence Art Libre 1.2"; 3015 case LAL1_3: return "Licence Art Libre 1.3"; 3016 case LATEX2E: return "Latex2e License"; 3017 case LEPTONICA: return "Leptonica License"; 3018 case LGPL2_0ONLY: return "GNU Library General Public License v2 only"; 3019 case LGPL2_0ORLATER: return "GNU Library General Public License v2 or later"; 3020 case LGPL2_1ONLY: return "GNU Lesser General Public License v2.1 only"; 3021 case LGPL2_1ORLATER: return "GNU Lesser General Public License v2.1 or later"; 3022 case LGPL3_0ONLY: return "GNU Lesser General Public License v3.0 only"; 3023 case LGPL3_0ORLATER: return "GNU Lesser General Public License v3.0 or later"; 3024 case LGPLLR: return "Lesser General Public License For Linguistic Resources"; 3025 case LIBPNG: return "libpng License"; 3026 case LIBTIFF: return "libtiff License"; 3027 case LILIQP1_1: return "Licence Libre du Québec – Permissive version 1.1"; 3028 case LILIQR1_1: return "Licence Libre du Québec – Réciprocité version 1.1"; 3029 case LILIQRPLUS1_1: return "Licence Libre du Québec – Réciprocité forte version 1.1"; 3030 case LINUXOPENIB: return "Linux Kernel Variant of OpenIB.org license"; 3031 case LPL1_0: return "Lucent Public License Version 1.0"; 3032 case LPL1_02: return "Lucent Public License v1.02"; 3033 case LPPL1_0: return "LaTeX Project Public License v1.0"; 3034 case LPPL1_1: return "LaTeX Project Public License v1.1"; 3035 case LPPL1_2: return "LaTeX Project Public License v1.2"; 3036 case LPPL1_3A: return "LaTeX Project Public License v1.3a"; 3037 case LPPL1_3C: return "LaTeX Project Public License v1.3c"; 3038 case MAKEINDEX: return "MakeIndex License"; 3039 case MIROS: return "MirOS License"; 3040 case MIT0: return "MIT No Attribution"; 3041 case MITADVERTISING: return "Enlightenment License (e16)"; 3042 case MITCMU: return "CMU License"; 3043 case MITENNA: return "enna License"; 3044 case MITFEH: return "feh License"; 3045 case MIT: return "MIT License"; 3046 case MITNFA: return "MIT +no-false-attribs license"; 3047 case MOTOSOTO: return "Motosoto License"; 3048 case MPICH2: return "mpich2 License"; 3049 case MPL1_0: return "Mozilla Public License 1.0"; 3050 case MPL1_1: return "Mozilla Public License 1.1"; 3051 case MPL2_0NOCOPYLEFTEXCEPTION: return "Mozilla Public License 2.0 (no copyleft exception)"; 3052 case MPL2_0: return "Mozilla Public License 2.0"; 3053 case MSPL: return "Microsoft Public License"; 3054 case MSRL: return "Microsoft Reciprocal License"; 3055 case MTLL: return "Matrix Template Library License"; 3056 case MULTICS: return "Multics License"; 3057 case MUP: return "Mup License"; 3058 case NASA1_3: return "NASA Open Source Agreement 1.3"; 3059 case NAUMEN: return "Naumen Public License"; 3060 case NBPL1_0: return "Net Boolean Public License v1"; 3061 case NCSA: return "University of Illinois/NCSA Open Source License"; 3062 case NETSNMP: return "Net-SNMP License"; 3063 case NETCDF: return "NetCDF license"; 3064 case NEWSLETR: return "Newsletr License"; 3065 case NGPL: return "Nethack General Public License"; 3066 case NLOD1_0: return "Norwegian Licence for Open Government Data"; 3067 case NLPL: return "No Limit Public License"; 3068 case NOKIA: return "Nokia Open Source License"; 3069 case NOSL: return "Netizen Open Source License"; 3070 case NOWEB: return "Noweb License"; 3071 case NPL1_0: return "Netscape Public License v1.0"; 3072 case NPL1_1: return "Netscape Public License v1.1"; 3073 case NPOSL3_0: return "Non-Profit Open Software License 3.0"; 3074 case NRL: return "NRL License"; 3075 case NTP: return "NTP License"; 3076 case OCCTPL: return "Open CASCADE Technology Public License"; 3077 case OCLC2_0: return "OCLC Research Public License 2.0"; 3078 case ODBL1_0: return "ODC Open Database License v1.0"; 3079 case OFL1_0: return "SIL Open Font License 1.0"; 3080 case OFL1_1: return "SIL Open Font License 1.1"; 3081 case OGTSL: return "Open Group Test Suite License"; 3082 case OLDAP1_1: return "Open LDAP Public License v1.1"; 3083 case OLDAP1_2: return "Open LDAP Public License v1.2"; 3084 case OLDAP1_3: return "Open LDAP Public License v1.3"; 3085 case OLDAP1_4: return "Open LDAP Public License v1.4"; 3086 case OLDAP2_0_1: return "Open LDAP Public License v2.0.1"; 3087 case OLDAP2_0: return "Open LDAP Public License v2.0 (or possibly 2.0A and 2.0B)"; 3088 case OLDAP2_1: return "Open LDAP Public License v2.1"; 3089 case OLDAP2_2_1: return "Open LDAP Public License v2.2.1"; 3090 case OLDAP2_2_2: return "Open LDAP Public License 2.2.2"; 3091 case OLDAP2_2: return "Open LDAP Public License v2.2"; 3092 case OLDAP2_3: return "Open LDAP Public License v2.3"; 3093 case OLDAP2_4: return "Open LDAP Public License v2.4"; 3094 case OLDAP2_5: return "Open LDAP Public License v2.5"; 3095 case OLDAP2_6: return "Open LDAP Public License v2.6"; 3096 case OLDAP2_7: return "Open LDAP Public License v2.7"; 3097 case OLDAP2_8: return "Open LDAP Public License v2.8"; 3098 case OML: return "Open Market License"; 3099 case OPENSSL: return "OpenSSL License"; 3100 case OPL1_0: return "Open Public License v1.0"; 3101 case OSETPL2_1: return "OSET Public License version 2.1"; 3102 case OSL1_0: return "Open Software License 1.0"; 3103 case OSL1_1: return "Open Software License 1.1"; 3104 case OSL2_0: return "Open Software License 2.0"; 3105 case OSL2_1: return "Open Software License 2.1"; 3106 case OSL3_0: return "Open Software License 3.0"; 3107 case PDDL1_0: return "ODC Public Domain Dedication & License 1.0"; 3108 case PHP3_0: return "PHP License v3.0"; 3109 case PHP3_01: return "PHP License v3.01"; 3110 case PLEXUS: return "Plexus Classworlds License"; 3111 case POSTGRESQL: return "PostgreSQL License"; 3112 case PSFRAG: return "psfrag License"; 3113 case PSUTILS: return "psutils License"; 3114 case PYTHON2_0: return "Python License 2.0"; 3115 case QHULL: return "Qhull License"; 3116 case QPL1_0: return "Q Public License 1.0"; 3117 case RDISC: return "Rdisc License"; 3118 case RHECOS1_1: return "Red Hat eCos Public License v1.1"; 3119 case RPL1_1: return "Reciprocal Public License 1.1"; 3120 case RPL1_5: return "Reciprocal Public License 1.5"; 3121 case RPSL1_0: return "RealNetworks Public Source License v1.0"; 3122 case RSAMD: return "RSA Message-Digest License"; 3123 case RSCPL: return "Ricoh Source Code Public License"; 3124 case RUBY: return "Ruby License"; 3125 case SAXPD: return "Sax Public Domain Notice"; 3126 case SAXPATH: return "Saxpath License"; 3127 case SCEA: return "SCEA Shared Source License"; 3128 case SENDMAIL: return "Sendmail License"; 3129 case SGIB1_0: return "SGI Free Software License B v1.0"; 3130 case SGIB1_1: return "SGI Free Software License B v1.1"; 3131 case SGIB2_0: return "SGI Free Software License B v2.0"; 3132 case SIMPL2_0: return "Simple Public License 2.0"; 3133 case SISSL1_2: return "Sun Industry Standards Source License v1.2"; 3134 case SISSL: return "Sun Industry Standards Source License v1.1"; 3135 case SLEEPYCAT: return "Sleepycat License"; 3136 case SMLNJ: return "Standard ML of New Jersey License"; 3137 case SMPPL: return "Secure Messaging Protocol Public License"; 3138 case SNIA: return "SNIA Public License 1.1"; 3139 case SPENCER86: return "Spencer License 86"; 3140 case SPENCER94: return "Spencer License 94"; 3141 case SPENCER99: return "Spencer License 99"; 3142 case SPL1_0: return "Sun Public License v1.0"; 3143 case SUGARCRM1_1_3: return "SugarCRM Public License v1.1.3"; 3144 case SWL: return "Scheme Widget Library (SWL) Software License Agreement"; 3145 case TCL: return "TCL/TK License"; 3146 case TCPWRAPPERS: return "TCP Wrappers License"; 3147 case TMATE: return "TMate Open Source License"; 3148 case TORQUE1_1: return "TORQUE v2.5+ Software License v1.1"; 3149 case TOSL: return "Trusster Open Source License"; 3150 case UNICODEDFS2015: return "Unicode License Agreement - Data Files and Software (2015)"; 3151 case UNICODEDFS2016: return "Unicode License Agreement - Data Files and Software (2016)"; 3152 case UNICODETOU: return "Unicode Terms of Use"; 3153 case UNLICENSE: return "The Unlicense"; 3154 case UPL1_0: return "Universal Permissive License v1.0"; 3155 case VIM: return "Vim License"; 3156 case VOSTROM: return "VOSTROM Public License for Open Source"; 3157 case VSL1_0: return "Vovida Software License v1.0"; 3158 case W3C19980720: return "W3C Software Notice and License (1998-07-20)"; 3159 case W3C20150513: return "W3C Software Notice and Document License (2015-05-13)"; 3160 case W3C: return "W3C Software Notice and License (2002-12-31)"; 3161 case WATCOM1_0: return "Sybase Open Watcom Public License 1.0"; 3162 case WSUIPA: return "Wsuipa License"; 3163 case WTFPL: return "Do What The F*ck You Want To Public License"; 3164 case X11: return "X11 License"; 3165 case XEROX: return "Xerox License"; 3166 case XFREE861_1: return "XFree86 License 1.1"; 3167 case XINETD: return "xinetd License"; 3168 case XNET: return "X.Net License"; 3169 case XPP: return "XPP License"; 3170 case XSKAT: return "XSkat License"; 3171 case YPL1_0: return "Yahoo! Public License v1.0"; 3172 case YPL1_1: return "Yahoo! Public License v1.1"; 3173 case ZED: return "Zed License"; 3174 case ZEND2_0: return "Zend License v2.0"; 3175 case ZIMBRA1_3: return "Zimbra Public License v1.3"; 3176 case ZIMBRA1_4: return "Zimbra Public License v1.4"; 3177 case ZLIBACKNOWLEDGEMENT: return "zlib/libpng License with Acknowledgement"; 3178 case ZLIB: return "zlib License"; 3179 case ZPL1_1: return "Zope Public License 1.1"; 3180 case ZPL2_0: return "Zope Public License 2.0"; 3181 case ZPL2_1: return "Zope Public License 2.1"; 3182 case NULL: return null; 3183 default: return "?"; 3184 } 3185 } 3186 3187 3188}