Class ComplexPropertyEmbeddedModel<O extends Serializable,T extends Serializable>
java.lang.Object
com.evolveum.midpoint.gui.impl.page.admin.systemconfiguration.component.ComplexPropertyEmbeddedModel<O,T>
- All Implemented Interfaces:
Serializable
,org.apache.wicket.model.IDetachable
,org.apache.wicket.model.IModel<T>
,org.apache.wicket.util.io.IClusterable
public class ComplexPropertyEmbeddedModel<O extends Serializable,T extends Serializable>
extends Object
implements org.apache.wicket.model.IModel<T>
Created by Viliam Repan (lazyman).
- See Also:
-
Constructor Summary
ConstructorDescriptionComplexPropertyEmbeddedModel
(@NotNull org.apache.wicket.model.IModel<O> model, @NotNull SerializableFunction<O, T> get, @NotNull SerializableBiConsumer<O, T> set) -
Method Summary
Modifier and TypeMethodDescriptionprotected O
protected boolean
isParentModelObjectEmpty
(O object) void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.wicket.model.IModel
as, combineWith, detach, filter, flatMap, isPresent, map, orElse, orElseGet
-
Constructor Details
-
ComplexPropertyEmbeddedModel
public ComplexPropertyEmbeddedModel(@NotNull @NotNull org.apache.wicket.model.IModel<O> model, @NotNull @NotNull SerializableFunction<O, T> get, @NotNull @NotNull SerializableBiConsumer<O, T> set)
-
-
Method Details
-
getObject
- Specified by:
getObject
in interfaceorg.apache.wicket.model.IModel<O extends Serializable>
-
setObject
- Specified by:
setObject
in interfaceorg.apache.wicket.model.IModel<O extends Serializable>
-
createEmptyParentObject
-
isParentModelObjectEmpty
-