Class LineageSyncUpdateContext


  • public class LineageSyncUpdateContext
    extends java.lang.Object
    SyncUpdateContext contains the context for syncing the relationships of a node after an update.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean canEqual​(java.lang.Object other)  
      boolean equals​(java.lang.Object o)  
      java.lang.String getEntityGUID()
      Get the GUID of the entity that was updated
      java.util.Set<java.lang.String> getNeighboursGUID()
      Get the list of GUIDs of nodes directly connected to the entity
      int hashCode()  
      void setEntityGUID​(java.lang.String entityGUID)
      Set the entity that was updated.
      void setNeighboursGUID​(java.util.Set<java.lang.String> neighboursGUID)
      Set the list of neighbours
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • LineageSyncUpdateContext

        public LineageSyncUpdateContext()
    • Method Detail

      • getEntityGUID

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

        public java.util.Set<java.lang.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​(java.lang.String entityGUID)
        Set the entity that was updated.
        Parameters:
        entityGUID - of the entity that was updated
      • setNeighboursGUID

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

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

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

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