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

Packages that use Relationship
Package
Description
org.apache.cayenne.map
Contains O/R mapping classes that store relational database metadata information and map it to Java classes.

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

  Classes in org.apache.cayenne.map with type parameters of type Relationship
  Modifier and Type
  Class
  Description
  `class`
  `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.
  `class`
  `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.
  `interface`
  `PathComponent<A extends Attribute, R extends Relationship>`
  A component in a path chain.
  `class`
  `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.
  Subclasses of Relationship in org.apache.cayenne.map
  Modifier and Type
  Class
  Description
  `class`
  `DbRelationship`
  A DbRelationship is a descriptor of a database inter-table relationship based on one or more primary key/foreign key pairs.
  `class`
  `ObjRelationship`
  Describes an association between two Java classes mapped as source and target ObjEntity.
  Methods in org.apache.cayenne.map that return Relationship
  Modifier and Type
  Method
  Description
  `abstract Relationship<E,A,R>`
  Relationship.`getReverseRelationship()`
  Returns a "complementary" relationship going in the opposite direction.