java.lang.Object
org.evomaster.client.java.controller.neo4j.conditions.PropertyCondition
All Implemented Interfaces:
CypherCondition

public class PropertyCondition extends Object implements CypherCondition
Represents a property equality condition n.key = value extracted from an inline property map like {name: "Alice"}. The value is a typed Operand, the same representation a WHERE comparison uses, so {age: 25 + 5} folds to a literal and {at: time("11:11")} keeps the expression as a RawOperand instead of guessing a value.
  • Constructor Details

    • PropertyCondition

      public PropertyCondition(String variableName, String propertyKey, Operand value)
  • Method Details

    • getVariableName

      public String getVariableName()
    • getPropertyKey

      public String getPropertyKey()
    • getValue

      public Operand getValue()
    • accept

      public <T> T accept(CypherConditionVisitor<T> visitor)
      Description copied from interface: CypherCondition
      Dispatches to the visit method of visitor matching this condition's concrete type (double dispatch), returning whatever the visitor produces for it.
      Specified by:
      accept in interface CypherCondition
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object