org.apache.cayenne.reflect.valueholder
Class ValueHolderDescriptorFactory

java.lang.Object
  extended by org.apache.cayenne.reflect.PersistentDescriptorFactory
      extended by org.apache.cayenne.reflect.valueholder.ValueHolderDescriptorFactory
All Implemented Interfaces:
ClassDescriptorFactory

public class ValueHolderDescriptorFactory
extends PersistentDescriptorFactory

A ClassDescriptorFactory for Persistent objects that implement relationship faulting via ValueHolder.

Since:
3.0
Author:
Andrus Adamchik

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

Constructor Detail

ValueHolderDescriptorFactory

public ValueHolderDescriptorFactory(ClassDescriptorMap descriptorMap)
Method Detail

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.