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