Class ValueHolderDescriptorFactory
java.lang.Object
org.apache.cayenne.reflect.PersistentDescriptorFactory
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
-
Field Summary
Fields inherited from class org.apache.cayenne.reflect.PersistentDescriptorFactory
descriptorMap -
Constructor Summary
Constructors Constructor Description ValueHolderDescriptorFactory(ClassDescriptorMap descriptorMap) -
Method Summary
Modifier and Type Method Description protected voidcreateToManyCollectionProperty(PersistentDescriptor descriptor, ObjRelationship relationship)protected voidcreateToManyListProperty(PersistentDescriptor descriptor, ObjRelationship relationship)protected voidcreateToManyMapProperty(PersistentDescriptor descriptor, ObjRelationship relationship)protected voidcreateToManySetProperty(PersistentDescriptor descriptor, ObjRelationship relationship)protected voidcreateToOneProperty(PersistentDescriptor descriptor, ObjRelationship relationship)Methods inherited from class org.apache.cayenne.reflect.PersistentDescriptorFactory
createAccessor, createAttributeProperty, createDescriptor, createEmbeddableAccessor, createEmbeddableDescriptor, createEmbeddedAttributeProperty, createMapKeyAccessor, getDescriptor, getDescriptor, indexAdditionalDbEntities, indexQualifiers, indexRootDbEntities, indexSubclassDescriptors, indexSuperclassProperties
-
Constructor Details
-
ValueHolderDescriptorFactory
-
-
Method Details
-
createToManyCollectionProperty
protected void createToManyCollectionProperty(PersistentDescriptor descriptor, ObjRelationship relationship)- Specified by:
createToManyCollectionPropertyin classPersistentDescriptorFactory
-
createToManyListProperty
protected void createToManyListProperty(PersistentDescriptor descriptor, ObjRelationship relationship)- Specified by:
createToManyListPropertyin classPersistentDescriptorFactory
-
createToManyMapProperty
protected void createToManyMapProperty(PersistentDescriptor descriptor, ObjRelationship relationship)- Specified by:
createToManyMapPropertyin classPersistentDescriptorFactory
-
createToManySetProperty
protected void createToManySetProperty(PersistentDescriptor descriptor, ObjRelationship relationship)- Specified by:
createToManySetPropertyin classPersistentDescriptorFactory
-
createToOneProperty
- Specified by:
createToOnePropertyin classPersistentDescriptorFactory
-