Class: ProcessEngine::Schema::Transition
- Inherits:
-
Object
- Object
- ProcessEngine::Schema::Transition
- Defined in:
- app/models/process_engine/schema/transition.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#source ⇒ Object
readonly
Returns the value of attribute source.
-
#target ⇒ Object
readonly
Returns the value of attribute target.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(options, _source, _target) ⇒ Transition
constructor
available options { “name” => “sequence flow 3”, “node_id” => “sf3”, “node_type” => “sequenceFlow”, “source_ref” => “pg1”, “target_ref” => “ut2”, “extension_elements” => {}, “condition_expression” => {} }.
Constructor Details
#initialize(options, _source, _target) ⇒ Transition
available options
"name" => "sequence flow 3",
"node_id" => "sf3",
"node_type" => "sequenceFlow",
"source_ref" => "pg1",
"target_ref" => "ut2",
"extension_elements" => {,
"condition_expression" => {}
}
14 15 16 17 18 19 20 |
# File 'app/models/process_engine/schema/transition.rb', line 14 def initialize(, _source, _target) @id = [:node_id] @type = [:node_type] @source = _source @target = _target end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
2 3 4 |
# File 'app/models/process_engine/schema/transition.rb', line 2 def id @id end |
#source ⇒ Object (readonly)
Returns the value of attribute source.
2 3 4 |
# File 'app/models/process_engine/schema/transition.rb', line 2 def source @source end |
#target ⇒ Object (readonly)
Returns the value of attribute target.
2 3 4 |
# File 'app/models/process_engine/schema/transition.rb', line 2 def target @target end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
2 3 4 |
# File 'app/models/process_engine/schema/transition.rb', line 2 def type @type end |