Class: OpenEHR::AM::OpenEHRProfile::DataTypes::Basic::Transition

Inherits:
Object
  • Object
show all
Defined in:
lib/openehr/am/openehr_profile/data_types/basic.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args = { }) ⇒ Transition

Returns a new instance of Transition.



103
104
105
106
107
108
# File 'lib/openehr/am/openehr_profile/data_types/basic.rb', line 103

def initialize(args = { })
  self.event = args[:event]
  self.guard = args[:guard]
  self.action = args[:action]
  self.next_state = args[:next_state]
end

Instance Attribute Details

#action ⇒ Object

Returns the value of attribute action.



101
102
103
# File 'lib/openehr/am/openehr_profile/data_types/basic.rb', line 101

def action
  @action
end

#event ⇒ Object

Returns the value of attribute event.



101
102
103
# File 'lib/openehr/am/openehr_profile/data_types/basic.rb', line 101

def event
  @event
end

#guard ⇒ Object

Returns the value of attribute guard.



101
102
103
# File 'lib/openehr/am/openehr_profile/data_types/basic.rb', line 101

def guard
  @guard
end

#next_state ⇒ Object

Returns the value of attribute next_state.



101
102
103
# File 'lib/openehr/am/openehr_profile/data_types/basic.rb', line 101

def next_state
  @next_state
end