Uses of Class
org.apache.cayenne.map.ObjEntity
Packages that use 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
Methods in org.apache.cayenne that return ObjEntityModifier and TypeMethodDescriptionstatic ObjEntity
Cayenne.getObjEntity
(Persistent p) Returns mapped ObjEntity for object. -
Uses of ObjEntity in org.apache.cayenne.access
Fields in org.apache.cayenne.access declared as ObjEntity -
Uses of ObjEntity in org.apache.cayenne.access.translator.ejbql
Fields in org.apache.cayenne.access.translator.ejbql declared as ObjEntity -
Uses of ObjEntity in org.apache.cayenne.ashwood
Fields in org.apache.cayenne.ashwood with type parameters of type ObjEntityModifier and TypeFieldDescriptionprotected Comparator
<ObjEntity> AshwoodEntitySorter.objEntityComparator
Methods in org.apache.cayenne.ashwood that return types with arguments of type ObjEntityModifier and TypeMethodDescriptionAshwoodEntitySorter.getObjEntityComparator()
protected Comparator
<ObjEntity> AshwoodEntitySorter.getObjEntityComparator
(boolean dependantFirst) protected Comparator
<ObjEntity> WeightedAshwoodEntitySorter.getObjEntityComparator
(boolean dependantFirst) Methods in org.apache.cayenne.ashwood with parameters of type ObjEntityModifier 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) Method parameters in org.apache.cayenne.ashwood with type arguments of type ObjEntityModifier and TypeMethodDescriptionvoid
AshwoodEntitySorter.sortObjEntities
(List<ObjEntity> objEntities, boolean deleteOrder) -
Uses of ObjEntity in org.apache.cayenne.configuration
Methods in org.apache.cayenne.configuration with parameters of type ObjEntityModifier and TypeMethodDescriptionBaseConfigurationNodeVisitor.visitObjEntity
(ObjEntity entity) ConfigurationNodeVisitor.visitObjEntity
(ObjEntity entity) EmptyConfigurationNodeVisitor.visitObjEntity
(ObjEntity entity) -
Uses of ObjEntity in org.apache.cayenne.configuration.xml
Methods in org.apache.cayenne.configuration.xml that return ObjEntityConstructors in org.apache.cayenne.configuration.xml with parameters of type ObjEntityModifierConstructorDescriptionEmbeddableAttributeHandler
(NamespaceAwareNestedTagHandler parentHandler, ObjEntity entity) -
Uses of ObjEntity in org.apache.cayenne.map
Fields in org.apache.cayenne.map declared as ObjEntityMethods in org.apache.cayenne.map that return ObjEntityModifier 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.Methods in org.apache.cayenne.map that return types with arguments of type ObjEntityModifier 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()
Methods in org.apache.cayenne.map with parameters of type ObjEntityModifier 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.Method parameters in org.apache.cayenne.map with type arguments of type ObjEntityModifier and TypeMethodDescriptionvoid
EntitySorter.sortObjEntities
(List<ObjEntity> objEntities, boolean deleteOrder) Sorts a list of ObjEntities.Constructors in org.apache.cayenne.map with parameters of type ObjEntityModifierConstructorDescriptionEmbeddedAttribute
(String name, String type, ObjEntity entity) EntityInheritanceTree
(ObjEntity entity) ObjAttribute
(String name, String type, ObjEntity entity) -
Uses of ObjEntity in org.apache.cayenne.query
Methods in org.apache.cayenne.query that return ObjEntityModifier and TypeMethodDescriptionQueryMetadata.getObjEntity()
Returns an ObjEntity associated with a query or null if no such entity exists.QueryMetadataProxy.getObjEntity()
SelectById.QueryRoot.resolve
(EntityResolver resolver) Methods in org.apache.cayenne.query with parameters of type ObjEntityModifier 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) Constructors in org.apache.cayenne.query with parameters of type ObjEntityModifierConstructorDescriptionSelectQuery
(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
Fields in org.apache.cayenne.reflect declared as ObjEntityMethods in org.apache.cayenne.reflect that return ObjEntityModifier and TypeMethodDescriptionClassDescriptor.getEntity()
Returns an ObjEntity associated with this descriptor.LazyClassDescriptorDecorator.getEntity()
PersistentDescriptor.getEntity()
Methods in org.apache.cayenne.reflect with parameters of type ObjEntityModifier and TypeMethodDescriptionprotected ClassDescriptor
PersistentDescriptorFactory.getDescriptor
(ObjEntity entity, Class<?> entityClass) void
-
Uses of ObjEntity in org.apache.cayenne.reflect.generic
Methods in org.apache.cayenne.reflect.generic with parameters of type ObjEntityModifier and TypeMethodDescriptionprotected ClassDescriptor
DataObjectDescriptorFactory.getDescriptor
(ObjEntity entity, Class<?> entityClass) -
Uses of ObjEntity in org.apache.cayenne.util
Methods in org.apache.cayenne.util with parameters of type ObjEntityModifier and TypeMethodDescriptionstatic void
DeleteRuleUpdater.updateObjEntity
(ObjEntity e) Updates delete rules for all relationships in a objentity