Class Liftoff::Association
In: vendor/plugins/liftoff/lib/associations.rb
Parent: Object

The Association class and its subclasses together comprise the meta-model for the cardinalities portion of the application-specific data model as declared in the CAL file. For more information, see the comments accompanying the various dependent classes.

Methods

new  

Attributes

from  [RW] 
from_mapping  [RW] 
num  [RW] 
to  [RW] 
to_mapping  [RW] 

Public Class methods

[Source]

    # File vendor/plugins/liftoff/lib/associations.rb, line 12
12:   def initialize(from, to)
13:     @from, @to = from, to
14:     @num = @@next_num
15:     @@next_num += 1
16:   end

[Validate]