public class DataObjectDescriptorFactory extends PersistentDescriptorFactory
ClassDescriptorFactory that creates descriptors for classes implementing
DataObject.| Modifier and Type | Field and Description |
|---|---|
protected FaultFactory |
faultFactory |
descriptorMap| Constructor and Description |
|---|
DataObjectDescriptorFactory(ClassDescriptorMap descriptorMap,
FaultFactory faultFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected Accessor |
createAccessor(PersistentDescriptor descriptor,
String propertyName,
Class<?> propertyType)
Creates an accessor for the property.
|
protected void |
createAttributeProperty(PersistentDescriptor descriptor,
ObjAttribute attribute) |
protected PersistentDescriptor |
createDescriptor() |
protected void |
createToManyCollectionProperty(PersistentDescriptor descriptor,
ObjRelationship relationship) |
protected void |
createToManyListProperty(PersistentDescriptor descriptor,
ObjRelationship relationship) |
protected void |
createToManyMapProperty(PersistentDescriptor descriptor,
ObjRelationship relationship) |
protected void |
createToManySetProperty(PersistentDescriptor descriptor,
ObjRelationship relationship) |
protected void |
createToOneProperty(PersistentDescriptor descriptor,
ObjRelationship relationship) |
protected ClassDescriptor |
getDescriptor(ObjEntity entity,
Class<?> entityClass) |
createEmbeddableAccessor, createEmbeddableDescriptor, createEmbeddedAttributeProperty, createMapKeyAccessor, getDescriptor, indexQualifiers, indexRootDbEntities, indexSubclassDescriptors, indexSuperclassPropertiesprotected FaultFactory faultFactory
public DataObjectDescriptorFactory(ClassDescriptorMap descriptorMap, FaultFactory faultFactory)
protected ClassDescriptor getDescriptor(ObjEntity entity, Class<?> entityClass)
getDescriptor in class PersistentDescriptorFactoryprotected PersistentDescriptor createDescriptor()
createDescriptor in class PersistentDescriptorFactoryprotected void createAttributeProperty(PersistentDescriptor descriptor, ObjAttribute attribute)
createAttributeProperty in class PersistentDescriptorFactoryprotected void createToManyListProperty(PersistentDescriptor descriptor, ObjRelationship relationship)
createToManyListProperty in class PersistentDescriptorFactoryprotected void createToManyMapProperty(PersistentDescriptor descriptor, ObjRelationship relationship)
createToManyMapProperty in class PersistentDescriptorFactoryprotected void createToManySetProperty(PersistentDescriptor descriptor, ObjRelationship relationship)
createToManySetProperty in class PersistentDescriptorFactoryprotected void createToManyCollectionProperty(PersistentDescriptor descriptor, ObjRelationship relationship)
createToManyCollectionProperty in class PersistentDescriptorFactoryprotected void createToOneProperty(PersistentDescriptor descriptor, ObjRelationship relationship)
createToOneProperty in class PersistentDescriptorFactoryprotected Accessor createAccessor(PersistentDescriptor descriptor, String propertyName, Class<?> propertyType) throws PropertyException
PersistentDescriptorFactorycreateAccessor in class PersistentDescriptorFactoryPropertyExceptionCopyright © 2001–2023 Apache Cayenne. All rights reserved.