Class: UU::OS::ActivityAction::ActivityActionAttributes

Inherits:
REST::DTO
  • Object
show all
Defined in:
uu_os-0.29.16/lib/uu/os/activity_action/activity_action_attributes.rb

Overview

See Also:

Instance Attribute Summary (collapse)

Method Summary

Methods inherited from REST::DTO

#initialize, #to_hash, #to_json

Constructor Details

This class inherits a constructor from UU::OS::REST::DTO

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class UU::OS::REST::DTO

Instance Attribute Details

- (Object) activity_state_template_uri

URI of an activity state template. When entity_uri is set into the state represented by this state template, the activity action will be executed. This parameter is never nil.



32
33
34
# File 'uu_os-0.29.16/lib/uu/os/activity_action/activity_action_attributes.rb', line 32

def activity_state_template_uri
  @activity_state_template_uri
end

- (Object) code

Code of the activity action. Never nil.



15
16
17
# File 'uu_os-0.29.16/lib/uu/os/activity_action/activity_action_attributes.rb', line 15

def code
  @code
end

- (Object) creation_time

Creation time of the activity action.



49
50
51
# File 'uu_os-0.29.16/lib/uu/os/activity_action/activity_action_attributes.rb', line 49

def creation_time
  @creation_time
end

- (Object) entity_type_uri

URI of the entity type of the activity action. Never nil.



58
59
60
# File 'uu_os-0.29.16/lib/uu/os/activity_action/activity_action_attributes.rb', line 58

def entity_type_uri
  @entity_type_uri
end

- (Object) entity_uri

URI of the entity (activity template or activity instance) this activity action is created for. Never nil.



22
23
24
# File 'uu_os-0.29.16/lib/uu/os/activity_action/activity_action_attributes.rb', line 22

def entity_uri
  @entity_uri
end

- (Object) macro_uri

URI of the artifact that represents a macro that will be run after this activity action is executed. This parameter is filled only if the type is EXEC_MACRO_ACTION.



46
47
48
# File 'uu_os-0.29.16/lib/uu/os/activity_action/activity_action_attributes.rb', line 46

def macro_uri
  @macro_uri
end

- (Object) modification_time

Modification time of the activity action.



52
53
54
# File 'uu_os-0.29.16/lib/uu/os/activity_action/activity_action_attributes.rb', line 52

def modification_time
  @modification_time
end

- (Object) target_activity_state_template_uri

URI of the activity state template that will be set to its related activity template after this activity action is executed. This parameter is filled only if the type is SET_ACTIVITY_STATE_ACTION.



42
43
44
# File 'uu_os-0.29.16/lib/uu/os/activity_action/activity_action_attributes.rb', line 42

def target_activity_state_template_uri
  @target_activity_state_template_uri
end

- (Object) target_artifact_state_template_uri

URI of the artifact state template that will be set to an artifact created according to the related meta artifact after this activity action is executed. This parameter is filled only if the type is SET_ARTIFACT_STATE_ACTION.



37
38
39
# File 'uu_os-0.29.16/lib/uu/os/activity_action/activity_action_attributes.rb', line 37

def target_artifact_state_template_uri
  @target_artifact_state_template_uri
end

- (Object) type

Type of the activity action. Never nil.



27
28
29
# File 'uu_os-0.29.16/lib/uu/os/activity_action/activity_action_attributes.rb', line 27

def type
  @type
end

- (Object) uri

URI of the activity action. Never nil.



18
19
20
# File 'uu_os-0.29.16/lib/uu/os/activity_action/activity_action_attributes.rb', line 18

def uri
  @uri
end

- (Object) version

Version of the activity action.



55
56
57
# File 'uu_os-0.29.16/lib/uu/os/activity_action/activity_action_attributes.rb', line 55

def version
  @version
end