public abstract class BaseConstraintDefinition extends Object implements ConstraintDefinition
| Constructor and Description |
|---|
BaseConstraintDefinition(InternalSchemaActions actions,
Label label) |
| Modifier and Type | Method and Description |
|---|---|
UniquenessConstraintDefinition |
asUniquenessConstraint() |
boolean |
equals(Object obj) |
Label |
getLabel() |
int |
hashCode() |
boolean |
isConstraintType(ConstraintType type) |
getClass, notify, notifyAll, toString, wait, wait, waitdrop, getConstraintTypepublic BaseConstraintDefinition(InternalSchemaActions actions, Label label)
public Label getLabel()
getLabel in interface ConstraintDefinitionLabel this constraint is associated with.public boolean isConstraintType(ConstraintType type)
isConstraintType in interface ConstraintDefinitiontype - a constraint typepublic UniquenessConstraintDefinition asUniquenessConstraint()
asUniquenessConstraint in interface ConstraintDefinitionCopyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.