Class: UU::OS::MetaArtifact::MetaArtifactAttributes

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

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

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

Artifact type. Always returns UESArtifactType#META.



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

def artifact_type
  @artifact_type
end

- (Object) code

Code of the meta artifact. Never null.



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

def code
  @code
end

- (Object) company_uri

Normalized UESURI of the company where the meta artifact is located.



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

def company_uri
  @company_uri
end

- (Object) competent_role_uri

Normalized UESURI of the competent role. Never null.



28
29
30
# File 'uu_os_client-0.10.6/lib/uu/os/meta_artifact/meta_artifact_attributes.rb', line 28

def competent_role_uri
  @competent_role_uri
end

- (Object) creation_stamp

Creation stamp of the meta artifact.



56
57
58
# File 'uu_os_client-0.10.6/lib/uu/os/meta_artifact/meta_artifact_attributes.rb', line 56

def creation_stamp
  @creation_stamp
end

- (Object) creation_time

Creation time of the meta artifact.



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

def creation_time
  @creation_time
end

- (Object) default_artifact_type

Default artifact type for the artifacts created according to the meta artifact (specified in sourceMetaArtifactUri). Never null.



80
81
82
# File 'uu_os_client-0.10.6/lib/uu/os/meta_artifact/meta_artifact_attributes.rb', line 80

def default_artifact_type
  @default_artifact_type
end

- (Object) default_code

Default code for the artifacts created according to the meta artifact (specified in sourceMetaArtifactUri). Never null.



76
77
78
# File 'uu_os_client-0.10.6/lib/uu/os/meta_artifact/meta_artifact_attributes.rb', line 76

def default_code
  @default_code
end

- (Object) default_icon_uri

Default icon for the artifacts created according to the meta artifact (specified in sourceMetaArtifactUri). Never null.



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

def default_icon_uri
  @default_icon_uri
end

- (Object) default_name

Default name for the artifacts created according to the meta artifact (specified in sourceMetaArtifactUri). Never null.



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

def default_name
  @default_name
end

- (Object) default_security_level

Default security level for the artifacts created according to the meta artifact (specified in sourceMetaArtifactUri). Never null.



84
85
86
# File 'uu_os_client-0.10.6/lib/uu/os/meta_artifact/meta_artifact_attributes.rb', line 84

def default_security_level
  @default_security_level
end

- (Object) description

Description of the meta artifact. Never null.



19
20
21
# File 'uu_os_client-0.10.6/lib/uu/os/meta_artifact/meta_artifact_attributes.rb', line 19

def description
  @description
end

- (Object) entity_type_uri

UESURI of the entity type of the meta artifact. Never null.



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

def entity_type_uri
  @entity_type_uri
end

- (Object) icon_uri

URI of the meta artifact's icon. When null is set, the meta artifact uses icon from template of meta artifact.

Examples:

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}


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

def icon_uri
  @icon_uri
end

- (Object) location_uri

Normalized UESURI of the meta model where the meta artifact is located. Never null.



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

def location_uri
  @location_uri
end

- (Object) meta_artifact_uri

Normalized UES URI of the meta artifact template. Never null.



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

def meta_artifact_uri
  @meta_artifact_uri
end

- (Object) modification_stamp

Modification stamp of the meta artifact.



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

def modification_stamp
  @modification_stamp
end

- (Object) modification_time

Modification time of the meta artifact.



65
66
67
# File 'uu_os_client-0.10.6/lib/uu/os/meta_artifact/meta_artifact_attributes.rb', line 65

def modification_time
  @modification_time
end

- (Object) name

Name of the meta artifact. Never null.



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

def name
  @name
end

- (Object) organizational_unit_uri

Normalized UESURI of the organizational unit where the meta artifact is located. Never null.



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

def organizational_unit_uri
  @organizational_unit_uri
end

- (Object) security_level

Security level of the meta artifact. Never null.



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

def security_level
  @security_level
end

- (Object) source_meta_artifact_uri

Normalized UESURI of the source meta artifact from which is meta artifact copied.



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

def source_meta_artifact_uri
  @source_meta_artifact_uri
end

- (Object) uri

Normalized UESURI of the meta artifact. Never null.



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

def uri
  @uri
end

- (Object) version

Version of the meta artifact.



68
69
70
# File 'uu_os_client-0.10.6/lib/uu/os/meta_artifact/meta_artifact_attributes.rb', line 68

def version
  @version
end

Instance Method Details

- (Object) revision

Deprecated.

Use #version instead.



261
262
263
# File 'uu_os_client-0.10.6/lib/uu/os/meta_artifact/meta_artifact_attributes.rb', line 261

def revision
  attributes[:version]
end

- (Object) revision=(val)

Deprecated.

Use #version= instead.



266
267
268
# File 'uu_os_client-0.10.6/lib/uu/os/meta_artifact/meta_artifact_attributes.rb', line 266

def revision=(val)
  attributes[:version] = val
end