public interface SchemaRule
| Modifier and Type | Interface and Description |
|---|---|
static class |
SchemaRule.Kind |
| Modifier and Type | Method and Description |
|---|---|
long |
getId()
The persistence id for this rule.
|
SchemaRule.Kind |
getKind() |
int |
getLabel() |
int |
getRelationshipType() |
long getId()
int getLabel()
IllegalStateException - when this rule has kind SchemaRule.Kind.RELATIONSHIP_PROPERTY_EXISTENCE_CONSTRAINTint getRelationshipType()
IllegalStateException - when this rule has kind different from
SchemaRule.Kind.RELATIONSHIP_PROPERTY_EXISTENCE_CONSTRAINTSchemaRule.Kind getKind()
Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.