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.enhancer
Class PojoVisitor

    java.lang.Object
      ClassAdapter
          org.apache.cayenne.enhancer.PojoVisitor

    public abstract class PojoVisitor

extends ClassAdapter

Enhances classes passed through the visitor, ensuring that the resulting class implements `Persistent` interface as well as supports lazy faulting.

Since:
  3.0

Field Summary
`protected EnhancementHelper` | `helper`

Constructor Summary
`PojoVisitor(ClassVisitor visitor)`

Method Summary
`protected abstract Collection<String>` | `getLazilyFaultedProperties()`
`void` | `visit(int version, int access, String name, String signature, String superName, String[] interfaces)` Handles injection of additional fields and Persistent interface properties.
`void` | `visitEnd()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### helper

    protected EnhancementHelper helper

Constructor Detail

### PojoVisitor

    public PojoVisitor(ClassVisitor visitor)

Method Detail

### visit

    public void visit(int version,
                      int access,
                      String name,
                      String signature,
                      String superName,
                      String[] interfaces)

  Handles injection of additional fields and Persistent interface properties.

### visitEnd

    public void visitEnd()

### getLazilyFaultedProperties

    protected abstract Collection<String> getLazilyFaultedProperties()

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