public class PropertyUniqueConstraintDefinition extends BaseConstraintDefinition implements UniquenessConstraintDefinition
actions, label
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() |
assertInTransaction, getLabel, isConstraintType
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getLabel, isConstraintType
public PropertyUniqueConstraintDefinition(InternalSchemaActions actions, Label label, String propertyKey)
public ConstraintType getConstraintType()
getConstraintType
in interface ConstraintDefinition
ConstraintType
of constraint.public void drop()
ConstraintDefinition
drop
in interface ConstraintDefinition
public Iterable<String> getPropertyKeys()
getPropertyKeys
in interface UniquenessConstraintDefinition
public UniquenessConstraintDefinition asUniquenessConstraint()
asUniquenessConstraint
in interface ConstraintDefinition
asUniquenessConstraint
in class BaseConstraintDefinition
public int hashCode()
hashCode
in class BaseConstraintDefinition
public boolean equals(Object obj)
equals
in class BaseConstraintDefinition
Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.