public enum PragmaticSense extends Enum<PragmaticSense>
Enum Constant and Description |
---|
CANON
Defines syntax for canonical graphs.
|
DEF
Defines a concept or relation definition.
|
FACT
Declares an observed or assumed fact.
|
GEN
A generic graph, with no particular pragmatic intent.
|
HIER
Contains a type or relation hierarchy.
|
NONE
not a known pragmatic sense.
|
QUERY
Contains a query to be resolved through inference.
|
RULE
A rewrite or transformation rule.
|
SCHEMA
Represents a schema of plausible or usual knowledge.
|
Modifier and Type | Field and Description |
---|---|
private String |
abbr |
private String |
definition |
private String |
label |
Modifier and Type | Method and Description |
---|---|
String |
abbr()
What is the abbreviation for this sense?
|
String |
definition() |
String |
label() |
static PragmaticSense |
SenseOf(String s) |
static PragmaticSense |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PragmaticSense[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PragmaticSense CANON
public static final PragmaticSense DEF
public static final PragmaticSense FACT
public static final PragmaticSense GEN
public static final PragmaticSense HIER
public static final PragmaticSense QUERY
public static final PragmaticSense RULE
public static final PragmaticSense SCHEMA
public static final PragmaticSense NONE
private String abbr
private String label
private String definition
public static PragmaticSense[] values()
for (PragmaticSense c : PragmaticSense.values()) System.out.println(c);
public static PragmaticSense 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 nullpublic String abbr()
public String label()
public String definition()
public static PragmaticSense SenseOf(String s)
s
- a label or abbreviation