|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ConRel>
germanet.ConRel
public enum ConRel
Enumeration of all conceptual relations.
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 |
---|
public static final ConRel hyperonymy
public static final ConRel hyponymy
public static final ConRel meronymy
public static final ConRel holonymy
public static final ConRel entailment
public static final ConRel entailed
public static final ConRel causation
public static final ConRel caused
public static final ConRel association
Method Detail |
---|
public static ConRel[] values()
for (ConRel c : ConRel.values()) System.out.println(c);
public static ConRel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static boolean isRel(java.lang.String relName)
relName
- the name of the relation to verify
public boolean isTrans()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |