com.mysema.query.sql.dml
Class BeanMapper
java.lang.Object
com.mysema.query.sql.dml.AbstractMapper<Object>
com.mysema.query.sql.dml.BeanMapper
- All Implemented Interfaces:
- Mapper<Object>
public class BeanMapper
- extends AbstractMapper<Object>
Creates the mapping by inspecting the RelationalPath via reflection and object via bean inspection.
Given bean doesn't need to have @Column metadata, but the fields need to have the same
name as in the given relational path.
- Author:
- tiwe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT
public static final BeanMapper DEFAULT
BeanMapper
public BeanMapper()
createMap
public Map<Path<?>,Object> createMap(RelationalPath<?> entity,
Object bean)
- Returns:
Copyright © 2007-2012 Mysema Ltd. All Rights Reserved.