public class PropertyUniqueConstraintDefinition extends BaseConstraintDefinition implements UniquenessConstraintDefinition
| Constructor and Description |
|---|
PropertyUniqueConstraintDefinition(InternalSchemaActions actions,
Label label,
String propertyKey) |
| Modifier and Type | Method and Description |
|---|---|
UniquenessConstraintDefinition |
asUniquenessConstraint() |
void |
drop()
Drops this constraint.
|
boolean |
equals(Object obj) |
ConstraintType |
getConstraintType() |
Iterable<String> |
getPropertyKeys() |
int |
hashCode() |
String |
toString() |
getLabel, isConstraintTypegetLabel, isConstraintTypepublic PropertyUniqueConstraintDefinition(InternalSchemaActions actions, Label label, String propertyKey)
public ConstraintType getConstraintType()
getConstraintType in interface ConstraintDefinitionConstraintType of constraint.public void drop()
ConstraintDefinitiondrop in interface ConstraintDefinitionpublic Iterable<String> getPropertyKeys()
getPropertyKeys in interface UniquenessConstraintDefinitionpublic UniquenessConstraintDefinition asUniquenessConstraint()
asUniquenessConstraint in interface ConstraintDefinitionasUniquenessConstraint in class BaseConstraintDefinitionpublic int hashCode()
hashCode in class BaseConstraintDefinitionpublic boolean equals(Object obj)
equals in class BaseConstraintDefinitionCopyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.