Class AssetContext


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

      • AssetContext

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

      • 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 java.util.Set<LineageEntity> getVertices()
        Get vertices set.
        Returns:
        the set
      • getGraphContexts

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

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

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object