Class: MDEXClient::MData::LessThanOrEqualFilter

Inherits:
RangeFilter show all
Includes:
RangeFilter::UpperBound
Defined in:
lib/mdex_client/mdata/range_filter.rb

Instance Attribute Summary

Attributes included from RangeFilter::UpperBound

#upper_bound

Attributes inherited from RangeFilter

#attribute_name

Attributes inherited from Node

#element

Instance Method Summary collapse

Methods included from RangeFilter::UpperBound

#init_upper_bound_from_element!, #upper_bound_attr

Methods inherited from RangeFilter

#attribute_attr, from_element

Methods inherited from Node

#css, #dimension_value_state_list, #initialize, #property_list, #record_list, #xpath

Constructor Details

This class inherits a constructor from MDEXClient::MData::Node

Instance Method Details

#initialize_from_element!Object



104
105
106
107
# File 'lib/mdex_client/mdata/range_filter.rb', line 104

def initialize_from_element!
	super
	init_upper_bound_from_element!
end

#write_xml!(xml) ⇒ Object



109
110
111
# File 'lib/mdex_client/mdata/range_filter.rb', line 109

def write_xml!(xml)
	xml.mdata :LessThanOrEqualFilter, attribute_attr.merge(upper_bound_attr)
end