germanet
Enum LexRel

java.lang.Object
  extended by java.lang.Enum<LexRel>
      extended by germanet.LexRel
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<LexRel>

public enum LexRel
extends java.lang.Enum<LexRel>

Enumeration of all lexical relations.

Version:
1.0
Author:
Marie Hinrichs (meh at sfs.uni-tuebingen.de)

Enum Constant Summary
antonymy
           
arg1
           
arg1_pred
           
arg2
           
arg2_pred
           
participleOf
           
pertonymy
           
synonymy
           
 
Method Summary
static boolean isRel(java.lang.String relName)
          Return true if the String relName represents a valid LexRel.
static LexRel valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static LexRel[] 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
 

Enum Constant Detail

synonymy

public static final LexRel synonymy

antonymy

public static final LexRel antonymy

pertonymy

public static final LexRel pertonymy

arg1

public static final LexRel arg1

arg1_pred

public static final LexRel arg1_pred

arg2

public static final LexRel arg2

arg2_pred

public static final LexRel arg2_pred

participleOf

public static final LexRel participleOf
Method Detail

values

public static LexRel[] 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 (LexRel c : LexRel.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static LexRel 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

isRel

public static boolean isRel(java.lang.String relName)
Return true if the String relName represents a valid LexRel.

Parameters:
relName - the name of the relation to verify
Returns:
true if the String relName represents a valid LexRel.