|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ClassDescriptor | |
---|---|
org.apache.cayenne | Contains persistence APIs directly accessible by users. |
org.apache.cayenne.access | Contains classes that make up Cayenne ORM stack. |
org.apache.cayenne.access.jdbc | Contains classes that handle JDBC interactions. |
org.apache.cayenne.ejbql | |
org.apache.cayenne.map | Contains O/R mapping classes that store relational database metadata information and map it to Java classes. |
org.apache.cayenne.query | Defines standard queries supported by Cayenne and extension mechanism to create custom queries. |
org.apache.cayenne.reflect | |
org.apache.cayenne.reflect.generic | |
org.apache.cayenne.util | General utility classes. |
Uses of ClassDescriptor in org.apache.cayenne |
---|
Methods in org.apache.cayenne that return ClassDescriptor | |
---|---|
static ClassDescriptor |
Cayenne.getClassDescriptor(Persistent object)
Returns class descriptor for the object or null if the object is not registered with an ObjectContext or descriptor was not found. |
Uses of ClassDescriptor in org.apache.cayenne.access |
---|
Methods in org.apache.cayenne.access with parameters of type ClassDescriptor | |
---|---|
java.util.List |
DataContext.objectsFromDataRows(ClassDescriptor descriptor,
java.util.List<? extends DataRow> dataRows)
Converts a list of DataRows to a List of DataObject registered with this DataContext. |
Uses of ClassDescriptor in org.apache.cayenne.access.jdbc |
---|
Methods in org.apache.cayenne.access.jdbc that return ClassDescriptor | |
---|---|
ClassDescriptor |
EJBQLTranslationContext.getEntityDescriptor(java.lang.String id)
Looks up entity descriptor for an identifier that can be a compiled expression id or one of the aliases. |
Uses of ClassDescriptor in org.apache.cayenne.ejbql |
---|
Methods in org.apache.cayenne.ejbql that return ClassDescriptor | |
---|---|
ClassDescriptor |
EJBQLCompiledExpression.getEntityDescriptor(java.lang.String identifier)
Returns a ClassDescriptor for the id variable. |
ClassDescriptor |
EJBQLCompiledExpression.getRootDescriptor()
Returns a descriptor of the root of this expression such as entity being fetched or updated. |
Uses of ClassDescriptor in org.apache.cayenne.map |
---|
Methods in org.apache.cayenne.map that return ClassDescriptor | |
---|---|
ClassDescriptor |
EntityResolver.getClassDescriptor(java.lang.String entityName)
Returns ClassDescriptor for the ObjEntity matching the name. |
Uses of ClassDescriptor in org.apache.cayenne.query |
---|
Methods in org.apache.cayenne.query that return ClassDescriptor | |
---|---|
ClassDescriptor |
EntityResultSegment.getClassDescriptor()
|
ClassDescriptor |
QueryMetadata.getClassDescriptor()
|
Uses of ClassDescriptor in org.apache.cayenne.reflect |
---|
Classes in org.apache.cayenne.reflect that implement ClassDescriptor | |
---|---|
class |
LazyClassDescriptorDecorator
A ClassDescriptor wrapper that compiles decorated descriptor lazily on first access. |
class |
PersistentDescriptor
A default ClassDescriptor implementation for persistent objects. |
Fields in org.apache.cayenne.reflect declared as ClassDescriptor | |
---|---|
protected ClassDescriptor |
LazyClassDescriptorDecorator.descriptor
|
protected ClassDescriptor |
BaseProperty.owner
|
protected ClassDescriptor |
PersistentDescriptor.superclassDescriptor
|
protected ClassDescriptor |
BaseArcProperty.targetDescriptor
|
Fields in org.apache.cayenne.reflect with type parameters of type ClassDescriptor | |
---|---|
protected java.util.Map<java.lang.String,ClassDescriptor> |
ClassDescriptorMap.descriptors
|
protected java.util.Map<java.lang.String,ClassDescriptor> |
PersistentDescriptor.subclassDescriptors
|
Methods in org.apache.cayenne.reflect that return ClassDescriptor | |
---|---|
protected ClassDescriptor |
ClassDescriptorMap.createDescriptor(java.lang.String entityName)
Creates a new descriptor. |
protected ClassDescriptor |
ClassDescriptorMap.createProxyDescriptor(java.lang.String entityName)
Creates a descriptor wrapper that will compile the underlying descriptor on demand. |
ClassDescriptor |
LazyClassDescriptorDecorator.getDescriptor()
Returns underlying descriptor used to delegate all processing, resolving it if needed. |
protected ClassDescriptor |
PersistentDescriptorFactory.getDescriptor(ObjEntity entity,
java.lang.Class<?> entityClass)
|
ClassDescriptor |
ClassDescriptorFactory.getDescriptor(java.lang.String entityName)
Returns a ClassDescriptor instance for a given symbolic entity name. |
ClassDescriptor |
ClassDescriptorMap.getDescriptor(java.lang.String entityName)
|
ClassDescriptor |
PersistentDescriptorFactory.getDescriptor(java.lang.String entityName)
|
ClassDescriptor |
ClassDescriptor.getSubclassDescriptor(java.lang.Class<?> objectClass)
Returns the most "specialized" descriptor for a given class. |
ClassDescriptor |
LazyClassDescriptorDecorator.getSubclassDescriptor(java.lang.Class<?> objectClass)
|
ClassDescriptor |
PersistentDescriptor.getSubclassDescriptor(java.lang.Class<?> objectClass)
|
ClassDescriptor |
ClassDescriptor.getSuperclassDescriptor()
Returns a descriptor of the mapped superclass or null if the descriptor's entity sits at the top of inheritance hierarchy or no inheritance is mapped. |
ClassDescriptor |
LazyClassDescriptorDecorator.getSuperclassDescriptor()
|
ClassDescriptor |
PersistentDescriptor.getSuperclassDescriptor()
Returns a descriptor of the mapped superclass or null if the descriptor's entity sits at the top of inheritance hierarchy. |
ClassDescriptor |
ArcProperty.getTargetDescriptor()
Returns a ClassDescriptor for the type of graph nodes pointed to by this arc property. |
ClassDescriptor |
BaseArcProperty.getTargetDescriptor()
|
Methods in org.apache.cayenne.reflect with parameters of type ClassDescriptor | |
---|---|
void |
ClassDescriptorMap.addDescriptor(java.lang.String entityName,
ClassDescriptor descriptor)
Caches descriptor definition. |
void |
PersistentDescriptor.addSubclassDescriptor(java.lang.String className,
ClassDescriptor subclassDescriptor)
Adds a subclass descriptor that maps to a given class name. |
protected Accessor |
PersistentDescriptorFactory.createMapKeyAccessor(ObjRelationship relationship,
ClassDescriptor targetDescriptor)
Creates an accessor to read a map key for a given relationship. |
void |
PersistentDescriptor.setSuperclassDescriptor(ClassDescriptor superclassDescriptor)
|
Constructors in org.apache.cayenne.reflect with parameters of type ClassDescriptor | |
---|---|
BaseArcProperty(ClassDescriptor owner,
ClassDescriptor targetDescriptor,
Accessor accessor,
java.lang.String reverseName)
|
|
BaseProperty(ClassDescriptor owner,
Accessor accessor)
|
|
BaseToManyProperty(ClassDescriptor owner,
ClassDescriptor targetDescriptor,
Accessor accessor,
java.lang.String reverseName)
|
|
BaseToOneProperty(ClassDescriptor owner,
ClassDescriptor targetDescriptor,
Accessor accessor,
java.lang.String reverseName)
|
|
SimpleAttributeProperty(ClassDescriptor owner,
Accessor accessor,
ObjAttribute attribute)
|
Uses of ClassDescriptor in org.apache.cayenne.reflect.generic |
---|
Methods in org.apache.cayenne.reflect.generic that return ClassDescriptor | |
---|---|
protected ClassDescriptor |
DataObjectDescriptorFactory.getDescriptor(ObjEntity entity,
java.lang.Class<?> entityClass)
|
Uses of ClassDescriptor in org.apache.cayenne.util |
---|
Methods in org.apache.cayenne.util with parameters of type ClassDescriptor | |
---|---|
java.lang.Object |
ObjectDetachOperation.detach(java.lang.Object object,
ClassDescriptor descriptor,
PrefetchTreeNode prefetchTree)
"Detaches" an object from its context by creating an unattached copy. |
java.lang.Object |
DeepMergeOperation.merge(java.lang.Object object,
ClassDescriptor descriptor)
Deprecated. since 3.1 use DeepMergeOperation.merge(Persistent) . |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |