Class UpdateAction<T>

  • Type Parameters:
    T -

    public class UpdateAction<T>
    extends Action
    defines the update action
    • Constructor Detail

      • UpdateAction

        public UpdateAction​(Context context,
                            T newValue,
                            T oldValue)
    • Method Detail

      • getChangedValue

        public T getChangedValue()
        Description copied from class: Action
        get the changed value of the model
        Specified by:
        getChangedValue in class Action
        Returns:
        the changed value
      • getNewValue

        public T getNewValue()
        the new value in the model
        Returns:
        the new value
      • getOldValue

        public T getOldValue()
        the old value in the model
        Returns:
        the old value