Class AssetContext
java.lang.Object
org.odpi.openmetadata.accessservices.assetlineage.model.AssetContext
The asset context provides the entire lineage graph with vertices and edges.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addGraphContext
(GraphContext graphContext) Add graphContext boolean.boolean
addVertex
(LineageEntity vertex) Add vertex boolean.Gets edges.Gets neighbors.Get vertices set.void
setGraphContexts
(Set<GraphContext> graphContexts) Sets edges.toString()
-
Constructor Details
-
AssetContext
public AssetContext()Instantiates a new Asset context.
-
-
Method Details
-
addVertex
Add vertex boolean.- Parameters:
vertex
- the vertex- Returns:
- the boolean
-
addGraphContext
Add graphContext boolean.- Parameters:
graphContext
- the graphContext- Returns:
- the boolean
-
getVertices
Get vertices set.- Returns:
- the set
-
getGraphContexts
Gets edges.- Returns:
- the edges
-
setGraphContexts
Sets edges.- Parameters:
graphContexts
- the edges
-
getNeighbors
Gets neighbors.- Returns:
- the neighbors
-
toString
-