Class UpdateAction<T>

java.lang.Object
spoon.support.modelobs.action.Action
spoon.support.modelobs.action.UpdateAction<T>
Type Parameters:
T -

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

    • UpdateAction

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

    • 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