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