java.lang.Object
org.odpi.openmetadata.accessservices.assetlineage.model.AssetContext

public class AssetContext extends Object
The asset context provides the entire lineage graph with vertices and edges.
  • Constructor Details

    • AssetContext

      public AssetContext()
      Instantiates a new Asset context.
  • Method Details

    • addVertex

      public boolean addVertex(LineageEntity vertex)
      Add vertex boolean.
      Parameters:
      vertex - the vertex
      Returns:
      the boolean
    • addGraphContext

      public boolean addGraphContext(GraphContext graphContext)
      Add graphContext boolean.
      Parameters:
      graphContext - the graphContext
      Returns:
      the boolean
    • getVertices

      public Set<LineageEntity> getVertices()
      Get vertices set.
      Returns:
      the set
    • getGraphContexts

      public Set<GraphContext> getGraphContexts()
      Gets edges.
      Returns:
      the edges
    • setGraphContexts

      public void setGraphContexts(Set<GraphContext> graphContexts)
      Sets edges.
      Parameters:
      graphContexts - the edges
    • getNeighbors

      public Map<String,Set<GraphContext>> getNeighbors()
      Gets neighbors.
      Returns:
      the neighbors
    • toString

      public String toString()
      Overrides:
      toString in class Object