Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cayenne.jpa.conf
Class EntityMapDefaultsProcessor

    java.lang.Object
      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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2008 Apache Cayenne. All Rights Reserved.