# Uses of Class
org.apache.cayenne.map.ObjEntity

Packages that use ObjEntity
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.ashwood
org.apache.cayenne.commitlog.meta
org.apache.cayenne.configuration
org.apache.cayenne.configuration.xml
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 ObjEntity in org.apache.cayenne

  Methods in org.apache.cayenne that return ObjEntity
  Modifier and Type
  Method
  Description
  `static 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
  Modifier and Type
  Field
  Description
  `protected final ObjEntity`
  IncrementalFaultList.`rootEntity`

- ## Uses of ObjEntity in org.apache.cayenne.access.translator.ejbql

  Fields in org.apache.cayenne.access.translator.ejbql declared as ObjEntity
  Modifier and Type
  Field
  Description
  `protected ObjEntity`
  EJBQLPathTranslator.`currentEntity`

- ## Uses of ObjEntity in org.apache.cayenne.ashwood

  Fields in org.apache.cayenne.ashwood with type parameters of type ObjEntity
  Modifier and Type
  Field
  Description
  `protected Comparator<ObjEntity>`
  AshwoodEntitySorter.`objEntityComparator`
  Methods in org.apache.cayenne.ashwood that return types with arguments of type ObjEntity
  Modifier and Type
  Method
  Description
  `Comparator<ObjEntity>`
  AshwoodEntitySorter.`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 ObjEntity
  Modifier and Type
  Method
  Description
  `protected void`
  WeightedAshwoodEntitySorter.`addWeightForEntity(ObjEntity entity)`
  `protected <E> Digraph<E,Boolean>`
  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 ObjEntity
  Modifier and Type
  Method
  Description
  `void`
  AshwoodEntitySorter.`sortObjEntities(List<ObjEntity> objEntities, boolean deleteOrder)`

- ## Uses of ObjEntity in org.apache.cayenne.commitlog.meta

  Constructors in org.apache.cayenne.commitlog.meta with parameters of type ObjEntity
  Modifier
  Constructor
  Description
  ``
  `MutableCommitLogLogEntity(ObjEntity entity)`

- ## Uses of ObjEntity in org.apache.cayenne.configuration

  Methods in org.apache.cayenne.configuration with parameters of type ObjEntity
  Modifier and Type
  Method
  Description
  `T`
  BaseConfigurationNodeVisitor.`visitObjEntity(ObjEntity entity)`
  `T`
  ConfigurationNodeVisitor.`visitObjEntity(ObjEntity entity)`
  `Void`
  EmptyConfigurationNodeVisitor.`visitObjEntity(ObjEntity entity)`

- ## Uses of ObjEntity in org.apache.cayenne.configuration.xml

  Methods in org.apache.cayenne.configuration.xml that return ObjEntity
  Modifier and Type
  Method
  Description
  `ObjEntity`
  ObjEntityHandler.`getEntity()`
  Constructors in org.apache.cayenne.configuration.xml with parameters of type ObjEntity
  Modifier
  Constructor
  Description
  ``
  `EmbeddableAttributeHandler(NamespaceAwareNestedTagHandler parentHandler, ObjEntity entity)`

