@Component public class AnnotationEntityMapper extends Object implements EntityMapper
| Constructor and Description |
|---|
AnnotationEntityMapper() |
| Modifier and Type | Method and Description |
|---|---|
EntityMetadata |
getEntityMetadata(Class<?> entityClass) |
<T> T |
mapFrom(Class<T> targetType,
SimpleEntity entity) |
MapResult |
mapTo(Object mappableObject) |
Object |
updateId(String id,
Object mappableObject) |
public MapResult mapTo(Object mappableObject) throws JasDBStorageException
mapTo in interface EntityMapperJasDBStorageExceptionpublic Object updateId(String id, Object mappableObject) throws JasDBStorageException
updateId in interface EntityMapperJasDBStorageExceptionpublic <T> T mapFrom(Class<T> targetType, SimpleEntity entity) throws JasDBStorageException
mapFrom in interface EntityMapperJasDBStorageExceptionpublic EntityMetadata getEntityMetadata(Class<?> entityClass) throws JasDBStorageException
getEntityMetadata in interface EntityMapperJasDBStorageExceptionCopyright © 2015. All rights reserved.