Class NonEmptyPropertyModel<T>

  • All Implemented Interfaces:
    NonEmptyModel<T>, Serializable, org.apache.wicket.model.IDetachable, org.apache.wicket.model.IModel<T>, org.apache.wicket.model.IObjectClassAwareModel<T>, org.apache.wicket.model.IPropertyReflectionAwareModel<T>, org.apache.wicket.util.io.IClusterable

    public class NonEmptyPropertyModel<T>
    extends org.apache.wicket.model.PropertyModel<T>
    implements NonEmptyModel<T>
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T getObject()  
      void setObject​(T object)  
      • Methods inherited from class org.apache.wicket.model.PropertyModel

        of, propertyExpression, toString
      • Methods inherited from class org.apache.wicket.model.AbstractPropertyModel

        getObjectClass, getPropertyExpression, getPropertyField, getPropertyGetter, getPropertySetter
      • Methods inherited from class org.apache.wicket.model.ChainingModel

        detach, getChainedModel, getInnermostModelOrObject, getTarget, setTarget
      • Methods inherited from interface org.apache.wicket.model.IModel

        combineWith, detach, filter, flatMap, isPresent, map, orElse, orElseGet
    • Constructor Detail

      • NonEmptyPropertyModel

        public NonEmptyPropertyModel​(Object modelObject,
                                     String expression)
    • Method Detail

      • getObject

        @NotNull
        public T getObject()
        Specified by:
        getObject in interface org.apache.wicket.model.IModel<T>
        Specified by:
        getObject in interface NonEmptyModel<T>
        Overrides:
        getObject in class org.apache.wicket.model.AbstractPropertyModel<T>
      • setObject

        public void setObject​(@NotNull
                              T object)
        Specified by:
        setObject in interface org.apache.wicket.model.IModel<T>
        Specified by:
        setObject in interface NonEmptyModel<T>
        Overrides:
        setObject in class org.apache.wicket.model.AbstractPropertyModel<T>