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

public class AnyLabelCondition extends Object implements CypherCondition
The any-label wildcard % in a label expression, e.g. (n:%). Satisfied when the element bound to the variable has a non-empty label set.
  • Constructor Details

    • AnyLabelCondition

      public AnyLabelCondition(String variableName)
  • Method Details

    • getVariableName

      public String getVariableName()
    • 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