Class: UU::OS::MetaVisualUseCase::MetaVisualUseCaseCopy

Inherits:
REST::DTO
  • Object
show all
Defined in:
uu_os_client-0.10.6/lib/uu/os/meta_visual_use_case/meta_visual_use_case_copy.rb

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 visual use case. 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.



22
23
24
# File 'uu_os_client-0.10.6/lib/uu/os/meta_visual_use_case/meta_visual_use_case_copy.rb', line 22

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.



35
36
37
# File 'uu_os_client-0.10.6/lib/uu/os/meta_visual_use_case/meta_visual_use_case_copy.rb', line 35

def competent_role_uri
  @competent_role_uri
end

- (Object) copy_attachments

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



58
59
60
# File 'uu_os_client-0.10.6/lib/uu/os/meta_visual_use_case/meta_visual_use_case_copy.rb', line 58

def copy_attachments
  @copy_attachments
end

- (Object) copy_lifecycle

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



54
55
56
# File 'uu_os_client-0.10.6/lib/uu/os/meta_visual_use_case/meta_visual_use_case_copy.rb', line 54

def copy_lifecycle
  @copy_lifecycle
end

- (Object) copy_options

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



67
68
69
# File 'uu_os_client-0.10.6/lib/uu/os/meta_visual_use_case/meta_visual_use_case_copy.rb', line 67

def copy_options
  @copy_options
end

- (Object) copy_sheet_templates

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



62
63
64
# File 'uu_os_client-0.10.6/lib/uu/os/meta_visual_use_case/meta_visual_use_case_copy.rb', line 62

def copy_sheet_templates
  @copy_sheet_templates
end

- (Object) copy_sheets

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



50
51
52
# File 'uu_os_client-0.10.6/lib/uu/os/meta_visual_use_case/meta_visual_use_case_copy.rb', line 50

def copy_sheets
  @copy_sheets
end

- (Object) default_code

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



77
78
79
# File 'uu_os_client-0.10.6/lib/uu/os/meta_visual_use_case/meta_visual_use_case_copy.rb', line 77

def default_code
  @default_code
end

- (Object) default_icon_uri

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

Allowed format URI of icon:ues:#{system}:#{ues_v5.core_v1.codetable_v1.base_v1.CodeTable_Icons}:#{CODE_OF_ICON}
For example:ues:#{system}:#{ues_v5.core_v1.codetable_v1.base_v1.CodeTable_Icons}:#{ART_077}



88
89
90
# File 'uu_os_client-0.10.6/lib/uu/os/meta_visual_use_case/meta_visual_use_case_copy.rb', line 88

def default_icon_uri
  @default_icon_uri
end

- (Object) default_name

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



72
73
74
# File 'uu_os_client-0.10.6/lib/uu/os/meta_visual_use_case/meta_visual_use_case_copy.rb', line 72

def default_name
  @default_name
end

- (Object) default_security_level

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



82
83
84
# File 'uu_os_client-0.10.6/lib/uu/os/meta_visual_use_case/meta_visual_use_case_copy.rb', line 82

def default_security_level
  @default_security_level
end

- (Object) description

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



27
28
29
# File 'uu_os_client-0.10.6/lib/uu/os/meta_visual_use_case/meta_visual_use_case_copy.rb', line 27

def description
  @description
end

- (Object) icon_uri

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

Allowed format URI of icon: ues:#system:#UU::OS::MetaVisualUseCase::MetaVisualUseCaseCopy.ues_v5ues_v5.core_v1ues_v5.core_v1.codetable_v1ues_v5.core_v1.codetable_v1.base_v1ues_v5.core_v1.codetable_v1.base_v1.CodeTable_Icons:#CODE_OF_ICON

For example: ues:#system:#UU::OS::MetaVisualUseCase::MetaVisualUseCaseCopy.ues_v5ues_v5.core_v1ues_v5.core_v1.codetable_v1ues_v5.core_v1.codetable_v1.base_v1ues_v5.core_v1.codetable_v1.base_v1.CodeTable_Icons:#ART_077



46
47
48
# File 'uu_os_client-0.10.6/lib/uu/os/meta_visual_use_case/meta_visual_use_case_copy.rb', line 46

def icon_uri
  @icon_uri
end

- (Object) location_uri

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



13
14
15
# File 'uu_os_client-0.10.6/lib/uu/os/meta_visual_use_case/meta_visual_use_case_copy.rb', line 13

def location_uri
  @location_uri
end

- (Object) name

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



17
18
19
# File 'uu_os_client-0.10.6/lib/uu/os/meta_visual_use_case/meta_visual_use_case_copy.rb', line 17

def name
  @name
end

- (Object) options

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



91
92
93
# File 'uu_os_client-0.10.6/lib/uu/os/meta_visual_use_case/meta_visual_use_case_copy.rb', line 91

def options
  @options
end

- (Object) security_level

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



40
41
42
# File 'uu_os_client-0.10.6/lib/uu/os/meta_visual_use_case/meta_visual_use_case_copy.rb', line 40

def security_level
  @security_level
end