Class Property

  • All Implemented Interfaces:
    Expression, Visitable

    @API(status=EXPERIMENTAL,
         since="1.0")
    public final class Property
    extends java.lang.Object
    implements Expression
    A property that belongs to a property container (either Node or Relationship).
    Since:
    1.0
    Author:
    Michael J. Simons
    • 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 an Operation setting 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.
      • accept

        public void accept​(Visitor visitor)
        Description copied from interface: Visitable
        Accept a Visitor visiting this Visitable and its nested Visitables if applicable.
        Specified by:
        accept in interface Visitable
        Parameters:
        visitor - the visitor to notify, must not be null.