public static enum Schema.EdgeLabel extends Enum<Schema.EdgeLabel>
| Enum Constant and Description |
|---|
CONCLUSION |
HAS_SCOPE |
HYPOTHESIS |
ISA |
PLAYS |
RELATES |
SHARD |
SHORTCUT |
SUB |
| Modifier and Type | Method and Description |
|---|---|
String |
getLabel() |
static Schema.EdgeLabel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Schema.EdgeLabel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Schema.EdgeLabel ISA
public static final Schema.EdgeLabel SUB
public static final Schema.EdgeLabel RELATES
public static final Schema.EdgeLabel PLAYS
public static final Schema.EdgeLabel HAS_SCOPE
public static final Schema.EdgeLabel HYPOTHESIS
public static final Schema.EdgeLabel CONCLUSION
public static final Schema.EdgeLabel SHORTCUT
public static final Schema.EdgeLabel SHARD
public static Schema.EdgeLabel[] values()
for (Schema.EdgeLabel c : Schema.EdgeLabel.values()) System.out.println(c);
public static Schema.EdgeLabel 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@CheckReturnValue public String getLabel()
Copyright © 2017 Grakn Labs Ltd. All rights reserved.