Package com.im.df.api.ddl
Interface DFDataTree.Edge
-
- Enclosing interface:
- DFDataTree
public static interface DFDataTree.EdgeThis object represents an edge in datatree graph. It corresponds to one oriented relationship (DFRelationship.Direction). TheEdgeobject is immutable, it cannot be changed once it's created.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DFDataTree.VertexgetDestination()DFDataTree.VertexgetOrigin()DFRelationship.DirectiongetRelationshipDir()
-
-
-
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)
-
-