Class: UU::OS::Company::CompanyAttributes Deprecated

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

Overview

Deprecated.

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#ORGANIZATIONAL.



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

def artifact_type
  @artifact_type
end

- (Object) code

Code of the company. Never null.



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

def code
  @code
end

- (Object) company_uri

URI of the parent company for specified company. Returns null if the container is the root of a territory (therefore there is no superior territory).



34
35
36
# File 'uu_os_client-0.10.6/lib/uu/os/company/company_attributes.rb', line 34

def company_uri
  @company_uri
end

- (Object) competent_role_uri

URI of the competent role. Never null.



44
45
46
# File 'uu_os_client-0.10.6/lib/uu/os/company/company_attributes.rb', line 44

def competent_role_uri
  @competent_role_uri
end

- (Object) creation_stamp

Creation stamp of the company.



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

def creation_stamp
  @creation_stamp
end

- (Object) creation_time

Creation time of the company.



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

def creation_time
  @creation_time
end

- (Object) description

Description of the company. Never null.



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

def description
  @description
end

- (Object) entity_type_uri

UESURI of the entity type of the company (see cz.ues.core.sysc.entitytype.UESCoreEntityTypes for more info). Never null.



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

def entity_type_uri
  @entity_type_uri
end

- (Object) icon_uri

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

<code



69
70
71
# File 'uu_os_client-0.10.6/lib/uu/os/company/company_attributes.rb', line 69

def icon_uri
  @icon_uri
end

- (Object) location_uri

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



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

def location_uri
  @location_uri
end

- (Object) meta_artifact_uri

URI of the meta artifact. Never null.



41
42
43
# File 'uu_os_client-0.10.6/lib/uu/os/company/company_attributes.rb', line 41

def meta_artifact_uri
  @meta_artifact_uri
end

- (Object) modification_stamp

Modification stamp of the company.



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

def modification_stamp
  @modification_stamp
end

- (Object) modification_time

Modification time of the company.



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

def modification_time
  @modification_time
end

- (Object) name

Name of the company. Never null.



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

def name
  @name
end

- (Object) organizational_unit_uri

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



30
31
32
# File 'uu_os_client-0.10.6/lib/uu/os/company/company_attributes.rb', line 30

def organizational_unit_uri
  @organizational_unit_uri
end

- (Object) security_level

Security level of the company. Never null.



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

def security_level
  @security_level
end

- (Object) uri

Normalized UESURI of the company. Never null.



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

def uri
  @uri
end

- (Object) version

Version of the company.



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

def version
  @version
end

Instance Method Details

- (Object) revision

Deprecated.

Use #version instead.



230
231
232
# File 'uu_os_client-0.10.6/lib/uu/os/company/company_attributes.rb', line 230

def revision 
attributes[:version]
end

- (Object) revision=(val)

Deprecated.

Use #version= instead.



235
236
237
# File 'uu_os_client-0.10.6/lib/uu/os/company/company_attributes.rb', line 235

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