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.



75
76
77
78
79
80
# File 'lib/openehr/am/openehr_profile/data_types/basic.rb', line 75

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

#actionObject

Returns the value of attribute action.



73
74
75
# File 'lib/openehr/am/openehr_profile/data_types/basic.rb', line 73

def action
  @action
end

#eventObject

Returns the value of attribute event.



73
74
75
# File 'lib/openehr/am/openehr_profile/data_types/basic.rb', line 73

def event
  @event
end

#guardObject

Returns the value of attribute guard.



73
74
75
# File 'lib/openehr/am/openehr_profile/data_types/basic.rb', line 73

def guard
  @guard
end

#next_stateObject

Returns the value of attribute next_state.



73
74
75
# File 'lib/openehr/am/openehr_profile/data_types/basic.rb', line 73

def next_state
  @next_state
end