Package it.uniroma1.lcl.babelnet.data
Enum BabelPointer.RelationGroup
- java.lang.Object
-
- java.lang.Enum<BabelPointer.RelationGroup>
-
- it.uniroma1.lcl.babelnet.data.BabelPointer.RelationGroup
-
- All Implemented Interfaces:
Serializable
,Comparable<BabelPointer.RelationGroup>
- Enclosing class:
- BabelPointer
public static enum BabelPointer.RelationGroup extends Enum<BabelPointer.RelationGroup>
Group of relations (used to bring together relations belonging to the same group)- Author:
- navigli
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BabelPointer.RelationGroup
valueOf(String name)
Returns the enum constant of this type with the specified name.static BabelPointer.RelationGroup[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HYPERNYM
public static final BabelPointer.RelationGroup HYPERNYM
-
HYPONYM
public static final BabelPointer.RelationGroup HYPONYM
-
MERONYM
public static final BabelPointer.RelationGroup MERONYM
-
HOLONYM
public static final BabelPointer.RelationGroup HOLONYM
-
OTHER
public static final BabelPointer.RelationGroup OTHER
-
-
Method Detail
-
values
public static BabelPointer.RelationGroup[] 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 (BabelPointer.RelationGroup c : BabelPointer.RelationGroup.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BabelPointer.RelationGroup 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
-
-