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)java.util.List<PropertyLookup>getNames()Operationto(Expression expression)Creates anOperationsetting this property to a new value.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.neo4j.cypherdsl.core.Expression
add, as, ascending, concat, contains, descending, divide, endsWith, gt, gte, in, isEmpty, isEqualTo, isFalse, isNotEqualTo, isNotNull, isNull, isTrue, lt, lte, matches, matches, multiply, pow, property, remainder, startsWith, subtract
-
-
-
-
Method Detail
-
getNames
@API(status=INTERNAL) public java.util.List<PropertyLookup> getNames()
- Returns:
- The actual property being looked up. The order matters, so this will return a list, not a collection.
-
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.
-
-