T - type of object inside listpublic class WildcardListModel<T> extends GenericCollectionModel<List<T>>
Model but for lists of serializable objects.| Constructor and Description |
|---|
WildcardListModel()
Creates empty model
|
WildcardListModel(List<T> list)
Creates model that will contain
list. |
| Modifier and Type | Method and Description |
|---|---|
protected List<T> |
newSerializableCollectionOf(List<T> object)
Creates a serializable version of the object.
|
static <C> de.alpharogroup.model.api.Model<List<C>> |
ofList(List<C> list)
Factory method for models that contain lists.
|
setObjectattach, detach, getObjectClass, of, ofprotected List<T> newSerializableCollectionOf(List<T> object)
newSerializableCollectionOf in class GenericCollectionModel<List<T>>object - the objectobjectpublic static <C> de.alpharogroup.model.api.Model<List<C>> ofList(List<C> list)
list into a serializable one.C - model typelist - The List, which may or may not be SerializableCopyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.