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
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 SummaryConstructors
- 
Method SummaryMethods inherited from class com.evolveum.midpoint.gui.api.model.LoadableModeldetach, getNestedModel, isLoaded, onDetach, onLoad, reset, revive, toStringMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.wicket.model.IModelas, combineWith, detach, filter, flatMap, isPresent, map, orElse, orElseGet
- 
Constructor Details- 
NonEmptyLoadableModelpublic NonEmptyLoadableModel(boolean alwaysReload) 
 
- 
- 
Method Details- 
create
- 
getObject- Specified by:
- getObjectin interface- org.apache.wicket.model.IModel<T>
- Specified by:
- getObjectin interface- NonEmptyModel<T>
- Overrides:
- getObjectin class- LoadableModel<T>
 
- 
setObject- Specified by:
- setObjectin interface- org.apache.wicket.model.IModel<T>
- Specified by:
- setObjectin interface- NonEmptyModel<T>
- Overrides:
- setObjectin class- LoadableModel<T>
 
- 
load- Specified by:
- loadin class- LoadableModel<T>
 
 
-