Class NonEmptyPropertyModel<T>

java.lang.Object
org.apache.wicket.model.ChainingModel<T>
org.apache.wicket.model.AbstractPropertyModel<T>
org.apache.wicket.model.PropertyModel<T>
com.evolveum.midpoint.gui.api.model.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:
  • Constructor Summary

    Constructors
    Constructor
    Description
    NonEmptyPropertyModel(Object modelObject, String expression)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    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 class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.wicket.model.IModel

    as, combineWith, detach, filter, flatMap, isPresent, map, orElse, orElseGet
  • Constructor Details

    • NonEmptyPropertyModel

      public NonEmptyPropertyModel(Object modelObject, String expression)
  • Method Details

    • 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>