Uses of Interface
org.apache.cayenne.reflect.ClassDescriptor
-
Packages that use ClassDescriptor Package Description 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.translator.ejbql 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 Modifier and Type Method Description static ClassDescriptorCayenne. 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 Modifier and Type Method Description ListDataContext. objectsFromDataRows(ClassDescriptor descriptor, 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.translator.ejbql
Methods in org.apache.cayenne.access.translator.ejbql that return ClassDescriptor Modifier and Type Method Description ClassDescriptorEJBQLTranslationContext. getEntityDescriptor(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 Modifier and Type Method Description ClassDescriptorEJBQLCompiledExpression. getEntityDescriptor(String identifier)Returns a ClassDescriptor for the id variable.ClassDescriptorEJBQLCompiledExpression. 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 Modifier and Type Method Description ClassDescriptorEntityResolver. getClassDescriptor(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 Modifier and Type Method Description ClassDescriptorEntityResultSegment. getClassDescriptor()ClassDescriptorQueryMetadata. getClassDescriptor()ClassDescriptorQueryMetadataProxy. getClassDescriptor() -
Uses of ClassDescriptor in org.apache.cayenne.reflect
Classes in org.apache.cayenne.reflect that implement ClassDescriptor Modifier and Type Class Description classLazyClassDescriptorDecoratorA ClassDescriptor wrapper that compiles decorated descriptor lazily on first access.classPersistentDescriptorA default ClassDescriptor implementation for persistent objects.Fields in org.apache.cayenne.reflect declared as ClassDescriptor Modifier and Type Field Description protected ClassDescriptorLazyClassDescriptorDecorator. descriptorprotected ClassDescriptorBaseProperty. ownerprotected ClassDescriptorPersistentDescriptor. superclassDescriptorprotected ClassDescriptorBaseArcProperty. targetDescriptorFields in org.apache.cayenne.reflect with type parameters of type ClassDescriptor Modifier and Type Field Description protected Map<String,ClassDescriptor>ClassDescriptorMap. descriptorsprotected Map<String,ClassDescriptor>PersistentDescriptor. subclassDescriptorsMethods in org.apache.cayenne.reflect that return ClassDescriptor Modifier and Type Method Description protected ClassDescriptorClassDescriptorMap. createDescriptor(String entityName)Creates a new descriptor.protected ClassDescriptorClassDescriptorMap. createProxyDescriptor(String entityName)Creates a descriptor wrapper that will compile the underlying descriptor on demand.ClassDescriptorClassDescriptorFactory. getDescriptor(String entityName)Returns a ClassDescriptor instance for a given symbolic entity name.ClassDescriptorClassDescriptorMap. getDescriptor(String entityName)ClassDescriptorLazyClassDescriptorDecorator. getDescriptor()Returns underlying descriptor used to delegate all processing, resolving it if needed.ClassDescriptorPersistentDescriptorFactory. getDescriptor(String entityName)protected ClassDescriptorPersistentDescriptorFactory. getDescriptor(ObjEntity entity, Class<?> entityClass)ClassDescriptorClassDescriptor. getSubclassDescriptor(Class<?> objectClass)Returns the most "specialized" descriptor for a given class.ClassDescriptorLazyClassDescriptorDecorator. getSubclassDescriptor(Class<?> objectClass)ClassDescriptorPersistentDescriptor. getSubclassDescriptor(Class<?> objectClass)ClassDescriptorClassDescriptor. 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.ClassDescriptorLazyClassDescriptorDecorator. getSuperclassDescriptor()ClassDescriptorPersistentDescriptor. getSuperclassDescriptor()Returns a descriptor of the mapped superclass or null if the descriptor's entity sits at the top of inheritance hierarchy.ClassDescriptorArcProperty. getTargetDescriptor()Returns a ClassDescriptor for the type of graph nodes pointed to by this arc property.ClassDescriptorBaseArcProperty. getTargetDescriptor()Methods in org.apache.cayenne.reflect with parameters of type ClassDescriptor Modifier and Type Method Description voidClassDescriptorMap. addDescriptor(String entityName, ClassDescriptor descriptor)Caches descriptor definition.voidPersistentDescriptor. addSubclassDescriptor(String className, ClassDescriptor subclassDescriptor)Adds a subclass descriptor that maps to a given class name.protected AccessorPersistentDescriptorFactory. createMapKeyAccessor(ObjRelationship relationship, ClassDescriptor targetDescriptor)Creates an accessor to read a map key for a given relationship.voidPersistentDescriptor. setSuperclassDescriptor(ClassDescriptor superclassDescriptor)Constructors in org.apache.cayenne.reflect with parameters of type ClassDescriptor Constructor Description BaseArcProperty(ClassDescriptor owner, ClassDescriptor targetDescriptor, Accessor accessor, String reverseName)BaseProperty(ClassDescriptor owner, Accessor accessor)BaseToManyProperty(ClassDescriptor owner, ClassDescriptor targetDescriptor, Accessor accessor, String reverseName)BaseToOneProperty(ClassDescriptor owner, ClassDescriptor targetDescriptor, Accessor accessor, 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 Modifier and Type Method Description protected ClassDescriptorDataObjectDescriptorFactory. getDescriptor(ObjEntity entity, Class<?> entityClass) -
Uses of ClassDescriptor in org.apache.cayenne.util
Methods in org.apache.cayenne.util with parameters of type ClassDescriptor Modifier and Type Method Description ObjectObjectDetachOperation. detach(Object object, ClassDescriptor descriptor, PrefetchTreeNode prefetchTree)"Detaches" an object from its context by creating an unattached copy.
-