org.apache.wicket.model.util
Class CollectionModel<T>
java.lang.Object
org.apache.wicket.model.util.GenericBaseModel<Collection<T>>
org.apache.wicket.model.util.CollectionModel<T>
- Type Parameters:
T
- type of object inside collection
- All Implemented Interfaces:
- Serializable, IDetachable, IModel<Collection<T>>, IClusterable
public class CollectionModel<T>
- extends GenericBaseModel<Collection<T>>
Based on Model
but for any collections of serializable objects.
- Author:
- Timo Rantalaiho
- See Also:
- Serialized Form
CollectionModel
public CollectionModel()
- Creates empty model
CollectionModel
public CollectionModel(Collection<T> collection)
- Creates model that will contain
collection
- Parameters:
collection
-
createSerializableVersionOf
protected Collection<T> createSerializableVersionOf(Collection<T> object)
- Creates a serializable version of the object. The object is usually a collection.
- Specified by:
createSerializableVersionOf
in class GenericBaseModel<Collection<T>>
- Returns:
- serializable version of
object
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.