Class: UU::OS::ArtifactSearch::ArtifactSearchResultItem

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

Overview

The result item of the artifact search.

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

- (String) code

Returns The code of the result item.

Returns:

  • (String)

    The code of the result item.



18
19
20
# File 'uu_os-0.29.16/lib/uu/os/artifact_search/artifact_search_result_item.rb', line 18

def code
  @code
end

- (String) company_name

Returns The name of the company where the result item is.

Returns:

  • (String)

    The name of the company where the result item is.



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

def company_name
  @company_name
end

- (Object) company_uri

Deprecated.


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

def company_uri
  @company_uri
end

- (String) creation_time

Returns The creation time of the artifact (result item).

Returns:

  • (String)

    The creation time of the artifact (result item).



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

def creation_time
  @creation_time
end

- (UU::OS::UESURI) entity_type_uri

Returns The UES-URI of the entity type of the result item.

Returns:

  • (UU::OS::UESURI)

    The UES-URI of the entity type of the result item.



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

def entity_type_uri
  @entity_type_uri
end

- (String) icon

Returns The icon path of the result item.

Returns:

  • (String)

    The icon path of the result item.



21
22
23
# File 'uu_os-0.29.16/lib/uu/os/artifact_search/artifact_search_result_item.rb', line 21

def icon
  @icon
end

- (String) location_name

Returns The name of the location (folder) where the result item is.

Returns:

  • (String)

    The name of the location (folder) where the result item is.



30
31
32
# File 'uu_os-0.29.16/lib/uu/os/artifact_search/artifact_search_result_item.rb', line 30

def location_name
  @location_name
end

- (UU::OS::UESURI) location_uri

Returns The UES-URI of the location (folder) where the result item is.

Returns:

  • (UU::OS::UESURI)

    The UES-URI of the location (folder) where the result item is.



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

def location_uri
  @location_uri
end

- (String) meta_artifact_code

Returns The code of the meta artifact of the result item.

Returns:

  • (String)

    The code of the meta artifact of the result item.



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

def meta_artifact_code
  @meta_artifact_code
end

- (String) meta_artifact_name

Returns The name of the meta artifact of the result item.

Returns:

  • (String)

    The name of the meta artifact of the result item.



45
46
47
# File 'uu_os-0.29.16/lib/uu/os/artifact_search/artifact_search_result_item.rb', line 45

def meta_artifact_name
  @meta_artifact_name
end

- (UU::OS::UESURI) meta_artifact_uri

Returns The UES-URI of the meta artifact of the result item.

Returns:

  • (UU::OS::UESURI)

    The UES-URI of the meta artifact of the result item.



42
43
44
# File 'uu_os-0.29.16/lib/uu/os/artifact_search/artifact_search_result_item.rb', line 42

def meta_artifact_uri
  @meta_artifact_uri
end

- (String) name

Returns The name of the result item.

Returns:

  • (String)

    The name of the result item.



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

def name
  @name
end

- (String) organizational_unit_name

Returns The name of the organizational unit where the result item is.

Returns:

  • (String)

    The name of the organizational unit where the result item is.



36
37
38
# File 'uu_os-0.29.16/lib/uu/os/artifact_search/artifact_search_result_item.rb', line 36

def organizational_unit_name
  @organizational_unit_name
end

- (UU::OS::UESURI) organizational_unit_uri

Returns The UES-URI of the organizational unit where the result item is.

Returns:

  • (UU::OS::UESURI)

    The UES-URI of the organizational unit where the result item is.



33
34
35
# File 'uu_os-0.29.16/lib/uu/os/artifact_search/artifact_search_result_item.rb', line 33

def organizational_unit_uri
  @organizational_unit_uri
end

- (String) state_icon

Returns The state icon path of the result item.

Returns:

  • (String)

    The state icon path of the result item.



24
25
26
# File 'uu_os-0.29.16/lib/uu/os/artifact_search/artifact_search_result_item.rb', line 24

def state_icon
  @state_icon
end

- (String) state_name

Returns The name of the state of the result item.

Returns:

  • (String)

    The name of the state of the result item.



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

def state_name
  @state_name
end

- (String) state_type

Returns The type of the state of the result item. See UU::OS::Artifact::ArtifactStateType.

Returns:



39
40
41
# File 'uu_os-0.29.16/lib/uu/os/artifact_search/artifact_search_result_item.rb', line 39

def state_type
  @state_type
end

- (UU::OS::UESURI) uri

Returns The UES-URI of the result item.

Returns:



12
13
14
# File 'uu_os-0.29.16/lib/uu/os/artifact_search/artifact_search_result_item.rb', line 12

def uri
  @uri
end