org.apache.cayenne.jpa.conf
Class EntityMapDefaultsProcessor

java.lang.Object
  extended by org.apache.cayenne.jpa.conf.EntityMapDefaultsProcessor

public class EntityMapDefaultsProcessor
extends Object

Initializes JPA specification compatible mapping defaults.

Author:
Andrus Adamchik

Field Summary
protected  EntityMapLoaderContext context
           
protected  HierarchicalTreeVisitor visitor
           
 
Constructor Summary
EntityMapDefaultsProcessor()
           
 
Method Summary
 void applyDefaults(EntityMapLoaderContext context)
           
protected  HierarchicalTreeVisitor createVisitor()
          Creates a stateless instance of the JpaEntityMap traversal visitor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

visitor

protected HierarchicalTreeVisitor visitor

context

protected transient EntityMapLoaderContext context
Constructor Detail

EntityMapDefaultsProcessor

public EntityMapDefaultsProcessor()
Method Detail

applyDefaults

public void applyDefaults(EntityMapLoaderContext context)
                   throws JpaProviderException
Throws:
JpaProviderException

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-2007 Apache Cayenne. All Rights Reserved.