Class: UU::OS::Sheet::SheetAttributes

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

Code of the sheet.



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

def code
  @code
end

- (Object) create_time

Create time of the sheet



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

def create_time
  @create_time
end

- (Object) description

Description of the sheet.



28
29
30
# File 'uu_os-0.29.16/lib/uu/os/sheet/sheet_attributes.rb', line 28

def description
  @description
end

- (Object) enabled_editing

Flag indicating if sheet can be edited in visual.



64
65
66
# File 'uu_os-0.29.16/lib/uu/os/sheet/sheet_attributes.rb', line 64

def enabled_editing
  @enabled_editing
end

- (Object) entity_type_uri

UESURI of the entity type of the sheet (see @UU::OS::Sheet::SheetAttributes.czcz.uescz.ues.platformcz.ues.platform.sysccz.ues.platform.sysc.entitytypecz.ues.platform.sysc.entitytype.UESEntityType for more info).



61
62
63
# File 'uu_os-0.29.16/lib/uu/os/sheet/sheet_attributes.rb', line 61

def entity_type_uri
  @entity_type_uri
end

- (Object) lock_access_role_uri

Who (which access role) has locked the sheet. Null if it is unlocked.



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

def lock_access_role_uri
  @lock_access_role_uri
end

- (Object) lock_role_uri

What role has locked the sheet. Null if it is unlocked.



40
41
42
# File 'uu_os-0.29.16/lib/uu/os/sheet/sheet_attributes.rb', line 40

def lock_role_uri
  @lock_role_uri
end

- (Object) lock_time

When the sheet has been locked. Null if it is unlocked.



37
38
39
# File 'uu_os-0.29.16/lib/uu/os/sheet/sheet_attributes.rb', line 37

def lock_time
  @lock_time
end

- (Object) locked

Specifies if the sheet is locked.



34
35
36
# File 'uu_os-0.29.16/lib/uu/os/sheet/sheet_attributes.rb', line 34

def locked
  @locked
end

- (Object) main

Flag of main sheet.



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

def main
  @main
end

- (Object) name

Name of the sheet.



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

def name
  @name
end

- (Object) order

Order of sheet on artifact.



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

def order
  @order
end

- (Object) template_uri

UESURI of the sheet template.



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

def template_uri
  @template_uri
end

- (Object) update_time

Update time of the sheet



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

def update_time
  @update_time
end

- (Object) uri

Normalized UESURI of the sheet.



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

def uri
  @uri
end

- (Object) version

Version of the sheet



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

def version
  @version
end

- (Object) version_label

Version of the sheet.



31
32
33
# File 'uu_os-0.29.16/lib/uu/os/sheet/sheet_attributes.rb', line 31

def version_label
  @version_label
end

- (Object) visible

Flag of visible sheet.



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

def visible
  @visible
end

- (Object) width

Flag of width sheet.



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

def width
  @width
end

Instance Method Details

- (Object) revision

Deprecated.

Use #version instead.



211
212
213
# File 'uu_os-0.29.16/lib/uu/os/sheet/sheet_attributes.rb', line 211

def revision 
  attributes[:version]
end

- (Object) revision=(val)

Deprecated.

Use #version instead.



216
217
218
# File 'uu_os-0.29.16/lib/uu/os/sheet/sheet_attributes.rb', line 216

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