Class: UU::OS::Form::Reference

Inherits:
Input show all
Defined in:
uu_os_gvc-0.28.16/lib/uu/os/form/reference.rb

Overview

choice component

Instance Attribute Summary (collapse)

Attributes inherited from Input

#data, #disabled, #read_only, #required, #submit_value_change, #value, #value_change_action_uri, #width

Attributes inherited from GVC::Component

#attributes, #code, #component_type, #form, #height, #id, #name, #width

Method Summary

Methods inherited from GVC::Component

#add_message, #focus, #initialize, #messages

Constructor Details

This class inherits a constructor from UU::OS::GVC::Component

Instance Attribute Details

- (Object) allow_territory_choice

Allows choose another territory in search dialog. This attribute is not used for validation. If attribute value is changed to false, set component vaue may be valid UESURI from another territory.



14
15
16
# File 'uu_os_gvc-0.28.16/lib/uu/os/form/reference.rb', line 14

def allow_territory_choice
  @allow_territory_choice
end

- (Object) preserve_full_uri

When testing code finds 1 artifact, this attribute indicates whether to transfer unused URI parts (such as object, usecase, parameters) into the result value. I.e. if true and user tested 'TER:ART:OBJ?UC', the result value will be 'ues:TER:ART:OBJ?UC'.



20
21
22
# File 'uu_os_gvc-0.28.16/lib/uu/os/form/reference.rb', line 20

def preserve_full_uri
  @preserve_full_uri
end

- (Object) restriction

Reference restriction.



11
12
13
# File 'uu_os_gvc-0.28.16/lib/uu/os/form/reference.rb', line 11

def restriction
  @restriction
end