# Package org.apache.cayenne.map

package org.apache.cayenne.map
Contains O/R mapping classes that store relational database metadata information and map it to Java classes.

- Related Packages
  Package
  Description
  org.apache.cayenne
  Contains persistence APIs directly accessible by users.
- Class
  Description
  Attribute<E extends Entity<E,A,R>, A extends Attribute<E,A,R>, R extends Relationship<E,A,R>>
  Defines a property descriptor that is a part of an Entity.
  CallbackDescriptor
  A mapping descriptor of a single callback event.
  CallbackMap
  A generic descriptor of a set of standard lifecycle callbacks.
  DataMap
  Stores a collection of related mapping objects that describe database and object layers of an application.
  DbAttribute
  A DbAttribute defines a descriptor for a single database table column.
  DbEntity
  A DbEntity is a mapping descriptor that defines a structure of a database table.
  DbJoin
  Defines a join between two attributes of a given relationship.
  DbKeyGenerator
  DbKeyGenerator is an abstraction of a primary key generator It configures the primary key generation per DbEntity in a RDBMS independent manner.
  DbRelationship
  A DbRelationship is a descriptor of a database inter-table relationship based on one or more primary key/foreign key pairs.
  DefaultEntityResultSegment
  DefaultScalarResultSegment
  DeleteRule
  Defines constants for the possible values of ObjRelationship delete rules.
  EJBQLQueryDescriptor
  Embeddable
  A mapping descriptor of an embeddable class.
  EmbeddableAttribute
  A persistent attribute of an embeddable object.
  EmbeddedAttribute
  An attribute of the ObjEntity that maps to an embeddable class.
  EmbeddedResult
  A metadata object that provides mapping of a set of result columns to an Embeddable object.
  Entity<E extends Entity<E,A,R>, A extends Attribute<E,A,R>, R extends Relationship<E,A,R>>
  An Entity is an abstract descriptor for an entity mapping concept.
  EntityInheritanceTree
  A tree structure representing inheritance hierarchy of an ObjEntity and its subentities.
  EntityResolver
  Represents a virtual shared namespace for zero or more DataMaps.
  EntityResult
  A metadata object that provides mapping of a set of result columns to an ObjEntity.
  EntitySorter
  Defines API for sorting of Cayenne entities based on their mutual dependencies.
  EntitySorterFactory
  Creates `EntitySorter` instances.
  JoinType
  Enumerates supported JOIN types.
  LifecycleEvent
  Defines possible entity object lifecycle events.
  MappingNamespace
  Defines API of a container of DbEntities, ObjEntities, Procedures, Queries and other mapping objects.
  ObjAttribute
  An ObjAttribute is a mapping descriptor of a Java class property.
  ObjEntity
  ObjEntity is a mapping descriptor for a Persistent Java class.
  ObjRelationship
  Describes an association between two Java classes mapped as source and target ObjEntity.
  PathComponent<A extends Attribute, R extends Relationship>
  A component in a path chain.
  Procedure
  A mapping descriptor for a database stored procedure.
  ProcedureParameter
  A descriptor for the Procedure parameter.
  ProcedureQueryDescriptor
  QueryDescriptor
  Generic descriptor of a Cayenne query.
  QueryDescriptorLoader
  A builder that constructs Cayenne queries from abstract configuration information defined in cayenne-data-map*.dtd.
  Relationship<E extends Entity<E,A,R>, A extends Attribute<E,A,R>, R extends Relationship<E,A,R>>
  Defines a relationship between two entities.
  SelectQueryDescriptor
  SQLResult
  A metadata object that defines how a row in a result set can be converted to result objects.
  SQLTemplateDescriptor