Class: OLE_QA::Framework::OLELS::Ownership_Extent_Line

Inherits:
Line_Object show all
Defined in:
lib/olels/objects/ownership_extent_line.rb

Overview

An Extent of Ownership Line on the OLE Library System Instance Editor.

Instance Attribute Summary

Attributes inherited from Line_Object

#line_number, #sublines

Attributes inherited from Common_Object

#elements, #functions, #ole

Instance Method Summary collapse

Methods inherited from Line_Object

#initialize, #line_id, #set_subline

Methods inherited from Common_Object

#initialize, #set_functions

Methods included from Helpers

#browser, #load_yml, #set_element, #set_function

Constructor Details

This class inherits a constructor from OLE_QA::Framework::Line_Object

Instance Method Details

#set_elementsObject



19
20
21
22
23
24
# File 'lib/olels/objects/ownership_extent_line.rb', line 19

def set_elements
  element(:type_selector)                     {b.select_list(:id => "extentTextualHoldingsType_line#{line_id}_control")}
  element(:statement_field)                   {b.text_field(:id => "extentTextualHoldings_line#{line_id}_control")}
  element(:add_button)                        {b.button(:id => "extentOfOwnership_addTagButton_line#{line_id}")}
  element(:remove_button)                     {b.button(:id => "extentOfOwnership_removeTagButton_line#{line_id}")}
end

#set_sublinesObject



26
27
28
# File 'lib/olels/objects/ownership_extent_line.rb', line 26

def set_sublines
  set_subline(:ownership_note, OLE_QA::Framework::OLELS::Ownership_Note)
end