public enum ConceptualRelation extends Enum<ConceptualRelation>
Enum Constant and Description |
---|
HOLONYMS
Part-of relations (Holonyms)
|
HYPERNYMS
Hypernyms
|
HYPONYMS
Hyponyms
|
MERONYMS
Part-of relations (Meronyms)
|
Modifier and Type | Method and Description |
---|---|
static ConceptualRelation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConceptualRelation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConceptualRelation HYPERNYMS
public static final ConceptualRelation HYPONYMS
public static final ConceptualRelation MERONYMS
public static final ConceptualRelation HOLONYMS
public static ConceptualRelation[] values()
for (ConceptualRelation c : ConceptualRelation.values()) System.out.println(c);
public static ConceptualRelation valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is null