Class: UU::OS::MetaArtifact::MetaArtifactSetAttributes

Inherits:
REST::DTO
  • Object
show all
Defined in:
uu_os_client-0.10.6/lib/uu/os/meta_artifact/meta_artifact_set_attributes.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

The new code of the meta artifact. When null 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.



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

def code
  @code
end

- (Object) default_artifact_type

Specifies new default artifact type of the created artifact according to meta artifact (specified in sourceMetaArtifactUri). When null is set, the default artifact type is not modified.



47
48
49
# File 'uu_os_client-0.10.6/lib/uu/os/meta_artifact/meta_artifact_set_attributes.rb', line 47

def default_artifact_type
  @default_artifact_type
end

- (Object) default_code

Specifies new default code of the created artifact according to meta artifact (specified in sourceMetaArtifactUri). When null is set, the default code is not modified.



42
43
44
# File 'uu_os_client-0.10.6/lib/uu/os/meta_artifact/meta_artifact_set_attributes.rb', line 42

def default_code
  @default_code
end

- (Object) default_icon_uri

Specifies new default icon of the created artifact according to meta artifact (specified in metaArtifactUri). When null is set, the default icon is not modified.

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}



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

def default_icon_uri
  @default_icon_uri
end

- (Object) default_name

Specifies new default name of the created artifact according to meta artifact (specified in sourceMetaArtifactUri). When null is set, the default name is not modified.



37
38
39
# File 'uu_os_client-0.10.6/lib/uu/os/meta_artifact/meta_artifact_set_attributes.rb', line 37

def default_name
  @default_name
end

- (Object) default_security_level

Specifies new default security level of the created artifact according to meta artifact (specified in sourceMetaArtifactUri). When null is set, the default security is not modified.



52
53
54
# File 'uu_os_client-0.10.6/lib/uu/os/meta_artifact/meta_artifact_set_attributes.rb', line 52

def default_security_level
  @default_security_level
end

- (Object) description

The new description of the meta artifact. When null is set, the description is not modified.



21
22
23
# File 'uu_os_client-0.10.6/lib/uu/os/meta_artifact/meta_artifact_set_attributes.rb', line 21

def description
  @description
end

- (Object) icon_uri

UESURI of the new meta artifact's icon. When null is set, the icon is not modified. When NULL_URI value is set, the meta artifact icon is removed and the meta artifact uses icon from his meta artifact.

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}



32
33
34
# File 'uu_os_client-0.10.6/lib/uu/os/meta_artifact/meta_artifact_set_attributes.rb', line 32

def icon_uri
  @icon_uri
end

- (Object) name

The new name of the meta artifact. When null is set, the name is not modified.



11
12
13
# File 'uu_os_client-0.10.6/lib/uu/os/meta_artifact/meta_artifact_set_attributes.rb', line 11

def name
  @name
end

- (Object) security_level

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



26
27
28
# File 'uu_os_client-0.10.6/lib/uu/os/meta_artifact/meta_artifact_set_attributes.rb', line 26

def security_level
  @security_level
end