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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ComplexPropertyEmbeddedModel(@NotNull org.apache.wicket.model.IModel<O> model, @NotNull SerializableFunction<O,T> get, @NotNull SerializableBiConsumer<O,T> set)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected O
createEmptyParentObject()
T
getObject()
protected boolean
isParentModelObjectEmpty(O object)
void
setObject(T object)
-
-
-
Constructor Detail
-
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 Detail
-
getObject
public T getObject()
- Specified by:
getObject
in interfaceorg.apache.wicket.model.IModel<O extends Serializable>
-
setObject
public void setObject(T object)
- Specified by:
setObject
in interfaceorg.apache.wicket.model.IModel<O extends Serializable>
-
createEmptyParentObject
protected O createEmptyParentObject()
-
isParentModelObjectEmpty
protected boolean isParentModelObjectEmpty(O object)
-
-