Enum BabelLicense
- All Implemented Interfaces:
Serializable, Comparable<BabelLicense>, java.lang.constant.Constable
License information for a BabelNet item.
- Author:
- navigli, vannella
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionApache 2.0 LicenseBabelNet NonCommercial licenseCreative Commons Attribution 3.0 LicenseCreative Commons Attribution 4.0 LicenseCreative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported LicenseCreative Commons Attribution-NonCommercial-ShareAlike 4.0 Unported LicenseCreative Commons Attribution-ShareAlike 3.0 LicenseCreative Commons Attribution-ShareAlike 4.0 InternationalCC0 1.0 UniversalCeCILL-C free software license agreementBabelscape commercial licenseGFDL 1.2 licenseMIT licenseMicrosoft language portal materials licenseODC-BY 1.0 licenseItems without specific licenses.All the permissive licenses without specific restrictionsWordNet license -
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<BabelLicense> getLongName(String stringName) Deprecated.For removal in the next releaseReturns the short name for this licensegetURI()Returns a URI associated with this licensestatic BabelLicenseReturns the enum constant of this type with the specified name.static BabelLicense[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNRESTRICTED
All the permissive licenses without specific restrictions -
CC_BY_SA_30
Creative Commons Attribution-ShareAlike 3.0 License- See Also:
-
CC_BY_SA_40
Creative Commons Attribution-ShareAlike 4.0 International- See Also:
-
CC_BY_30
-
CECILL_C
-
APACHE_20
-
CC_BY_NC_SA_30
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License- See Also:
-
MLP
-
OTHER
Items without specific licenses. -
WORDNET
-
MIT
-
ODC_BY_10
-
GFDL_12
-
BABELNET_NC
-
CC_BY_NC_SA_40
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 Unported License- See Also:
-
CC_BY_40
-
COMMERCIAL
Babelscape commercial license -
CC0_10
CC0 1.0 Universal
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getShortName
Returns the short name for this license- Returns:
- the short name for this license
-
getURI
-
getLongName
Deprecated.For removal in the next releaseReturns the BabelLicence for a given string- Parameters:
stringName- the license string- Returns:
- the corresponding license
-