Class 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
    Direct Known Subclasses:
    ResourceWizardIssuesModel

    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:
    Serialized Form
    • Constructor Detail

      • NonEmptyLoadableModel

        public NonEmptyLoadableModel​(boolean alwaysReload)