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

public class LabelCondition extends Object implements CypherCondition
Represents a label condition: n:Label Extracted from patterns like (n:Person) or (n:Person:Employee)
  • Constructor Details

    • LabelCondition

      public LabelCondition(String variableName, String label)
  • Method Details

    • getVariableName

      public String getVariableName()
    • getLabel

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