public class AssetContext extends Object
| Constructor and Description |
|---|
AssetContext()
Instantiates a new Asset context.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addEdge(GraphContext edge)
Add edge boolean.
|
boolean |
addVertex(LineageEntity Vertex)
Add vertex boolean.
|
Set<GraphContext> |
getEdges()
Gets edges.
|
Map<String,Set<GraphContext>> |
getNeighbors()
Gets neighbors.
|
Set<LineageEntity> |
getVertices()
Get vertices set.
|
void |
setEdges(Set<GraphContext> edges)
Sets edges.
|
String |
toString() |
public boolean addVertex(LineageEntity Vertex)
Vertex - the vertexpublic boolean addEdge(GraphContext edge)
edge - the edgepublic Set<LineageEntity> getVertices()
public Set<GraphContext> getEdges()
public void setEdges(Set<GraphContext> edges)
edges - the edgespublic Map<String,Set<GraphContext>> getNeighbors()
Copyright © 2018–2020 ODPi. All rights reserved.