Class: UU::OS::ArtifactStateTemplate::ArtifactStateTemplateAttributes

Inherits:
REST::DTO
  • Object
show all
Defined in:
uu_os-0.29.16/lib/uu/os/artifact_state_template/artifact_state_template_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_template_exists

True, if there is an activity template that enables setting of this artifact state template to artifacts. It it does not exist, the artifact state template cannot be set to any artifacts.



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

def activity_template_exists
  @activity_template_exists
end

- (Object) code

Code of the artifact state template.



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

def code
  @code
end

- (Object) creation_time

Creation time of the artifact state template.



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

def creation_time
  @creation_time
end

- (Object) description

Description of the artifact state template.



21
22
23
# File 'uu_os-0.29.16/lib/uu/os/artifact_state_template/artifact_state_template_attributes.rb', line 21

def description
  @description
end

- (Object) entity_type_uri

URI of the entity type of the artifact state template.



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

def entity_type_uri
  @entity_type_uri
end

- (Object) entry_state

After an artifact is created from the related meta artifact, it will be set into the state marked as the entry state. There is always just one artifact state template marked as an entry state on every meta artifact.



34
35
36
# File 'uu_os-0.29.16/lib/uu/os/artifact_state_template/artifact_state_template_attributes.rb', line 34

def entry_state
  @entry_state
end

- (Object) icon_uri

URI of the artifact state template's icon.



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

def icon_uri
  @icon_uri
end

- (Object) modification_time

Modification time of the artifact state template.



40
41
42
# File 'uu_os-0.29.16/lib/uu/os/artifact_state_template/artifact_state_template_attributes.rb', line 40

def modification_time
  @modification_time
end

- (Object) name

Name of the artifact state template.



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

def name
  @name
end

- (Object) order

Order of the artifact state template. All artifact state templates are suggested to the user in this order when setting the artifact state to an artifact which is created according to the related meta artifact.



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

def order
  @order
end

- (Object) type

Type of the artifact state template.



29
30
31
# File 'uu_os-0.29.16/lib/uu/os/artifact_state_template/artifact_state_template_attributes.rb', line 29

def type
  @type
end

- (Object) uri

URI of the artifact state template.



24
25
26
# File 'uu_os-0.29.16/lib/uu/os/artifact_state_template/artifact_state_template_attributes.rb', line 24

def uri
  @uri
end

- (Object) version

Version of the artifact state template.



43
44
45
# File 'uu_os-0.29.16/lib/uu/os/artifact_state_template/artifact_state_template_attributes.rb', line 43

def version
  @version
end