Class: ActionState

Inherits:
State
  • Object
show all
Defined in:
lib/xmimodel/action_state.rb

Instance Attribute Summary collapse

Attributes inherited from State

#activity_graph, #id, #name, #stereotypes, #tagged_values, #xml

Instance Method Summary collapse

Methods inherited from State

#full_name, #stereotype_by_name, #tagged_value_by_name

Constructor Details

#initialize(xml, activity_graph) ⇒ ActionState

Returns a new instance of ActionState.



7
8
9
10
11
# File 'lib/xmimodel/action_state.rb', line 7

def initialize(xml, activity_graph)
	super(xml, activity_graph)
	@deferrable_event = xml.attribute("deferrableEvent").to_s
	true
end

Instance Attribute Details

#deferrable_eventObject (readonly)

Returns the value of attribute deferrable_event.



5
6
7
# File 'lib/xmimodel/action_state.rb', line 5

def deferrable_event
  @deferrable_event
end

Instance Method Details

#to_sObject



13
14
15
# File 'lib/xmimodel/action_state.rb', line 13

def to_s
	"ActionState"
end