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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description KeyMapModel(org.apache.wicket.model.IModel<? extends Map<K,V>> mapModel, K key)
-
-
-
Method Detail
-
getObject
public V getObject()
- Specified by:
getObject
in interfaceorg.apache.wicket.model.IModel<K extends Serializable>
-
setObject
public void setObject(V object)
- 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>
-
-