Class: UU::OS::AppPackage::AppPackageAttributes

Inherits:
REST::DTO
  • Object
show all
Defined in:
uu_os-0.29.16/lib/uu/os/app_package/app_package_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

Deprecated.

Always returns nil.



69
70
71
# File 'uu_os-0.29.16/lib/uu/os/app_package/app_package_attributes.rb', line 69

def artifact_type
  @artifact_type
end

- (Object) code

Code of the app package. Never nil.



16
17
18
# File 'uu_os-0.29.16/lib/uu/os/app_package/app_package_attributes.rb', line 16

def code
  @code
end

- (Object) company_uri

Deprecated.


29
30
31
# File 'uu_os-0.29.16/lib/uu/os/app_package/app_package_attributes.rb', line 29

def company_uri
  @company_uri
end

- (Object) competent_role_uri

URI of the competent role. Never nil.



38
39
40
# File 'uu_os-0.29.16/lib/uu/os/app_package/app_package_attributes.rb', line 38

def competent_role_uri
  @competent_role_uri
end

- (Object) creation_stamp

Creation stamp of the app package.



46
47
48
# File 'uu_os-0.29.16/lib/uu/os/app_package/app_package_attributes.rb', line 46

def creation_stamp
  @creation_stamp
end

- (Object) creation_time

Creation time of the app package.



49
50
51
# File 'uu_os-0.29.16/lib/uu/os/app_package/app_package_attributes.rb', line 49

def creation_time
  @creation_time
end

- (Object) description

Description of the app package. Never nil.



19
20
21
# File 'uu_os-0.29.16/lib/uu/os/app_package/app_package_attributes.rb', line 19

def description
  @description
end

- (Object) entity_type_uri

UESURI of the entity type of the app package (see cz.ues.core.sysc.entitytype.UESCoreEntityTypes for more info). Never nil.



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

def entity_type_uri
  @entity_type_uri
end

- (Object) icon_uri

URI of the app package's icon. If nil is set, the app package uses icon from meta artifact.



62
63
64
# File 'uu_os-0.29.16/lib/uu/os/app_package/app_package_attributes.rb', line 62

def icon_uri
  @icon_uri
end

- (Object) location_uri

UESURI of the app package's container.



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

def location_uri
  @location_uri
end

- (Object) meta_artifact_uri

URI of the meta artifact. Never nil.



35
36
37
# File 'uu_os-0.29.16/lib/uu/os/app_package/app_package_attributes.rb', line 35

def meta_artifact_uri
  @meta_artifact_uri
end

- (Object) modification_stamp

Modification stamp of the app package.



52
53
54
# File 'uu_os-0.29.16/lib/uu/os/app_package/app_package_attributes.rb', line 52

def modification_stamp
  @modification_stamp
end

- (Object) modification_time

Modification time of the app package.



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

def modification_time
  @modification_time
end

- (Object) name

Name of the app package. Never nil.



13
14
15
# File 'uu_os-0.29.16/lib/uu/os/app_package/app_package_attributes.rb', line 13

def name
  @name
end

- (Object) organizational_unit_uri

URI of the organizational unit where is the app package located.



25
26
27
# File 'uu_os-0.29.16/lib/uu/os/app_package/app_package_attributes.rb', line 25

def organizational_unit_uri
  @organizational_unit_uri
end

- (Object) root_meta_model_uri

URI of the root app package where is the app package located.



32
33
34
# File 'uu_os-0.29.16/lib/uu/os/app_package/app_package_attributes.rb', line 32

def root_meta_model_uri
  @root_meta_model_uri
end

- (Object) security_level

Security level of the app package. Never nil.



43
44
45
# File 'uu_os-0.29.16/lib/uu/os/app_package/app_package_attributes.rb', line 43

def security_level
  @security_level
end

- (Object) uri

Normalized UESURI of the app package. Never nil.



10
11
12
# File 'uu_os-0.29.16/lib/uu/os/app_package/app_package_attributes.rb', line 10

def uri
  @uri
end

- (Object) version

Version of the app package.



58
59
60
# File 'uu_os-0.29.16/lib/uu/os/app_package/app_package_attributes.rb', line 58

def version
  @version
end

Instance Method Details

- (Object) revision

Deprecated.

Use #version instead.



230
231
232
# File 'uu_os-0.29.16/lib/uu/os/app_package/app_package_attributes.rb', line 230

def revision
  attributes[:version]
end

- (Object) revision=(val)

Deprecated.

Use #version instead.



235
236
237
# File 'uu_os-0.29.16/lib/uu/os/app_package/app_package_attributes.rb', line 235

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