Class EdgeRole

java.lang.Object
org.umlg.sqlg.structure.topology.EdgeRole
All Implemented Interfaces:
TopologyInf

public class EdgeRole extends Object implements TopologyInf
Represent a pair VertexLabel and EdgeLabel
Author:
jpmoresmau
  • Method Details

    • getVertexLabel

      public VertexLabel getVertexLabel()
    • getEdgeLabel

      public EdgeLabel getEdgeLabel()
    • getMultiplicity

      public Multiplicity getMultiplicity()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getDirection

      public org.apache.tinkerpop.gremlin.structure.Direction getDirection()
    • isCommitted

      public boolean isCommitted()
      Specified by:
      isCommitted in interface TopologyInf
    • remove

      public void remove(boolean preserveData)
      Description copied from interface: TopologyInf
      remove the topology item
      Specified by:
      remove in interface TopologyInf
      Parameters:
      preserveData - if true we don't delete at the SQL level
    • getName

      public String getName()
      Specified by:
      getName in interface TopologyInf
    • toString

      public String toString()
      Overrides:
      toString in class Object