org.wicketstuff.minis.model
Class IsEmptyOrNullModel<W>

java.lang.Object
  extended by org.apache.wicket.model.LoadableDetachableModel<T>
      extended by org.wicketstuff.minis.model.LoadableDetachableDependentModel<Boolean,W>
          extended by org.wicketstuff.minis.model.IsEmptyOrNullModel<W>
Type Parameters:
W - type of the dependent model
All Implemented Interfaces:
Serializable, org.apache.wicket.model.IDetachable, org.apache.wicket.model.IModel<Boolean>, org.apache.wicket.util.io.IClusterable

public class IsEmptyOrNullModel<W>
extends LoadableDetachableDependentModel<Boolean,W>

Model of whether the object of the dependent model is empty or null.

See Also:
Serialized Form

Constructor Summary
IsEmptyOrNullModel(org.apache.wicket.model.IModel<W> dependentModel)
          Constructor.
 
Method Summary
protected  Boolean load()
           
 
Methods inherited from class org.wicketstuff.minis.model.LoadableDetachableDependentModel
getDependentModel, onDetach
 
Methods inherited from class org.apache.wicket.model.LoadableDetachableModel
detach, getObject, isAttached, onAttach, setObject, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IsEmptyOrNullModel

public IsEmptyOrNullModel(org.apache.wicket.model.IModel<W> dependentModel)
Constructor.

Parameters:
dependentModel - non-null collection model this model depends on
Method Detail

load

protected Boolean load()
Specified by:
load in class org.apache.wicket.model.LoadableDetachableModel<Boolean>


Copyright © 2018. All rights reserved.