Class NonEmptyLoadableModel<T>

java.lang.Object
com.evolveum.midpoint.gui.api.model.LoadableModel<T>
com.evolveum.midpoint.gui.api.model.NonEmptyLoadableModel<T>
All Implemented Interfaces:
NonEmptyModel<T>, Serializable, org.apache.wicket.model.IDetachable, org.apache.wicket.model.IModel<T>, org.apache.wicket.util.io.IClusterable

public abstract class NonEmptyLoadableModel<T> extends LoadableModel<T> implements NonEmptyModel<T>
Loadable model whose object is always not null. Used to reduce checks of the 'model.getObject() != null' kind. TODO remove redundant checks after annotations are checked at runtime (needs to be done in maven build)
See Also:
  • Constructor Details

    • NonEmptyLoadableModel

      public NonEmptyLoadableModel(boolean alwaysReload)
  • Method Details