Package it.uniroma1.lcl.babelnet.impl
Enum BabelNetIndexImageField
- java.lang.Object
-
- java.lang.Enum<BabelNetIndexImageField>
-
- it.uniroma1.lcl.babelnet.impl.BabelNetIndexImageField
-
- All Implemented Interfaces:
Serializable
,Comparable<BabelNetIndexImageField>
public enum BabelNetIndexImageField extends Enum<BabelNetIndexImageField>
Fields used to indexBabelImage
s Lucene index.- Author:
- vannella
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BabelNetIndexImageField
valueOf(String name)
Returns the enum constant of this type with the specified name.static BabelNetIndexImageField[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ID
public static final BabelNetIndexImageField ID
Id reference attribute type
-
SOURCE
public static final BabelNetIndexImageField SOURCE
WordNet, Wikipedia, OmegaWiki etc.
-
LANGUAGE
public static final BabelNetIndexImageField LANGUAGE
The language of WikiCommons page
-
TITLE
public static final BabelNetIndexImageField TITLE
Title image
-
URL
public static final BabelNetIndexImageField URL
URL Image
-
URL_THUMBNAIL
public static final BabelNetIndexImageField URL_THUMBNAIL
Thumbnail Url
-
LICENSE
public static final BabelNetIndexImageField LICENSE
License image
-
DATE
public static final BabelNetIndexImageField DATE
Date
-
BADIMAGE
public static final BabelNetIndexImageField BADIMAGE
is bad Image
-
-
Method Detail
-
values
public static BabelNetIndexImageField[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BabelNetIndexImageField c : BabelNetIndexImageField.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BabelNetIndexImageField valueOf(String name)
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
-
-