Extracted at 2014-06-26.
pike.ida.liu.se
[Top]
Fins
Fins.Model
Fins.Model.KeyReference

Class Fins.Model.KeyReference

Description

A field type that represents some other object identified that object's unique id stored in this field.

Example

An object representing a "book" may have a single owner. That relationship could be modeled using a KeyReference that links that book to its owner (perhaps a "user" object) via a field on the book that contains the owner's id.

See also

Fins.Model.DataObject.belongs_to()


Inherit Relationship

inherit .Relationship : Relationship