T - type of object inside setpublic class SetModel<T> extends GenericCollectionModel<Set<T>>
Model but for sets of serializable objects.| Constructor and Description |
|---|
SetModel(Set<T> set)
Creates model that will contain
set. |
| Modifier and Type | Method and Description |
|---|---|
protected Set<T> |
newSerializableCollectionOf(Set<T> object)
Creates a serializable version of the object.
|
static <C> de.alpharogroup.model.api.Model<Set<C>> |
ofSet(Set<C> set)
Factory method for models that contain sets.
|
setObjectattach, detach, getObjectClass, ofCollection, ofList, ofMappublic static <C> de.alpharogroup.model.api.Model<Set<C>> ofSet(Set<C> set)
set into a serializable one.C - model typeset - The Set, which may or may not be Serializableprotected Set<T> newSerializableCollectionOf(Set<T> object)
newSerializableCollectionOf in class GenericCollectionModel<Set<T>>object - the objectobjectCopyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.