germanet
Enum ConRel

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

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

Enumeration of all conceptual relations.

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

Enum Constant Summary
association
           
causation
           
caused
           
entailed
           
entailment
           
holonymy
           
hyperonymy
           
hyponymy
           
meronymy
           
 
Method Summary
static boolean isRel(java.lang.String relName)
          Return true if the String relName represents a valid ConRel.
 boolean isTrans()
          Returns true if this is a transitive relationship.
static ConRel valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ConRel[] 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

hyperonymy

public static final ConRel hyperonymy

hyponymy

public static final ConRel hyponymy

meronymy

public static final ConRel meronymy

holonymy

public static final ConRel holonymy

entailment

public static final ConRel entailment

entailed

public static final ConRel entailed

causation

public static final ConRel causation

caused

public static final ConRel caused

association

public static final ConRel association
Method Detail

values

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

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

valueOf

public static ConRel 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 ConRel.

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

isTrans

public boolean isTrans()
Returns true if this is a transitive relationship.

Returns:
true if this is a transitive relationship.