public static enum Schema.MetaSchema extends Enum<Schema.MetaSchema>
| Enum Constant and Description |
|---|
CONCEPT |
CONSTRAINT_RULE |
ENTITY |
INFERENCE_RULE |
RELATION |
RESOURCE |
ROLE |
RULE |
| 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 CONCEPT
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 nullpublic String getName()
public static boolean isMetaName(String name)
Copyright © 2017 Grakn Labs Ltd. All rights reserved.