Package org.apache.wicket.model.util
Class ListModel<T>
- java.lang.Object
-
- org.apache.wicket.model.util.GenericBaseModel<List<T>>
-
- org.apache.wicket.model.util.ListModel<T>
-
- Type Parameters:
T
- type of object inside list
- All Implemented Interfaces:
Serializable
,IDetachable
,IModel<List<T>>
,IObjectClassAwareModel<List<T>>
,IClusterable
public class ListModel<T> extends GenericBaseModel<List<T>>
Based onModel
but for lists of serializable objects.- Author:
- Timo Rantalaiho
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<T>
createSerializableVersionOf(List<T> 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 List<T> createSerializableVersionOf(List<T> object)
Description copied from class:GenericBaseModel
Creates a serializable version of the object. The object is usually a collection.- Specified by:
createSerializableVersionOf
in classGenericBaseModel<List<T>>
- Returns:
- serializable version of
object
-
-