de.tuebingen.uni.sfs.germanet.api
Enum EwnRel
java.lang.Object
java.lang.Enum<EwnRel>
de.tuebingen.uni.sfs.germanet.api.EwnRel
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<EwnRel>
public enum EwnRel
- extends java.lang.Enum<EwnRel>
Enumeration of all lexical relations.
Method Summary |
static EwnRel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static EwnRel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
synonym
public static final EwnRel synonym
causes
public static final EwnRel causes
near_synonym
public static final EwnRel near_synonym
role
public static final EwnRel role
involved
public static final EwnRel involved
xpos_near_synonym
public static final EwnRel xpos_near_synonym
is_caused_by
public static final EwnRel is_caused_by
has_hyponym
public static final EwnRel has_hyponym
has_holonym
public static final EwnRel has_holonym
has_hyperonym
public static final EwnRel has_hyperonym
has_meronym
public static final EwnRel has_meronym
be_in_state
public static final EwnRel be_in_state
has_subevent
public static final EwnRel has_subevent
is_subevent_of
public static final EwnRel is_subevent_of
values
public static EwnRel[] 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 (EwnRel c : EwnRel.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static EwnRel valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null