Package org.neo4j.cypherdsl.core
Class Property
- java.lang.Object
-
- org.neo4j.cypherdsl.core.Property
-
- All Implemented Interfaces:
Expression,Visitable
@API(status=EXPERIMENTAL, since="1.0") public final class Property extends java.lang.Object implements ExpressionA property that belongs to a property container (either Node or Relationship).- Since:
- 1.0
- Author:
- Michael J. Simons
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(Visitor visitor)PropertyLookupgetName()Operationto(Expression expression)Creates anOperationsetting this property to a new value.
-
-
-
Method Detail
-
getName
public PropertyLookup getName()
-
to
public Operation to(Expression expression)
Creates anOperationsetting this property to a new value. The property does not track the operations created with this method.- Parameters:
expression- expression describing the new value- Returns:
- A new operation.
-
-