Enum Constant and Description |
---|
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 |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final ConRel has_hypernym
public static final ConRel has_hyponym
public static final ConRel has_component_meronym
public static final ConRel has_component_holonym
public static final ConRel has_member_meronym
public static final ConRel has_member_holonym
public static final ConRel has_substance_meronym
public static final ConRel has_substance_holonym
public static final ConRel has_portion_meronym
public static final ConRel has_portion_holonym
public static final ConRel entails
public static final ConRel is_entailed_by
public static final ConRel is_related_to
public static final ConRel causes
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 namejava.lang.NullPointerException
- if the argument is nullpublic static boolean isConRel(java.lang.String relName)
String
relName
represents a
valid ConRel
.relName
- the name of the relation to verifyString relName
represents a valid
ConRel
public boolean isTransitive()