Package com.aquima.web.api.model.page
Class ModelChange
java.lang.Object
com.aquima.web.api.model.page.ModelChange
This class represents the actions to a page element model.
- Since:
- 9.2
- Author:
- A.Pragt
-
Constructor Summary
ConstructorsConstructorDescriptionModelChange
(ChangeType changeType, String elementKey, ElementModel elementModel) -
Method Summary
-
Constructor Details
-
ModelChange
- Parameters:
changeType
- The type of action, not null.elementKey
- The key of the model, not null.elementModel
- The model, null in case of a delete action.
-
-
Method Details
-
getType
This method returns the type of the change.- Returns:
- The action type, never null.
-
getKey
This method returns the key of the model.- Returns:
- The key of the model, never null.
-
getModel
This method returns the model.- Returns:
- The model, null in case of a delete action.
-
toString
-