Class KeyValueEvent.AfterUpdateEvent<T>

Type Parameters:
T -
All Implemented Interfaces:
Serializable
Enclosing class:
KeyValueEvent<T>

public static class KeyValueEvent.AfterUpdateEvent<T> extends KeyValueEvent<T>
KeyValueEvent after updating an object by with a given key.
Author:
Christoph Strobl
See Also:
  • Constructor Details

  • Method Details

    • before

      @Nullable public Object before()
      Get the value before update. Can be null.
      Returns:
    • after

      @Nullable public T after()
      Get the current value.
      Returns:
      can be null.
    • getPayload

      @Nullable public T getPayload()
      Get the value of the element the KeyValueEvent refers to. Can be null.
      Returns:
    • getKey

      public Object getKey()
    • getSource

      public Object getSource()
      Overrides:
      getSource in class EventObject
    • getType

      public Class<? extends T> getType()
      Get the type of the element the KeyValueEvent refers to.
      Returns: