- Type Parameters:
T
- type of object inside set
- All Implemented Interfaces:
Serializable
,IDetachable
,IModel<Set<T>>
,IObjectClassAwareModel<Set<T>>
,IClusterable
Based on
Model
but for sets of serializable objects.- Author:
- Timo Rantalaiho
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSerializableVersionOf
(Set<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
-
Constructor Details
-
SetModel
public SetModel()Creates empty model -
SetModel
Creates model that will containset
- Parameters:
set
-
-
-
Method Details
-
createSerializableVersionOf
Description copied from class:GenericBaseModel
Creates a serializable version of the object. The object is usually a collection.- Specified by:
createSerializableVersionOf
in classGenericBaseModel<Set<T>>
- Returns:
- serializable version of
object
-