Class: UU::OS::ActivityCondition::ActivityConditionAttributes

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

Overview

Attributes of the activity condition.

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. The condition is fulfilled when an activity instance created according to the related activity template is set to the state specified by this activity state template. This parameter is specified only for activity state conditions.



66
67
68
# File 'uu_os-0.29.16/lib/uu/os/activity_condition/activity_condition_attributes.rb', line 66

def activity_state_template_uri
  @activity_state_template_uri
end

- (Object) artifact_state_template_uri

URI of an artifact state template. The condition is fulfilled when the related artifact is set to the state specified by this template. This parameter is specified only for artifact state conditions.



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

def artifact_state_template_uri
  @artifact_state_template_uri
end

- (Object) condition_code

Activity condition identifier. This parameter is specified only for root conditions (of all types) because nested conditions are identified by the parameter "id" instead.



16
17
18
# File 'uu_os-0.29.16/lib/uu/os/activity_condition/activity_condition_attributes.rb', line 16

def condition_code
  @condition_code
end

- (Object) condition_list

The list of nested conditions of the composed activity condition. The order of conditions in this list corresponds to their occurrence in the parameter "expression".



80
81
82
# File 'uu_os-0.29.16/lib/uu/os/activity_condition/activity_condition_attributes.rb', line 80

def condition_list
  @condition_list
end

- (Object) date_of_fulfilling

Date of fulfilling of the time condition. Specified only for time conditions.



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

def date_of_fulfilling
  @date_of_fulfilling
end

- (Object) delay

Specifies the duration which must be elapsed for condition fulfillment. This parameter is specified only for artifact state or activity state conditions.



51
52
53
# File 'uu_os-0.29.16/lib/uu/os/activity_condition/activity_condition_attributes.rb', line 51

def delay
  @delay
end

- (Object) entity_uri

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



26
27
28
# File 'uu_os-0.29.16/lib/uu/os/activity_condition/activity_condition_attributes.rb', line 26

def entity_uri
  @entity_uri
end

- (Object) expression

Logical expression of the composed activity condition that describes logical relationships among nested conditions. Nested conditions are represented by their values that can be found in their parameters "id".



76
77
78
# File 'uu_os-0.29.16/lib/uu/os/activity_condition/activity_condition_attributes.rb', line 76

def expression
  @expression
end

- (Object) id

Nested activity condition identifier. This parameter is specified only for nested conditions to identify them in the parameter "expression" located on their parent (composed) condition. The value of this parameter is generated automatically according to the order of conditions in condition_list and also according to their types.



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

def id
  @id
end

- (Object) previous_activity_state_template_uri

URI of an activity state template. The condition that uses this parameter is fulfilled only when an activity instance created according to the related activity template was set to the state specified by this template right before it was set into the state specified in activity_state_template_uri. This parameter is specified only for activity state conditions.



72
73
74
# File 'uu_os-0.29.16/lib/uu/os/activity_condition/activity_condition_attributes.rb', line 72

def previous_activity_state_template_uri
  @previous_activity_state_template_uri
end

- (Object) previous_artifact_state_template_uri

URI of an artifact state template. The condition where this parameter is specified is fulfilled only if the related artifact was set to the state specified by this template right before it was set into the state specified in artifact_state_template_uri. This parameter is specified only for artifact state conditions.



61
62
63
# File 'uu_os-0.29.16/lib/uu/os/activity_condition/activity_condition_attributes.rb', line 61

def previous_artifact_state_template_uri
  @previous_artifact_state_template_uri
end

- (Object) recurring

Specifies whether the condition will be executed every time when the given conditions are fulfilled or it will be transformed into a simple time condition after its first evaluation. This parameter is specified only for artifact state or activity state conditions.



47
48
49
# File 'uu_os-0.29.16/lib/uu/os/activity_condition/activity_condition_attributes.rb', line 47

def recurring
  @recurring
end

- (Object) type

Type of the activity condition. Never nil.



31
32
33
# File 'uu_os-0.29.16/lib/uu/os/activity_condition/activity_condition_attributes.rb', line 31

def type
  @type
end

- (Object) validity_type

Validity type of the activity condition. Impulse activity condition is fulfilled when the condition is met. Level activity condition is fulfilled from the time when the condition is met and subsequently throughout the given condition existence. This parameter is specified in all conditions except composed conditions.



39
40
41
# File 'uu_os-0.29.16/lib/uu/os/activity_condition/activity_condition_attributes.rb', line 39

def validity_type
  @validity_type
end