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