public abstract class ModelMapperSupport extends Object implements ModelMapper
| Constructor and Description |
|---|
ModelMapperSupport() |
| Modifier and Type | Method and Description |
|---|---|
Collection<?> |
fromModel(Collection<?> collection)
Same from ViewModel, but with collections
|
abstract Object |
fromModel(Object obj)
Maps model to view model
|
Collection<?> |
toModel(Collection<?> collection)
Same toViewModel, but with collections
|
abstract Object |
toModel(Object obj)
maps view model to model
|
public abstract Object fromModel(Object obj)
fromModel in interface ModelMapperobj - to convert to view modelpublic abstract Object toModel(Object obj)
ModelMappertoModel in interface ModelMapperobj - voew model to convert to modelpublic Collection<?> fromModel(Collection<?> collection)
fromModel in interface ModelMappercollection - the collection to convertpublic Collection<?> toModel(Collection<?> collection)
toModel in interface ModelMappercollection - the collection to convertCopyright © 2014 JDAL. All Rights Reserved.