Package org.apache.cayenne.map

Contains O/R mapping classes that store relational database metadata information and map it to Java classes.
  • Interface Summary
    Interface Description
    EntitySorter
    Defines API for sorting of Cayenne entities based on their mutual dependencies.
    MappingNamespace
    Defines API of a container of DbEntities, ObjEntities, Procedures, Queries and other mapping objects.
    PathComponent<T extends Attribute,​U extends Relationship>
    A component in a path chain.
  • Class Summary
    Class Description
    Attribute
    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.
    DefaultScalarResultSegment  
    DeleteRule
    Defines constants for the possible values of ObjRelationship delete rules.
    DetectedDbEntity
    A DbEntity subclass used to hold extra JDBC metadata.
    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.
    Entity
    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.
    ObjAttribute
    An ObjAttribute is a mapping descriptor of a Java class property.
    ObjEntity
    ObjEntity is a mapping descriptor for a DataObject Java class.
    ObjRelationship
    Describes an association between two Java classes mapped as source and target ObjEntity.
    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
    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  
  • Enum Summary
    Enum Description
    JoinType
    Enumerates supported JOIN types.
    LifecycleEvent
    Defines possible entity object lifecycle events.