Class LineageSyncUpdateContext

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

public class LineageSyncUpdateContext extends Object
SyncUpdateContext contains the context for syncing the relationships of a node after an update.
  • Constructor Details

    • LineageSyncUpdateContext

      public LineageSyncUpdateContext()
  • Method Details

    • getEntityGUID

      public String getEntityGUID()
      Get the GUID of the entity that was updated
      Returns:
      the GUID of the entity that was updated
    • getNeighboursGUID

      public Set<String> getNeighboursGUID()
      Get the list of GUIDs of nodes directly connected to the entity
      Returns:
      the list of GUIDs of nodes directly connected to the entity
    • setEntityGUID

      public void setEntityGUID(String entityGUID)
      Set the entity that was updated.
      Parameters:
      entityGUID - of the entity that was updated
    • setNeighboursGUID

      public void setNeighboursGUID(Set<String> neighboursGUID)
      Set the list of neighbours
      Parameters:
      neighboursGUID - list of node related to the entity
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object