com.mysema.query.sql.dml
Class AnnotationMapper

java.lang.Object
  extended by com.mysema.query.sql.dml.AnnotationMapper
All Implemented Interfaces:
Mapper<Object>

public class AnnotationMapper
extends Object
implements Mapper<Object>

Creates the mapping via @Column annotated fields in the object. Field names don't have to match those in the RelationalPath.

Author:
tiwe

Field Summary
static AnnotationMapper DEFAULT
           
 
Constructor Summary
AnnotationMapper()
           
 
Method Summary
 Map<Path<?>,Object> createMap(RelationalPath<?> path, Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static final AnnotationMapper DEFAULT
Constructor Detail

AnnotationMapper

public AnnotationMapper()
Method Detail

createMap

public Map<Path<?>,Object> createMap(RelationalPath<?> path,
                                     Object object)
Specified by:
createMap in interface Mapper<Object>
Returns:


Copyright © 2007-2011 Mysema Ltd. All Rights Reserved.