T - type of object inside collectionpublic class CollectionModel<T> extends GenericBaseModel<Collection<T>>
Model but for any collections of serializable objects.| Constructor and Description |
|---|
CollectionModel()
Creates empty model
|
CollectionModel(Collection<T> collection)
Creates model that will contain
collection |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<T> |
createSerializableVersionOf(Collection<T> object)
Creates a serializable version of the object.
|
detach, equals, getObject, getObjectClass, hashCode, setObject, toStringpublic CollectionModel()
public CollectionModel(Collection<T> collection)
collectioncollection - protected Collection<T> createSerializableVersionOf(Collection<T> object)
createSerializableVersionOf in class GenericBaseModel<Collection<T>>objectCopyright © 2006–2021 Apache Software Foundation. All rights reserved.