public static enum Schema.MetaSchema extends Enum<Schema.MetaSchema>
| Enum Constant and Description |
|---|
CONSTRAINT_RULE |
ENTITY |
INFERENCE_RULE |
RELATION |
RESOURCE |
ROLE |
RULE |
THING |
| Modifier and Type | Method and Description |
|---|---|
LabelId |
getId() |
Label |
getLabel() |
static boolean |
isMetaLabel(Label label) |
static Schema.MetaSchema |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Schema.MetaSchema[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Schema.MetaSchema THING
public static final Schema.MetaSchema ENTITY
public static final Schema.MetaSchema ROLE
public static final Schema.MetaSchema RESOURCE
public static final Schema.MetaSchema RELATION
public static final Schema.MetaSchema RULE
public static final Schema.MetaSchema INFERENCE_RULE
public static final Schema.MetaSchema CONSTRAINT_RULE
public static Schema.MetaSchema[] values()
for (Schema.MetaSchema c : Schema.MetaSchema.values()) System.out.println(c);
public static Schema.MetaSchema 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 Label getLabel()
@CheckReturnValue public LabelId getId()
@CheckReturnValue public static boolean isMetaLabel(Label label)
Copyright © 2017 Grakn Labs Ltd. All rights reserved.