Class EntityEvent<T extends State>

    • Method Detail

      • getElementId

        public String getElementId()
        The elementId of the changed entity (node or relationship).
        Returns:
        element id
      • getEventType

        public EventType getEventType()
        Type of the changed entity.
        Specified by:
        getEventType in interface Event
        Returns:
        event type
      • getOperation

        public EntityOperation getOperation()
        Type of the operation.
        Returns:
        operation type
      • getBefore

        public T getBefore()
        The state of the entity before the change.
        Returns:
        state
      • getAfter

        public T getAfter()
        The state of the entity after the change.
        Returns:
        state
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object