@Deprecated public static enum SchemaRule.Kind extends Enum<SchemaRule.Kind>
for the new (de)serialisation code instead.
Enum Constant and Description |
---|
CONSTRAINT_INDEX_RULE
Deprecated.
|
INDEX_RULE
Deprecated.
|
NODE_PROPERTY_EXISTENCE_CONSTRAINT
Deprecated.
|
RELATIONSHIP_PROPERTY_EXISTENCE_CONSTRAINT
Deprecated.
|
UNIQUENESS_CONSTRAINT
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static SchemaRule.Kind |
forId(byte id)
Deprecated.
|
byte |
id()
Deprecated.
|
static SchemaRule.Kind |
map(org.neo4j.kernel.api.schema.constaints.ConstraintDescriptor descriptor)
Deprecated.
|
static SchemaRule.Kind |
map(org.neo4j.kernel.api.schema.index.IndexDescriptor descriptor)
Deprecated.
|
String |
userString()
Deprecated.
|
static SchemaRule.Kind |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static SchemaRule.Kind[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchemaRule.Kind INDEX_RULE
public static final SchemaRule.Kind CONSTRAINT_INDEX_RULE
public static final SchemaRule.Kind UNIQUENESS_CONSTRAINT
public static final SchemaRule.Kind NODE_PROPERTY_EXISTENCE_CONSTRAINT
public static final SchemaRule.Kind RELATIONSHIP_PROPERTY_EXISTENCE_CONSTRAINT
public static SchemaRule.Kind[] values()
for (SchemaRule.Kind c : SchemaRule.Kind.values()) System.out.println(c);
public static SchemaRule.Kind 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 byte id()
public String userString()
public static SchemaRule.Kind forId(byte id) throws org.neo4j.kernel.api.exceptions.schema.MalformedSchemaRuleException
org.neo4j.kernel.api.exceptions.schema.MalformedSchemaRuleException
public static SchemaRule.Kind map(org.neo4j.kernel.api.schema.index.IndexDescriptor descriptor)
public static SchemaRule.Kind map(org.neo4j.kernel.api.schema.constaints.ConstraintDescriptor descriptor)
Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.