- ## Uses of ObjEntity in org.apache.cayenne.map

  Subclasses with type arguments of type ObjEntity in org.apache.cayenne.map
  Modifier and Type
  Class
  Description
  `class`
  `ObjAttribute`
  An ObjAttribute is a mapping descriptor of a Java class property.
  `class`
  `ObjEntity`
  ObjEntity is a mapping descriptor for a Persistent Java class.
  `class`
  `ObjRelationship`
  Describes an association between two Java classes mapped as source and target ObjEntity.
  Fields in org.apache.cayenne.map declared as ObjEntity
  Modifier and Type
  Field
  Description
  `protected final ObjEntity`
  EntityInheritanceTree.`entity`
  Methods in org.apache.cayenne.map that return ObjEntity
  Modifier and Type
  Method
  Description
  `ObjEntity`
  EntityInheritanceTree.`entityMatchingRow(DataRow row)`
  Returns the deepest possible entity in the inheritance hierarchy that can be used to create objects from a given DataRow.
  `ObjEntity`
  EntityInheritanceTree.`getEntity()`
  `ObjEntity`
  ObjAttribute.`getEntity()`
  `ObjEntity`
  DataMap.`getObjEntity(Class<?> entityClass)`
  `ObjEntity`
  DataMap.`getObjEntity(String objEntityName)`
  Returns an ObjEntity for a given name.
  `ObjEntity`
  DataMap.`getObjEntity(Persistent object)`
  `ObjEntity`
  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 class
  `ObjEntity`
  EntityResolver.`getObjEntity(String name)`
  `ObjEntity`
  EntityResolver.`getObjEntity(Persistent object)`
  `ObjEntity`
  MappingNamespace.`getObjEntity(Class<?> entityClass)`
  `ObjEntity`
  MappingNamespace.`getObjEntity(String name)`
  Returns ObjEntity for a given name, or null if no such ObjEntity is found in the MappingNamespace.
  `ObjEntity`
  MappingNamespace.`getObjEntity(Persistent object)`
  `ObjEntity`
  DataMap.`getObjEntityForJavaClass(String javaClassName)`
  Returns an ObjEntity for a Persistent class name.
  `ObjEntity`
  ObjRelationship.`getSourceEntity()`
  `ObjEntity`
  ObjEntity.`getSuperEntity()`
  Returns a "super" entity in the entity inheritance hierarchy.
  `ObjEntity`
  ObjRelationship.`getTargetEntity()`
  Returns a target ObjEntity of this relationship.
  Methods in org.apache.cayenne.map that return types with arguments of type ObjEntity
  Modifier and Type
  Method
  Description
  `Collection<ObjEntity>`
  EntityInheritanceTree.`allSubEntities()`
  Returns a collection containing this inheritance tree node entity and all its subentities.
  `Collection<ObjEntity>`
  DataMap.`getMappedEntities(DbEntity dbEntity)`
  Returns all ObjEntities mapped to the given DbEntity.
  `Collection<ObjEntity>`
  DataMap.`getObjEntities()`
  Returns an unmodifiable collection of ObjEntities stored in this DataMap.
  `Collection<ObjEntity>`
  EntityResolver.`getObjEntities()`
  `Collection<ObjEntity>`
  MappingNamespace.`getObjEntities()`
  Returns all ObjEntities in the namespace.
  `Comparator<ObjEntity>`
  EntitySorter.`getObjEntityComparator()`
  `Map<String, ObjEntity>`
  DataMap.`getObjEntityMap()`
  Returns a unmodifiable map of ObjEntities contained in this DataMap, keyed by ObjEntity name.
  `Map<String, ObjEntity>`
  DataMap.`getSubclassesForObjEntity(ObjEntity superEntity)`
  `Collection<ObjEntity>`
  DbEntity.`mappedObjEntities()`
  Methods in org.apache.cayenne.map with parameters of type ObjEntity
  Modifier and Type
  Method
  Description
  `void`
  DataMap.`addObjEntity(ObjEntity entity)`
  Adds a new ObjEntity to this DataMap.
  `Iterator<CayenneMapEntry>`
  ObjAttribute.`getDbPathIterator(ObjEntity entity)`
  `Map<String, ObjEntity>`
  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`
  DataMap.`renameObjEntity(ObjEntity entity, String newName)`
  Renames an `ObjEntity` that belongs to this DataMap, re-keying the entity map and fixing up dependent references (reverse ObjRelationship targets) and refreshing the parent namespace cache.
  `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 ObjEntity
  Modifier and Type
  Method
  Description
  `void`
  EntitySorter.`sortObjEntities(List<ObjEntity> objEntities, boolean deleteOrder)`
  Sorts a list of ObjEntities.
  Constructors in org.apache.cayenne.map with parameters of type ObjEntity
  Modifier
  Constructor
  Description
  ``
  `EmbeddedAttribute(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 ObjEntity
  Modifier and Type
  Method
  Description
  `ObjEntity`
  QueryMetadata.`getObjEntity()`
  Returns an ObjEntity associated with a query or null if no such entity exists.
  `ObjEntity`
  QueryMetadataProxy.`getObjEntity()`
  `ObjEntity`
  SelectById.QueryRoot.`resolve(EntityResolver resolver)`
  Methods in org.apache.cayenne.query with parameters of type ObjEntity
  Modifier and Type
  Method
  Description
  `Expression`
  SelectById.IdSpec.`getQualifier(ObjEntity entity)`
  `Expression`
  SelectById.MultiMapIdSpec.`getQualifier(ObjEntity entity)`
  `Expression`
  SelectById.MultiScalarIdSpec.`getQualifier(ObjEntity entity)`
  `Expression`
  SelectById.SingleMapIdSpec.`getQualifier(ObjEntity entity)`
  `Expression`
  SelectById.SingleScalarIdSpec.`getQualifier(ObjEntity entity)`
  Constructors in org.apache.cayenne.query with parameters of type ObjEntity
  Modifier
  Constructor
  Description
  ``
  `SQLTemplate(ObjEntity rootEntity, String defaultTemplate)`

- ## Uses of ObjEntity in org.apache.cayenne.reflect

  Fields in org.apache.cayenne.reflect declared as ObjEntity
  Modifier and Type
  Field
  Description
  `protected ObjEntity`
  PersistentDescriptor.`entity`
  Methods in org.apache.cayenne.reflect that return ObjEntity
  Modifier and Type
  Method
  Description
  `ObjEntity`
  ClassDescriptor.`getEntity()`
  Returns an ObjEntity associated with this descriptor.
  `ObjEntity`
  LazyClassDescriptorDecorator.`getEntity()`
  `ObjEntity`
  PersistentDescriptor.`getEntity()`
  Methods in org.apache.cayenne.reflect with parameters of type ObjEntity
  Modifier and Type
  Method
  Description
  `protected ClassDescriptor`
  PersistentDescriptorFactory.`getDescriptor(ObjEntity entity, Class<?> entityClass)`
  `void`
  PersistentDescriptor.`setEntity(ObjEntity entity)`

- ## Uses of ObjEntity in org.apache.cayenne.reflect.generic

  Methods in org.apache.cayenne.reflect.generic with parameters of type ObjEntity
  Modifier and Type
  Method
  Description
  `protected ClassDescriptor`
  PersistentObjectDescriptorFactory.`getDescriptor(ObjEntity entity, Class<?> entityClass)`

- ## Uses of ObjEntity in org.apache.cayenne.util

  Methods in org.apache.cayenne.util with parameters of type ObjEntity
  Modifier and Type
  Method
  Description
  `static void`
  DeleteRuleUpdater.`updateObjEntity(ObjEntity e)`
  Updates delete rules for all relationships in a objentity