Package org.hippoecm.frontend.model
Class KeyMapModel<K extends Serializable,V>
java.lang.Object
org.hippoecm.frontend.model.KeyMapModel<K,V>
- Type Parameters:
K
- type of the key in the mapV
- type of the value object in the map
- All Implemented Interfaces:
Serializable
,org.apache.wicket.model.IDetachable
,org.apache.wicket.model.IModel<V>
,org.apache.wicket.util.io.IClusterable
public class KeyMapModel<K extends Serializable,V>
extends Object
implements org.apache.wicket.model.IModel<V>
A model binding to a value object identified by the key object in the map
- See Also:
-
Constructor Summary
ConstructorDescriptionKeyMapModel
(org.apache.wicket.model.IModel<? extends Map<K, V>> mapModel, K key) -
Method Summary
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, filter, flatMap, isPresent, map, orElse, orElseGet
-
Constructor Details
-
KeyMapModel
-
-
Method Details
-
getObject
- Specified by:
getObject
in interfaceorg.apache.wicket.model.IModel<K extends Serializable>
-
setObject
- Specified by:
setObject
in interfaceorg.apache.wicket.model.IModel<K extends Serializable>
-
detach
public void detach()- Specified by:
detach
in interfaceorg.apache.wicket.model.IDetachable
- Specified by:
detach
in interfaceorg.apache.wicket.model.IModel<K extends Serializable>
-