org.apache.cayenne.enhancer
Class PersistentAccessorVisitor

java.lang.Object
  extended by ClassAdapter
      extended by org.apache.cayenne.enhancer.AccessorVisitor
          extended by org.apache.cayenne.enhancer.PersistentAccessorVisitor

public class PersistentAccessorVisitor
extends AccessorVisitor

Accessor enhancer that enhances getters and setters mapped in a given ObjEntity.

Since:
3.0

Constructor Summary
PersistentAccessorVisitor(ClassVisitor visitor, ObjEntity entity)
           
 
Method Summary
protected  boolean isEnhancedProperty(String property)
           
protected  boolean isLazyFaulted(String property)
           
 
Methods inherited from class org.apache.cayenne.enhancer.AccessorVisitor
propertyNameForGetter, propertyNameForSetter, visit, visitGetter, visitMethod, visitSetter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistentAccessorVisitor

public PersistentAccessorVisitor(ClassVisitor visitor,
                                 ObjEntity entity)
Method Detail

isEnhancedProperty

protected boolean isEnhancedProperty(String property)
Specified by:
isEnhancedProperty in class AccessorVisitor

isLazyFaulted

protected boolean isLazyFaulted(String property)
Specified by:
isLazyFaulted in class AccessorVisitor


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