Class LineageSyncUpdateContext


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

      • LineageSyncUpdateContext

        public LineageSyncUpdateContext()
    • Method Detail

      • 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
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object