org.apache.cayenne.jpa.bridge
Class DataMapConverter
java.lang.Object
org.apache.cayenne.jpa.bridge.DataMapConverter
public class DataMapConverter
- extends Object
A converter between JpaEntityMap
and Cayenne
DataMap
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
context
protected EntityMapLoaderContext context
targetPath
protected ProjectPath targetPath
visitor
protected HierarchicalTreeVisitor visitor
DataMapConverter
public DataMapConverter()
toDataMap
public DataMap toDataMap(String name,
EntityMapLoaderContext context)
postprocess
protected void postprocess(DataMap dataMap)
- Connects missing reverse relationships.
recordConflict
protected void recordConflict(ProjectPath path,
String message)
createVisitor
protected HierarchicalTreeVisitor createVisitor()
- Creates a stateless instance of the JpaEntityMap traversal visitor. This method is
lazily invoked and cached by this object.
Copyright © 2001-2008 Apache Cayenne. All Rights Reserved.