Class ModelChange

java.lang.Object
com.aquima.web.api.model.page.ModelChange

public class ModelChange extends Object
This class represents the actions to a page element model.
Since:
9.2
Author:
A.Pragt
  • Constructor Details Link icon

    • ModelChange Link icon

      public ModelChange(ChangeType changeType, String elementKey, ElementModel elementModel)
      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 Link icon

    • getType Link icon

      public ChangeType getType()
      This method returns the type of the change.
      Returns:
      The action type, never null.
    • getKey Link icon

      public String getKey()
      This method returns the key of the model.
      Returns:
      The key of the model, never null.
    • getModel Link icon

      public ElementModel getModel()
      This method returns the model.
      Returns:
      The model, null in case of a delete action.
    • toString Link icon

      public String toString()
      Overrides:
      toString in class Object