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, IClusterable, IDetachable, IModel<List<T>>
public class ListModel<T>
- extends GenericBaseModel<List<T>>
Based on Model
but for lists of serializable objects.
- Author:
- Timo Rantalaiho
- See Also:
- Serialized Form
ListModel
public ListModel()
- Creates empty model
ListModel
public ListModel(List<T> list)
- Creates model that will contain
list
- Parameters:
list
-
createSerializableVersionOf
protected List<T> createSerializableVersionOf(List<T> object)
- Creates a serializable version of the object. The object is usually a collection.
- Specified by:
createSerializableVersionOf
in class GenericBaseModel<List<T>>
- Returns:
- serializable version of
object
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.