Interface IModelReference.IModelChangeEvent<T>

  • Type Parameters:
    T - the type of the object for the model
    All Superinterfaces:
    IEvent<IModelReference<T>>
    Enclosing interface:
    IModelReference<T>

    public static interface IModelReference.IModelChangeEvent<T>
    extends IEvent<IModelReference<T>>
    Event that's sent to IObservers of the service. When processing the event, the model service should not receive a new model.
    • Method Detail

      • getOldModel

        org.apache.wicket.model.IModel<T> getOldModel()
        The previous model of the service.
        Returns:
        the old model
      • getNewModel

        org.apache.wicket.model.IModel<T> getNewModel()
        The new model of the service.
        Returns:
        the new model