Class: MppReader::Relation
- Inherits:
-
Object
- Object
- MppReader::Relation
- Defined in:
- lib/mpp_reader/relation.rb
Overview
A dependency link between two tasks. type is one of :finish_start, :start_start, :finish_finish, :start_finish; lag is a Duration.
Constant Summary collapse
- TYPES =
{ 0 => :finish_finish, 1 => :finish_start, 2 => :start_finish, 3 => :start_start }.freeze
Instance Attribute Summary collapse
-
#lag ⇒ Object
Returns the value of attribute lag.
-
#predecessor_task_unique_id ⇒ Object
Returns the value of attribute predecessor_task_unique_id.
-
#successor_task_unique_id ⇒ Object
Returns the value of attribute successor_task_unique_id.
-
#type ⇒ Object
Returns the value of attribute type.
-
#unique_id ⇒ Object
Returns the value of attribute unique_id.
Instance Attribute Details
#lag ⇒ Object
Returns the value of attribute lag.
8 9 10 |
# File 'lib/mpp_reader/relation.rb', line 8 def lag @lag end |
#predecessor_task_unique_id ⇒ Object
Returns the value of attribute predecessor_task_unique_id.
8 9 10 |
# File 'lib/mpp_reader/relation.rb', line 8 def predecessor_task_unique_id @predecessor_task_unique_id end |
#successor_task_unique_id ⇒ Object
Returns the value of attribute successor_task_unique_id.
8 9 10 |
# File 'lib/mpp_reader/relation.rb', line 8 def successor_task_unique_id @successor_task_unique_id end |
#type ⇒ Object
Returns the value of attribute type.
8 9 10 |
# File 'lib/mpp_reader/relation.rb', line 8 def type @type end |
#unique_id ⇒ Object
Returns the value of attribute unique_id.
8 9 10 |
# File 'lib/mpp_reader/relation.rb', line 8 def unique_id @unique_id end |