Package spoon.support.modelobs.action
Class Action
java.lang.Object
spoon.support.modelobs.action.Action
- Direct Known Subclasses:
AddAction
,DeleteAction
,UpdateAction
defines an action change on the model
-
Method Summary
Modifier and TypeMethodDescriptionabstract <T> T
get the changed value of the modelget the context of the change
-
Method Details
-
getChangedValue
public abstract <T> T getChangedValue()get the changed value of the model- Type Parameters:
T
- the type of the element- Returns:
- the changed value
-
getContext
get the context of the change- Returns:
- the context
-