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, indexSuperclassProperties
protected FaultFactory faultFactory
public DataObjectDescriptorFactory(ClassDescriptorMap descriptorMap, FaultFactory faultFactory)
protected ClassDescriptor getDescriptor(ObjEntity entity, Class<?> entityClass)
getDescriptor
in class PersistentDescriptorFactory
protected PersistentDescriptor createDescriptor()
createDescriptor
in class PersistentDescriptorFactory
protected void createAttributeProperty(PersistentDescriptor descriptor, ObjAttribute attribute)
createAttributeProperty
in class PersistentDescriptorFactory
protected void createToManyListProperty(PersistentDescriptor descriptor, ObjRelationship relationship)
createToManyListProperty
in class PersistentDescriptorFactory
protected void createToManyMapProperty(PersistentDescriptor descriptor, ObjRelationship relationship)
createToManyMapProperty
in class PersistentDescriptorFactory
protected void createToManySetProperty(PersistentDescriptor descriptor, ObjRelationship relationship)
createToManySetProperty
in class PersistentDescriptorFactory
protected void createToManyCollectionProperty(PersistentDescriptor descriptor, ObjRelationship relationship)
createToManyCollectionProperty
in class PersistentDescriptorFactory
protected void createToOneProperty(PersistentDescriptor descriptor, ObjRelationship relationship)
createToOneProperty
in class PersistentDescriptorFactory
protected Accessor createAccessor(PersistentDescriptor descriptor, String propertyName, Class<?> propertyType) throws PropertyException
PersistentDescriptorFactory
createAccessor
in class PersistentDescriptorFactory
PropertyException
Copyright © 2001–2015 Apache Cayenne. All rights reserved.