public interface ModelMapper
| Modifier and Type | Method and Description |
|---|---|
Collection<?> |
fromModel(Collection<?> collection)
Same from ViewModel, but with collections
|
Object |
fromModel(Object obj)
Maps model to view model
|
Collection<?> |
toModel(Collection<?> collection)
Same toViewModel, but with collections
|
Object |
toModel(Object obj)
maps view model to model
|
Object fromModel(Object obj)
obj - to convert to view modelObject toModel(Object obj)
obj - voew model to convert to modelCollection<?> fromModel(Collection<?> collection)
collection - the collection to convertCollection<?> toModel(Collection<?> collection)
collection - the collection to convertCopyright © 2014 JDAL. All Rights Reserved.