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

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

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

  Classes in org.apache.cayenne.map with type parameters of type Attribute
  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 Attribute in org.apache.cayenne.map
  Modifier and Type
  Class
  Description
  `class`
  `DbAttribute`
  A DbAttribute defines a descriptor for a single database table column.
  `class`
  `EmbeddedAttribute`
  An attribute of the ObjEntity that maps to an embeddable class.
  `class`
  `ObjAttribute`
  An ObjAttribute is a mapping descriptor of a Java class property.

- ## Uses of Attribute in org.apache.cayenne.map.event

  Fields in org.apache.cayenne.map.event declared as Attribute
  Modifier and Type
  Field
  Description
  `protected Attribute<?,?,?>`
  AttributeEvent.`attribute`
  Methods in org.apache.cayenne.map.event that return Attribute
  Modifier and Type
  Method
  Description
  `Attribute<?,?,?>`
  AttributeEvent.`getAttribute()`
  Get attribute (obj or db).
  Methods in org.apache.cayenne.map.event with parameters of type Attribute
  Modifier and Type
  Method
  Description
  `void`
  AttributeEvent.`setAttribute(Attribute<?,?,?> attribute)`
  Sets the attribute.
  Constructors in org.apache.cayenne.map.event with parameters of type Attribute
  Modifier
  Constructor
  Description
  ``
  `AttributeEvent(Object src, Attribute<?,?,?> attr, Entity<?,?,?> entity)`
  Creates a Attribute change event.
  ``
  `AttributeEvent(Object src, Attribute<?,?,?> attr, Entity<?,?,?> entity, int id)`
  Creates a Attribute event of a specified type.
  ``
  `AttributeEvent(Object src, Attribute<?,?,?> attr, Entity<?,?,?> entity, String oldName)`
  Creates a Attribute name change event.