Package com.im.df.api.ddl
Interface DFDataTree.Edge
-
- Enclosing interface:
- DFDataTree
public static interface DFDataTree.Edge
This object represents an edge in datatree graph. It corresponds to one oriented relationship (DFRelationship.Direction
). TheEdge
object is immutable, it cannot be changed once it's created.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DFDataTree.Vertex
getDestination()
DFDataTree.Vertex
getOrigin()
DFRelationship.Direction
getRelationshipDir()
-
-
-
Method Detail
-
getRelationshipDir
DFRelationship.Direction getRelationshipDir()
- Returns:
- the relationship which this edge is built on top of
-
getOrigin
DFDataTree.Vertex getOrigin()
- Returns:
- the parent vertex (begin of this edge)
-
getDestination
DFDataTree.Vertex getDestination()
- Returns:
- the child vertex (end of this edge)
-
-