Class PersistentObjectDescriptorFactory
java.lang.Object
org.apache.cayenne.reflect.PersistentDescriptorFactory
org.apache.cayenne.reflect.generic.PersistentObjectDescriptorFactory
- All Implemented Interfaces:
- ClassDescriptorFactory
A 
ClassDescriptorFactory that creates descriptors for classes implementing Persistent.- Since:
- 3.0
- 
Field SummaryFieldsFields inherited from class org.apache.cayenne.reflect.PersistentDescriptorFactorydescriptorMap
- 
Constructor SummaryConstructorsConstructorDescriptionPersistentObjectDescriptorFactory(ClassDescriptorMap descriptorMap, FaultFactory faultFactory, ValueComparisonStrategyFactory valueComparisonStrategyFactory) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected AccessorcreateAccessor(PersistentDescriptor descriptor, String propertyName, Class<?> propertyType) Creates an accessor for the property.protected voidcreateAttributeProperty(PersistentDescriptor descriptor, ObjAttribute attribute) 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) protected ClassDescriptorgetDescriptor(ObjEntity entity, Class<?> entityClass) Methods inherited from class org.apache.cayenne.reflect.PersistentDescriptorFactorycreateDescriptor, createEmbeddableAccessor, createEmbeddableDescriptor, createEmbeddedAttributeProperty, createMapKeyAccessor, getDescriptor, indexAdditionalDbEntities, indexQualifiers, indexRootDbEntities, indexSubclassDescriptors, indexSuperclassProperties
- 
Field Details- 
faultFactory
- 
valueComparisonStrategyFactory
 
- 
- 
Constructor Details- 
PersistentObjectDescriptorFactorypublic PersistentObjectDescriptorFactory(ClassDescriptorMap descriptorMap, FaultFactory faultFactory, ValueComparisonStrategyFactory valueComparisonStrategyFactory) 
 
- 
- 
Method Details- 
getDescriptor- Overrides:
- getDescriptorin class- PersistentDescriptorFactory
 
- 
createAttributeProperty- Overrides:
- createAttributePropertyin class- PersistentDescriptorFactory
 
- 
createToManyListPropertyprotected void createToManyListProperty(PersistentDescriptor descriptor, ObjRelationship relationship) - Specified by:
- createToManyListPropertyin class- PersistentDescriptorFactory
 
- 
createToManyMapPropertyprotected void createToManyMapProperty(PersistentDescriptor descriptor, ObjRelationship relationship) - Specified by:
- createToManyMapPropertyin class- PersistentDescriptorFactory
 
- 
createToManySetPropertyprotected void createToManySetProperty(PersistentDescriptor descriptor, ObjRelationship relationship) - Specified by:
- createToManySetPropertyin class- PersistentDescriptorFactory
 
- 
createToManyCollectionPropertyprotected void createToManyCollectionProperty(PersistentDescriptor descriptor, ObjRelationship relationship) - Specified by:
- createToManyCollectionPropertyin class- PersistentDescriptorFactory
 
- 
createToOneProperty- Specified by:
- createToOnePropertyin class- PersistentDescriptorFactory
 
- 
createAccessorprotected Accessor createAccessor(PersistentDescriptor descriptor, String propertyName, Class<?> propertyType) throws PropertyException Description copied from class:PersistentDescriptorFactoryCreates an accessor for the property.- Overrides:
- createAccessorin class- PersistentDescriptorFactory
- Throws:
- PropertyException
 
 
-