public static enum Schema.MetaSchema extends Enum<Schema.MetaSchema>
| Enum Constant and Description |
|---|
CONSTRAINT_RULE |
ENTITY_TYPE |
INFERENCE_RULE |
RELATION_TYPE |
RESOURCE_TYPE |
ROLE_TYPE |
RULE_TYPE |
TYPE |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
static boolean |
isMetaName(String name) |
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 TYPE
public static final Schema.MetaSchema ENTITY_TYPE
public static final Schema.MetaSchema ROLE_TYPE
public static final Schema.MetaSchema RESOURCE_TYPE
public static final Schema.MetaSchema RELATION_TYPE
public static final Schema.MetaSchema RULE_TYPE
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 nullpublic String getName()
public static boolean isMetaName(String name)
Copyright © 2016 Grakn Labs Ltd. All rights reserved.