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, toString
public CollectionModel()
public CollectionModel(Collection<T> collection)
collection
collection
- protected Collection<T> createSerializableVersionOf(Collection<T> object)
createSerializableVersionOf
in class GenericBaseModel<Collection<T>>
object
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.