Class: UU::OS::MetaUseCaseRealization::MetaUseCaseRealizationSetAttributes 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_set_attributes.rb

Overview

Meta Use Case Realization Set Attributes 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

The new code of the meta use case realization. When nil is set, the code is not modified. When blank string is set, the code is generated automatically using the system sequence. The code must be unique in a given territory, otherwise the setAttributes command fails.



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

def code
  @code
end

- (Object) default_code

Specifies new default code of the created use case realization according to meta use case realization (specified in sourceMetaArtifactUri). When nil is set, the default code is not modified.



50
51
52
# File 'uu_os-0.29.16/lib/uu/os/meta_use_case_realization/meta_use_case_realization_set_attributes.rb', line 50

def default_code
  @default_code
end

- (Object) default_icon_uri

Specifies new default icon of the created use case realization according to meta use case realization (specified in metaArtifactUri). When nil is set,the default icon is not modified.

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}


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

def default_icon_uri
  @default_icon_uri
end

- (Object) default_name

Specifies new default name of the created use case realization according to meta use case realization (specified in sourceMetaArtifactUri). When nil is set, the default name is not modified.



45
46
47
# File 'uu_os-0.29.16/lib/uu/os/meta_use_case_realization/meta_use_case_realization_set_attributes.rb', line 45

def default_name
  @default_name
end

- (Object) default_security_level

Specifies new default security level of the created use case realization according to meta use case realization (specified in sourceMetaArtifactUri). When nil is set, the default security is not modified.



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

def default_security_level
  @default_security_level
end

- (Object) description

The new description of the meta use case realization. When nil is set, the description is not modified.



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

def description
  @description
end

- (Object) icon_uri

UESURI of the new meta use case realization's icon. When nil is set, the icon is not modified. If nil UESURI ("ues:[-1]:[-1]:") is set, the meta use case realization icon is removed and the meta use case realization uses icon from its 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}


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

def icon_uri
  @icon_uri
end

- (Object) name

The new name of the meta use case realization. When nil is set, the name is not modified.



12
13
14
# File 'uu_os-0.29.16/lib/uu/os/meta_use_case_realization/meta_use_case_realization_set_attributes.rb', line 12

def name
  @name
end

- (Object) security_level

The new security level of the meta use case realization. When nil is set, the security level is not modified. When user is setting the meta use case realization template security level higher than the user's security clearance, the setAttributes command fails.



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

def security_level
  @security_level
end