Class AttributedEdge


  • public class AttributedEdge
    extends Attributed
    Generic directed graph edge implementation
    • Constructor Detail

      • AttributedEdge

        public AttributedEdge​(java.lang.String id)
        Constructs a new GhidraEdge
        Parameters:
        id - the unique id for the edge
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getId

        public java.lang.String getId()
        Returns the id for this edge
        Returns:
        the id for this edge
      • hashCode

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • getEdgeType

        public java.lang.String getEdgeType()
        Returns the edge type for this edge
        Returns:
        the edge type for this edge
      • setEdgeType

        public void setEdgeType​(java.lang.String edgeType)
        Sets the edge type for this edge. Should be a value defined by the GraphType for this graph, but there is no enforcement for this. If the value is not defined in GraphType, it will be rendered using the default edge color for GraphType
        Parameters:
        edgeType - the edge type for this edge