org.apache.cayenne.reflect.pojo
Class EnhancedPojoDescriptorFactory

java.lang.Object
  extended by org.apache.cayenne.reflect.PersistentDescriptorFactory
      extended by org.apache.cayenne.reflect.pojo.EnhancedPojoDescriptorFactory
All Implemented Interfaces:
ClassDescriptorFactory
Direct Known Subclasses:
JpaClassDescriptorFactory

public class EnhancedPojoDescriptorFactory
extends PersistentDescriptorFactory

A ClassDescriptorFactory used to create descriptors for the enhanced POJO's.

Since:
3.0
Author:
Andrus Adamchik

Field Summary
 
Fields inherited from class org.apache.cayenne.reflect.PersistentDescriptorFactory
descriptorMap
 
Constructor Summary
EnhancedPojoDescriptorFactory(ClassDescriptorMap descriptorMap)
           
 
Method Summary
protected  void createToManyProperty(PersistentDescriptor descriptor, ObjRelationship relationship)
           
protected  void createToOneProperty(PersistentDescriptor descriptor, ObjRelationship relationship)
           
protected  ClassDescriptor getDescriptor(ObjEntity entity, Class entityClass)
           
 
Methods inherited from class org.apache.cayenne.reflect.PersistentDescriptorFactory
createAccessor, createAttributeProperty, createDescriptor, createEmbeddableAccessor, createEmbeddedAttributeProperty, getDescriptor, indexSubclassDescriptors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnhancedPojoDescriptorFactory

public EnhancedPojoDescriptorFactory(ClassDescriptorMap descriptorMap)
Method Detail

getDescriptor

protected ClassDescriptor getDescriptor(ObjEntity entity,
                                        Class entityClass)
Overrides:
getDescriptor in class PersistentDescriptorFactory

createToManyProperty

protected void createToManyProperty(PersistentDescriptor descriptor,
                                    ObjRelationship relationship)
Specified by:
createToManyProperty in class PersistentDescriptorFactory

createToOneProperty

protected void createToOneProperty(PersistentDescriptor descriptor,
                                   ObjRelationship relationship)
Specified by:
createToOneProperty in class PersistentDescriptorFactory


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