Package jadex.rules.tools.reteviewer
Class ReteEdge
- java.lang.Object
-
- jadex.rules.tools.reteviewer.ReteEdge
-
public class ReteEdge extends java.lang.Object
An edge has start node, end node and a type (object or tuple).
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Check if this edge equals a given object.INode
getEnd()
Return the end node of this edge.INode
getStart()
Return the start node of this edge.int
hashCode()
Hash code of the edge.boolean
isTuple()
Check, if this edge is a tuple edge (or an object edge).java.lang.String
toString()
Return a string representation
-
-
-
Method Detail
-
getStart
public INode getStart()
Return the start node of this edge.
-
getEnd
public INode getEnd()
Return the end node of this edge.
-
isTuple
public boolean isTuple()
Check, if this edge is a tuple edge (or an object edge).
-
hashCode
public int hashCode()
Hash code of the edge.- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
Check if this edge equals a given object.- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
Return a string representation- Overrides:
toString
in classjava.lang.Object
-
-