Class UpdateAction<T>

  • Type Parameters:
    T -

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

      Constructors 
      Constructor Description
      UpdateAction​(Context context, T newValue, T oldValue)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T getChangedValue()
      get the changed value of the model
      T getNewValue()
      the new value in the model
      T getOldValue()
      the old value in the model
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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