Class: UU::ADK::App::AppAttributes Deprecated

Inherits:
OS::REST::DTO show all
Defined in:
uu_adk-0.28.16/lib/uu/adk/app/app_attributes.rb

Overview

App Attributes DTO.

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Methods inherited from OS::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) app_box_uri

UESURI of appbox from which was the app created.



26
27
28
# File 'uu_adk-0.28.16/lib/uu/adk/app/app_attributes.rb', line 26

def app_box_uri
  @app_box_uri
end

- (Object) artifact_type

Artifact type. Always returns UESArtifactType#ORGANIZATIONAL.



47
48
49
# File 'uu_adk-0.28.16/lib/uu/adk/app/app_attributes.rb', line 47

def artifact_type
  @artifact_type
end

- (Object) code

Code of the app. Never null.



20
21
22
# File 'uu_adk-0.28.16/lib/uu/adk/app/app_attributes.rb', line 20

def code
  @code
end

- (Object) company_uri

URI of the company where the app is located.



38
39
40
# File 'uu_adk-0.28.16/lib/uu/adk/app/app_attributes.rb', line 38

def company_uri
  @company_uri
end

- (Object) competent_role_uri

URI of the competent role. Never null.



44
45
46
# File 'uu_adk-0.28.16/lib/uu/adk/app/app_attributes.rb', line 44

def competent_role_uri
  @competent_role_uri
end

- (Object) creation_stamp

Creation stamp of the app. Never null.



53
54
55
# File 'uu_adk-0.28.16/lib/uu/adk/app/app_attributes.rb', line 53

def creation_stamp
  @creation_stamp
end

- (Object) creation_time

Creation time of the app. Never null.



56
57
58
# File 'uu_adk-0.28.16/lib/uu/adk/app/app_attributes.rb', line 56

def creation_time
  @creation_time
end

- (Object) description

Description of the app. Never null.



23
24
25
# File 'uu_adk-0.28.16/lib/uu/adk/app/app_attributes.rb', line 23

def description
  @description
end

- (Object) entity_type_uri

UESURI of the entity type of the app (see @UU::ADK::App::AppAttributes.czcz.uescz.ues.platformcz.ues.platform.sysccz.ues.platform.sysc.entitytypecz.ues.platform.sysc.entitytype.UESEntityType for more info).



71
72
73
# File 'uu_adk-0.28.16/lib/uu/adk/app/app_attributes.rb', line 71

def entity_type_uri
  @entity_type_uri
end

- (Object) icon_uri

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



68
69
70
# File 'uu_adk-0.28.16/lib/uu/adk/app/app_attributes.rb', line 68

def icon_uri
  @icon_uri
end

- (Object) location_uri

URI of the app's container. Returns null if the organizational unit is the root of a territory (therefore there is no superior folder, organizational unit etc.).



31
32
33
# File 'uu_adk-0.28.16/lib/uu/adk/app/app_attributes.rb', line 31

def location_uri
  @location_uri
end

- (Object) meta_artifact_uri

URI of the meta artifact. Never null.



41
42
43
# File 'uu_adk-0.28.16/lib/uu/adk/app/app_attributes.rb', line 41

def meta_artifact_uri
  @meta_artifact_uri
end

- (Object) modification_stamp

Modification stamp of the app. Never null.



59
60
61
# File 'uu_adk-0.28.16/lib/uu/adk/app/app_attributes.rb', line 59

def modification_stamp
  @modification_stamp
end

- (Object) modification_time

Modification time of the app. Never null.



62
63
64
# File 'uu_adk-0.28.16/lib/uu/adk/app/app_attributes.rb', line 62

def modification_time
  @modification_time
end

- (Object) name

Name of the app. Never null.



17
18
19
# File 'uu_adk-0.28.16/lib/uu/adk/app/app_attributes.rb', line 17

def name
  @name
end

- (Object) organizational_unit_uri

URI of the parent app. Returns null if the app is the root of a territory (therefore there is no superior app).



35
36
37
# File 'uu_adk-0.28.16/lib/uu/adk/app/app_attributes.rb', line 35

def organizational_unit_uri
  @organizational_unit_uri
end

- (Object) security_level

Security level of the app. Never null.



50
51
52
# File 'uu_adk-0.28.16/lib/uu/adk/app/app_attributes.rb', line 50

def security_level
  @security_level
end

- (Object) uri

Normalized UESURI of the app. Never null.



14
15
16
# File 'uu_adk-0.28.16/lib/uu/adk/app/app_attributes.rb', line 14

def uri
  @uri
end

- (Object) version

Version of the app. Never null.



65
66
67
# File 'uu_adk-0.28.16/lib/uu/adk/app/app_attributes.rb', line 65

def version
  @version
end

Instance Method Details

- (Object) revision

Deprecated.

Use #version instead.



218
219
220
# File 'uu_adk-0.28.16/lib/uu/adk/app/app_attributes.rb', line 218

def revision
  attributes[:version]
end

- (Object) revision=(val)

Deprecated.

Use #version= instead.



223
224
225
# File 'uu_adk-0.28.16/lib/uu/adk/app/app_attributes.rb', line 223

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