org.apache.cayenne.reflect.generic
Class DataObjectDescriptorFactory
java.lang.Object
org.apache.cayenne.reflect.PersistentDescriptorFactory
org.apache.cayenne.reflect.generic.DataObjectDescriptorFactory
- All Implemented Interfaces:
- ClassDescriptorFactory
public class DataObjectDescriptorFactory
- extends PersistentDescriptorFactory
A ClassDescriptorFactory
that creates descriptors for classes implementing
DataObject
.
- Since:
- 3.0
- Author:
- Andrus Adamchik
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataObjectDescriptorFactory
public DataObjectDescriptorFactory(ClassDescriptorMap descriptorMap)
getDescriptor
protected ClassDescriptor getDescriptor(ObjEntity entity,
Class entityClass)
- Overrides:
getDescriptor
in class PersistentDescriptorFactory
createDescriptor
protected PersistentDescriptor createDescriptor()
- Overrides:
createDescriptor
in class PersistentDescriptorFactory
createAttributeProperty
protected void createAttributeProperty(PersistentDescriptor descriptor,
ObjAttribute attribute)
- Overrides:
createAttributeProperty
in class PersistentDescriptorFactory
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
createAccessor
protected Accessor createAccessor(PersistentDescriptor descriptor,
String propertyName,
Class propertyType)
throws PropertyException
- Description copied from class:
PersistentDescriptorFactory
- Creates an accessor for the property.
- Overrides:
createAccessor
in class PersistentDescriptorFactory
- Throws:
PropertyException
Copyright © 2001-2007 Apache Cayenne. All Rights Reserved.