Class: UU::OS::Command::CommandAttributes

Inherits:
REST::DTO
  • Object
show all
Defined in:
uu_os-0.29.16/lib/uu/os/command/command_attributes.rb

Overview

See Also:

Instance Attribute Summary (collapse)

Method Summary

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

- (TrueClass, FalseClass) asynchronous

Flag if command is asynchronous.

Returns:

  • (TrueClass, FalseClass)


84
85
86
# File 'uu_os-0.29.16/lib/uu/os/command/command_attributes.rb', line 84

def asynchronous
  @asynchronous
end

- (String) code

The code of the command. Never nil.

Returns:

  • (String)


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

def code
  @code
end

- (Object) company_uri

Deprecated.


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

def company_uri
  @company_uri
end

- (UU::OS::UESURI) competent_role_uri

URI of the competent for command.

Returns:



48
49
50
# File 'uu_os-0.29.16/lib/uu/os/command/command_attributes.rb', line 48

def competent_role_uri
  @competent_role_uri
end

- (String) controller_url_path

Path at which the controller will be deployed.

Returns:

  • (String)


80
81
82
# File 'uu_os-0.29.16/lib/uu/os/command/command_attributes.rb', line 80

def controller_url_path
  @controller_url_path
end

- (String) creation_stamp

The creation stamp of the command. Never nil.

Returns:

  • (String)


56
57
58
# File 'uu_os-0.29.16/lib/uu/os/command/command_attributes.rb', line 56

def creation_stamp
  @creation_stamp
end

- (String) creation_time

The creation time of the command. Never nil.

Returns:

  • (String)

    ISO8601 String.



60
61
62
# File 'uu_os-0.29.16/lib/uu/os/command/command_attributes.rb', line 60

def creation_time
  @creation_time
end

- (String) description

The description of the command. Never nil.

Returns:

  • (String)


23
24
25
# File 'uu_os-0.29.16/lib/uu/os/command/command_attributes.rb', line 23

def description
  @description
end

- (UU::OS::UESURI) entity_type_uri

URI of the entity type of the command (@see cz.ues.platform.sysc.entitytype.UESEntityType for more info). Never nil.

Returns:



88
89
90
# File 'uu_os-0.29.16/lib/uu/os/command/command_attributes.rb', line 88

def entity_type_uri
  @entity_type_uri
end

- (UU::OS::UESURI) icon_uri

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

Returns:



76
77
78
# File 'uu_os-0.29.16/lib/uu/os/command/command_attributes.rb', line 76

def icon_uri
  @icon_uri
end

- (UU::OS::UESURI) location_uri

URI of the command's container.

Returns:



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

def location_uri
  @location_uri
end

- (UU::OS::UESURI) meta_artifact_uri

URI of the meta artifact. Never nil.

Returns:



44
45
46
# File 'uu_os-0.29.16/lib/uu/os/command/command_attributes.rb', line 44

def meta_artifact_uri
  @meta_artifact_uri
end

- (String) modification_stamp

The modification time of the command. Never nil.

Returns:

  • (String)


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

def modification_stamp
  @modification_stamp
end

- (String) modification_time

The modification stamp of the command. Never nil.

Returns:

  • (String)

    ISO8601 String.



68
69
70
# File 'uu_os-0.29.16/lib/uu/os/command/command_attributes.rb', line 68

def modification_time
  @modification_time
end

- (String) name

The name of the command. Never nil.

Returns:

  • (String)


15
16
17
# File 'uu_os-0.29.16/lib/uu/os/command/command_attributes.rb', line 15

def name
  @name
end

- (UU::OS::UESURI) organizational_unit_uri

URI of the organizational unit in which the command lies.

Returns:



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

def organizational_unit_uri
  @organizational_unit_uri
end

- (UU::OS::Artifact::SecurityLevel) security_level

Security level of the command. Never nil.



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

def security_level
  @security_level
end

- (UU::OS::UESURI) uri

The normalized UESURI of the command. Never nil.

Returns:



27
28
29
# File 'uu_os-0.29.16/lib/uu/os/command/command_attributes.rb', line 27

def uri
  @uri
end

- (Fixnum) version

Version of the command. Never nil.

Returns:

  • (Fixnum)


72
73
74
# File 'uu_os-0.29.16/lib/uu/os/command/command_attributes.rb', line 72

def version
  @version
end