| Package: | Ext.data |
| Defined In: | Association.js |
| Class: | Association |
| Subclasses: | BelongsToAssociation, HasManyAssociation, PolymorphicAssociation |
| Extends: | Object |
Base Association class. Not to be used directly as it simply supports its subclasses Ext.data.HasManyAssociation and Ext.data.BelongsToAssociation.
| Config Options | Defined By | |
|---|---|---|
| associatedModel : String The string name of the model that is being associated with. Required | Association | |
| ownerModel : String The string name of the model that owns the association. Required | Association | |
| primaryKey : String The name of the primary key on the associated model. Defaults to 'id' | Association | |