Class: UU::OS::MetaUseCaseRealization::MetaUseCaseRealizationCopy Deprecated

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

Overview

Meta Use Case Realization Copy DTO.

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) code

Code of the new meta use case realization. When nil is set, the code is generated automatically using the system sequence. The code must be unique in the given territory, otherwise the create command fails.



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

def code
  @code
end

- (Object) competent_role_uri

UESURI of the competent role. When nil is set, the executive role from authorization is used. If no role is authorized to create the role into specified container, the create command fails. If the selected role doesn't have connected the role interface with the selected meta artifact,the create command fails. If the selected role doesn't belong to the same organizational unit as a new role or if it doesn't belong to one of superior organizational units, the create command fails.



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

def competent_role_uri
  @competent_role_uri
end

- (Object) copy_attachments

Specifies whether to copy attachments from the source meta use case realization to the new copy. Default value is false.



64
65
66
# File 'uu_os-0.29.16/lib/uu/os/meta_use_case_realization/meta_use_case_realization_copy.rb', line 64

def copy_attachments
  @copy_attachments
end

- (Object) copy_lifecycle

Specifies whether to copy life cycle from the source meta use case realization to the new copy. Default value is false.



60
61
62
# File 'uu_os-0.29.16/lib/uu/os/meta_use_case_realization/meta_use_case_realization_copy.rb', line 60

def copy_lifecycle
  @copy_lifecycle
end

- (Object) copy_options

Specifies whether to copy options from the source meta use case realization to the new copy. If copyOptions is set to true than options attribute must beset to nil. Default value is false.



73
74
75
# File 'uu_os-0.29.16/lib/uu/os/meta_use_case_realization/meta_use_case_realization_copy.rb', line 73

def copy_options
  @copy_options
end

- (Object) copy_sheet_templates

Specifies whether to copy sheet templates from the source meta use case realization to the new copy. Default value is false.



68
69
70
# File 'uu_os-0.29.16/lib/uu/os/meta_use_case_realization/meta_use_case_realization_copy.rb', line 68

def copy_sheet_templates
  @copy_sheet_templates
end

- (Object) copy_sheets

Specifies whether to copy content from the source meta use case realization to the new copy. Default value is false.



56
57
58
# File 'uu_os-0.29.16/lib/uu/os/meta_use_case_realization/meta_use_case_realization_copy.rb', line 56

def copy_sheets
  @copy_sheets
end

- (Object) default_code

Specifies default code of the created use case realization according to new meta use case realization copy. When nil is set, the default code is taken from the source meta use case realization.



83
84
85
# File 'uu_os-0.29.16/lib/uu/os/meta_use_case_realization/meta_use_case_realization_copy.rb', line 83

def default_code
  @default_code
end

- (Object) default_icon_uri

Specifies default icon of the created use case realization according to new meta use case realization copy. When nil is set, the default icon is taken from the source meta use case realization.

Examples:

Allowed format of icon URI:

ues:#{system}:#{ues_v5.core_v1.codetable_v1.base_v1.CodeTable_Icons}:#{CODE_OF_ICON}

An example of icon URI:

ues:#{system}:#{ues_v5.core_v1.codetable_v1.base_v1.CodeTable_Icons}:#{ART_077}


99
100
101
# File 'uu_os-0.29.16/lib/uu/os/meta_use_case_realization/meta_use_case_realization_copy.rb', line 99

def default_icon_uri
  @default_icon_uri
end

- (Object) default_name

Specifies default name of the created use case realization according to new meta use case realization copy. When nil is set, the default name is taken from the source meta use case realization.



78
79
80
# File 'uu_os-0.29.16/lib/uu/os/meta_use_case_realization/meta_use_case_realization_copy.rb', line 78

def default_name
  @default_name
end

- (Object) default_security_level

Specifies default security level of the created use case realization according to new meta use case realization copy. When nil is set, the default security level is taken from the source meta use case realization.



88
89
90
# File 'uu_os-0.29.16/lib/uu/os/meta_use_case_realization/meta_use_case_realization_copy.rb', line 88

def default_security_level
  @default_security_level
end

- (Object) description

Description of the new meta use case realization. When nil is set, default description from meta artifact is used if set, otherwise no description is set on the new meta use case realization.



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

def description
  @description
end

- (Object) icon_uri

UESURI of the meta use case realization's icon. When nil is set, the meta use case realization uses icon from meta artifact.

Allowed format URI of icon:

Examples:

Allowed format of icon URI:

ues:#{system}:#{ues_v5.core_v1.codetable_v1.base_v1.CodeTable_Icons}:#{CODE_OF_ICON}

An example of icon URI:

ues:#{system}:#{ues_v5.core_v1.codetable_v1.base_v1.CodeTable_Icons}:#{ART_077}


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

def icon_uri
  @icon_uri
end

- (Object) location_uri

UESURI of the meta model dictionary where to the meta use case realization will be copied. If the rights does not permit to copy a meta use case realization from the meta use case realization in this location, the copy command fails. The value must not be nil.



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

def location_uri
  @location_uri
end

- (Object) name

Name of the new meta use case realization. When nil is set, default name from meta artifact is used if set, otherwise the create command fails.



19
20
21
# File 'uu_os-0.29.16/lib/uu/os/meta_use_case_realization/meta_use_case_realization_copy.rb', line 19

def name
  @name
end

- (Object) options

Options data for use case calling. Accepted format is JSON.



102
103
104
# File 'uu_os-0.29.16/lib/uu/os/meta_use_case_realization/meta_use_case_realization_copy.rb', line 102

def options
  @options
end

- (Object) security_level

Security level. When nil is set, security level is taken from the source meta use case realization security level. If the source meta use case realization security level is higher than the user's security clearance, the copy command fails.



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

def security_level
  @security_level
end