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

public class TypeCondition extends Object implements CypherCondition
Represents a relationship type condition: type(r) = T Extracted from patterns like -[:KNOWS]-> or -[r:WORKS_AT]->
  • Constructor Details

    • TypeCondition

      public TypeCondition(String variableName, String type)
  • Method Details

    • getVariableName

      public String getVariableName()
    • getType

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