Package org.apache.wicket.model.util
Class MapModel<K,V>
- java.lang.Object
-
- org.apache.wicket.model.util.GenericBaseModel<Map<K,V>>
-
- org.apache.wicket.model.util.MapModel<K,V>
-
- Type Parameters:
K
- map's key typeV
- map's value type
- All Implemented Interfaces:
Serializable
,IDetachable
,IModel<Map<K,V>>
,IObjectClassAwareModel<Map<K,V>>
,IClusterable
public class MapModel<K,V> extends GenericBaseModel<Map<K,V>>
Based onModel
but for maps of serializable objects.- Author:
- Timo Rantalaiho
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<K,V>
createSerializableVersionOf(Map<K,V> object)
Creates a serializable version of the object.-
Methods inherited from class org.apache.wicket.model.util.GenericBaseModel
detach, equals, getObject, getObjectClass, hashCode, setObject, toString
-
-
-
-
Method Detail
-
createSerializableVersionOf
protected Map<K,V> createSerializableVersionOf(Map<K,V> object)
Description copied from class:GenericBaseModel
Creates a serializable version of the object. The object is usually a collection.- Specified by:
createSerializableVersionOf
in classGenericBaseModel<Map<K,V>>
- Returns:
- serializable version of
object
-
-