public interface EntityMapper
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
mapObject(Object source)
Map the given source to
Map. |
<T> T |
mapToObject(String source,
Class<T> clazz) |
String |
mapToString(Object object) |
<T> T |
readObject(Map<String,Object> source,
Class<T> targetType)
Map the given
Map into an instance of the targetType. |
String mapToString(Object object) throws IOException
IOException<T> T mapToObject(String source, Class<T> clazz) throws IOException
IOExceptionMap<String,Object> mapObject(Object source)
Map.source - must not be null.Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.