Uses of Class
org.apache.cayenne.map.ObjEntity
Package
Description
Contains persistence APIs directly accessible by users.
Contains classes that make up Cayenne ORM stack.
Contains O/R mapping classes that store relational database
metadata information and map it to Java classes.
Defines standard queries supported by Cayenne and extension mechanism to create
custom queries.
General utility classes.
-
Uses of ObjEntity in org.apache.cayenne
Modifier and TypeMethodDescriptionstatic ObjEntity
Cayenne.getObjEntity
(Persistent p) Returns mapped ObjEntity for object. -
Uses of ObjEntity in org.apache.cayenne.access
-
Uses of ObjEntity in org.apache.cayenne.access.translator.ejbql
-
Uses of ObjEntity in org.apache.cayenne.ashwood
Modifier and TypeFieldDescriptionprotected Comparator
<ObjEntity> AshwoodEntitySorter.objEntityComparator
Modifier and TypeMethodDescriptionAshwoodEntitySorter.getObjEntityComparator()
protected Comparator
<ObjEntity> AshwoodEntitySorter.getObjEntityComparator
(boolean dependantFirst) protected Comparator
<ObjEntity> WeightedAshwoodEntitySorter.getObjEntityComparator
(boolean dependantFirst) Modifier and TypeMethodDescriptionprotected void
WeightedAshwoodEntitySorter.addWeightForEntity
(ObjEntity entity) AshwoodEntitySorter.buildDigraph
(ObjEntity objEntity, List<E> objects, Function<E, Persistent> converter) protected String[]
AshwoodEntitySorter.getReflexiveRelationshipsNames
(ObjEntity objEntity) void
AshwoodEntitySorter.sortObjectsForEntity
(ObjEntity objEntity, List<?> objects, boolean deleteOrder) protected <E> void
AshwoodEntitySorter.sortObjectsForEntity
(ObjEntity objEntity, List<E> objects, boolean deleteOrder, Function<E, Persistent> converter) Modifier and TypeMethodDescriptionvoid
AshwoodEntitySorter.sortObjEntities
(List<ObjEntity> objEntities, boolean deleteOrder) -
Uses of ObjEntity in org.apache.cayenne.configuration
Modifier and TypeMethodDescriptionBaseConfigurationNodeVisitor.visitObjEntity
(ObjEntity entity) ConfigurationNodeVisitor.visitObjEntity
(ObjEntity entity) EmptyConfigurationNodeVisitor.visitObjEntity
(ObjEntity entity) -
Uses of ObjEntity in org.apache.cayenne.configuration.xml
ModifierConstructorDescriptionEmbeddableAttributeHandler
(NamespaceAwareNestedTagHandler parentHandler, ObjEntity entity) -
Uses of ObjEntity in org.apache.cayenne.map
Modifier and TypeMethodDescriptionEntityInheritanceTree.entityMatchingRow
(DataRow row) Returns the deepest possible entity in the inheritance hierarchy that can be used to create objects from a given DataRow.ObjEntity.getClientEntity()
Returns an ObjEntity stripped of any server-side information, such as DbEntity mapping.EntityInheritanceTree.getEntity()
ObjAttribute.getEntity()
DataMap.getObjEntity
(Class<?> entityClass) DataMap.getObjEntity
(String objEntityName) Returns an ObjEntity for a given name.DataMap.getObjEntity
(Persistent object) EntityResolver.getObjEntity
(Class<?> entityClass) Looks in the DataMap's that this object was created with for the ObjEntity that maps to the services the specified classEntityResolver.getObjEntity
(Class<?> entityClass, boolean lookupClientResolver) Looks in the DataMap's that this object was created with for the ObjEntity that maps to the services the specified class, with option to fallback to search by name with client resolver in case entity not found.EntityResolver.getObjEntity
(String name) EntityResolver.getObjEntity
(Persistent object) MappingNamespace.getObjEntity
(Class<?> entityClass) MappingNamespace.getObjEntity
(String name) Returns ObjEntity for a given name, or null if no such ObjEntity is found in the MappingNamespace.MappingNamespace.getObjEntity
(Persistent object) DataMap.getObjEntityForJavaClass
(String javaClassName) Returns an ObjEntity for a DataObject class name.ObjRelationship.getSourceEntity()
ObjEntity.getSuperEntity()
Returns a "super" entity in the entity inheritance hierarchy.ObjRelationship.getTargetEntity()
Returns a target ObjEntity of this relationship.Modifier and TypeMethodDescriptionEntityInheritanceTree.allSubEntities()
Returns a collection containing this inheritance tree node entity and all its subentities.DataMap.getMappedEntities
(DbEntity dbEntity) Returns all ObjEntities mapped to the given DbEntity.DataMap.getObjEntities()
Returns an unmodifiable collection of ObjEntities stored in this DataMap.EntityResolver.getObjEntities()
MappingNamespace.getObjEntities()
Returns all ObjEntities in the namespace.EntitySorter.getObjEntityComparator()
DataMap.getObjEntityMap()
Returns a unmodifiable map of ObjEntities contained in this DataMap, keyed by ObjEntity name.DataMap.getSubclassesForObjEntity
(ObjEntity superEntity) DbEntity.mappedObjEntities()
Modifier and TypeMethodDescriptionvoid
DataMap.addObjEntity
(ObjEntity entity) Adds a new ObjEntity to this DataMap.ObjAttribute.getDbPathIterator
(ObjEntity entity) DataMap.getSubclassesForObjEntity
(ObjEntity superEntity) boolean
ObjEntity.isSubentityOf
(ObjEntity entity) Returns true if this entity directly or indirectly inherits from a given entity, false otherwise.void
EntitySorter.sortObjectsForEntity
(ObjEntity entity, List<?> objects, boolean deleteOrder) Sorts a list of objects belonging to the ObjEntity.Modifier and TypeMethodDescriptionvoid
EntitySorter.sortObjEntities
(List<ObjEntity> objEntities, boolean deleteOrder) Sorts a list of ObjEntities.ModifierConstructorDescriptionEmbeddedAttribute
(String name, String type, ObjEntity entity) EntityInheritanceTree
(ObjEntity entity) ObjAttribute
(String name, String type, ObjEntity entity) -
Uses of ObjEntity in org.apache.cayenne.query
Modifier and TypeMethodDescriptionQueryMetadata.getObjEntity()
Returns an ObjEntity associated with a query or null if no such entity exists.QueryMetadataProxy.getObjEntity()
SelectById.QueryRoot.resolve
(EntityResolver resolver) Modifier and TypeMethodDescriptionSelectById.IdSpec.getQualifier
(ObjEntity entity) SelectById.MultiMapIdSpec.getQualifier
(ObjEntity entity) SelectById.MultiScalarIdSpec.getQualifier
(ObjEntity entity) SelectById.SingleMapIdSpec.getQualifier
(ObjEntity entity) SelectById.SingleScalarIdSpec.getQualifier
(ObjEntity entity) ModifierConstructorDescriptionSelectQuery
(ObjEntity root) Deprecated.Creates a SelectQuery with null qualifier, for the specifed ObjEntitySelectQuery
(ObjEntity root, Expression qualifier) Deprecated.Creates a SelectQuery for the specified ObjEntity with the given qualifier.SelectQuery
(ObjEntity root, Expression qualifier, List<? extends Ordering> orderings) Deprecated.Creates a SelectQuery for the specified ObjEntity with the given qualifier and orderings.SQLTemplate
(ObjEntity rootEntity, String defaultTemplate) -
Uses of ObjEntity in org.apache.cayenne.reflect
Modifier and TypeMethodDescriptionClassDescriptor.getEntity()
Returns an ObjEntity associated with this descriptor.LazyClassDescriptorDecorator.getEntity()
PersistentDescriptor.getEntity()
Modifier and TypeMethodDescriptionprotected ClassDescriptor
PersistentDescriptorFactory.getDescriptor
(ObjEntity entity, Class<?> entityClass) void
-
Uses of ObjEntity in org.apache.cayenne.reflect.generic
Modifier and TypeMethodDescriptionprotected ClassDescriptor
DataObjectDescriptorFactory.getDescriptor
(ObjEntity entity, Class<?> entityClass) -
Uses of ObjEntity in org.apache.cayenne.util
Modifier and TypeMethodDescriptionstatic void
DeleteRuleUpdater.updateObjEntity
(ObjEntity e) Updates delete rules for all relationships in a objentity