Package bosco :: Module course :: Class ControlSequence
[hide private]
[frames] | no frames]

Class ControlSequence

source code

??-52 --+
        |
       ControlSequence

Connects controls and courses. The sequence_number defines the correct sequence of the controls. It's possible the have several controls with the same sequence_number on the same course. The interpretation of the sequence number is up to the validate method of the course. The sequence number may be None.

Instance Methods [hide private]
 
__init__(self, control, sequence_number=None, length=None, climb=None) source code
Class Variables [hide private]
  __storm_table__ = 'controlsequence'
  id = Int(primary= True)
  length = Int()
  climb = Int()
  _course_id = Int(name= 'course')
  course = Reference(_course_id, 'Course.id')
  _control_id = Int(name= 'control')
  control = Reference(_control_id, 'Control.id')
  sequence_number = Int()