Package spoon.support.modelobs.action
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 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 modelT
getNewValue()
the new value in the modelT
getOldValue()
the old value in the model-
Methods inherited from class spoon.support.modelobs.action.Action
getContext
-
-
-
-
Method Detail
-
getChangedValue
public T getChangedValue()
Description copied from class:Action
get the changed value of the model- Specified by:
getChangedValue
in classAction
- 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
-
-