org.apache.wicket.model.util
Class WildcardCollectionModel<T>
java.lang.Object
org.apache.wicket.model.util.GenericBaseModel<java.util.Collection<? extends T>>
org.apache.wicket.model.util.WildcardCollectionModel<T>
- Type Parameters:
T
- type of object inside collection
- All Implemented Interfaces:
- java.io.Serializable, IClusterable, IDetachable, IModel<java.util.Collection<? extends T>>
public class WildcardCollectionModel<T>
- extends GenericBaseModel<java.util.Collection<? extends T>>
Based on Model
but for any collections of serializable objects.
- Author:
- Timo Rantalaiho
- See Also:
- Serialized Form
Method Summary |
protected java.util.Collection<? extends T> |
createSerializableVersionOf(java.util.Collection<? extends T> object)
Creates a serializable version of the object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
WildcardCollectionModel
public WildcardCollectionModel()
- Creates empty model
WildcardCollectionModel
public WildcardCollectionModel(java.util.Collection<? extends T> collection)
- Creates model that will contain
collection
- Parameters:
collection
-
createSerializableVersionOf
protected java.util.Collection<? extends T> createSerializableVersionOf(java.util.Collection<? extends T> object)
- Creates a serializable version of the object. The object is usually a collection.
- Specified by:
createSerializableVersionOf
in class GenericBaseModel<java.util.Collection<? extends T>>
- Returns:
- serializable version of
object
Copyright © 2004-2009 Apache Software Foundation. All Rights Reserved.