Class RemoveSubGraphListenerImpl

    • Constructor Detail

      • RemoveSubGraphListenerImpl

        public RemoveSubGraphListenerImpl()
        Constructor
      • RemoveSubGraphListenerImpl

        public RemoveSubGraphListenerImpl​(RemoveSubGraphListenerImpl removeSubGraphListenerImpl)
        Copy constructor
        Parameters:
        removeSubGraphListenerImpl - to copy
    • Method Detail

      • generateId

        protected static long generateId()
        Every instance implementing this interface should generate its id using this method to ensure that we have a unique id across all break edge listeners in case they are stored in a comparable based container
        Returns:
        id for a break edge listener class instance
      • onRemoveSubGraphEdge

        public void onRemoveSubGraphEdge​(Edge edge)
        callback whenever an edge is removed from a subgraph it is part of
        Specified by:
        onRemoveSubGraphEdge in interface RemoveSubGraphListener
        Parameters:
        edge - that is removed
      • onRemoveSubGraphVertex

        public void onRemoveSubGraphVertex​(Vertex vertex)
        callback whenever a vertex is removed from a subgraph it is part of
        Specified by:
        onRemoveSubGraphVertex in interface RemoveSubGraphListener
        Parameters:
        vertex - that is removed
      • deepClone

        public RemoveSubGraphListenerImpl deepClone()
        An id entity should always support a deep copy, i.e., all "owned" members will be deep copied when a clone of this instance is created via this call. To be used with caution if not called by managed id container related code
        Specified by:
        deepClone in interface IdAble
        Specified by:
        deepClone in class IdAbleImpl
        Returns:
        deep copy of entity