Class ReadOnlyModel<T>

java.lang.Object
com.evolveum.midpoint.gui.api.model.ReadOnlyModel<T>
Type Parameters:
T -
All Implemented Interfaces:
Serializable, org.apache.wicket.model.IDetachable, org.apache.wicket.model.IModel<T>, org.apache.wicket.util.io.IClusterable

@Deprecated public class ReadOnlyModel<T> extends Object implements org.apache.wicket.model.IModel<T>
Deprecated.
use pure lambda eg. not new ReadOnlyModel(() -> xxx) but () -> xxx
See Also:
  • Constructor Details

    • ReadOnlyModel

      public ReadOnlyModel(@NotNull @NotNull SerializableSupplier<T> objectSupplier)
      Deprecated.
  • Method Details

    • getObject

      public T getObject()
      Deprecated.
      Specified by:
      getObject in interface org.apache.wicket.model.IModel<T>