de.tuebingen.uni.sfs.germanet.api
Enum ConRel

java.lang.Object
  extended by java.lang.Enum<ConRel>
      extended by de.tuebingen.uni.sfs.germanet.api.ConRel
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ConRel>

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

Enumeration of all conceptual relations.


Enum Constant Summary
causes
           
entails
           
has_component_holonym
           
has_component_meronym
           
has_hypernym
           
has_hyponym
           
has_member_holonym
           
has_member_meronym
           
has_portion_holonym
           
has_portion_meronym
           
has_substance_holonym
           
has_substance_meronym
           
is_entailed_by
           
is_related_to
           
 
Method Summary
static boolean isConRel(java.lang.String relName)
          Returns true if the String relName represents a valid ConRel.
 boolean isTransitive()
          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

has_hypernym

public static final ConRel has_hypernym

has_hyponym

public static final ConRel has_hyponym

has_component_meronym

public static final ConRel has_component_meronym

has_component_holonym

public static final ConRel has_component_holonym

has_member_meronym

public static final ConRel has_member_meronym

has_member_holonym

public static final ConRel has_member_holonym

has_substance_meronym

public static final ConRel has_substance_meronym

has_substance_holonym

public static final ConRel has_substance_holonym

has_portion_meronym

public static final ConRel has_portion_meronym

has_portion_holonym

public static final ConRel has_portion_holonym

entails

public static final ConRel entails

is_entailed_by

public static final ConRel is_entailed_by

is_related_to

public static final ConRel is_related_to

causes

public static final ConRel causes
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

isConRel

public static boolean isConRel(java.lang.String relName)
Returns 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

isTransitive

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

Returns:
true if this is a transitive relationship.