Class: MDEXClient::MData::LessThanFilter

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

Instance Attribute Summary

Attributes included from RangeFilter::GeocodeReference

#geocode_reference

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::GeocodeReference

#init_geocode_reference_from_element!, #write_geocode_reference!

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



88
89
90
91
92
# File 'lib/mdex_client/mdata/range_filter.rb', line 88

def initialize_from_element!
	super
	init_upper_bound_from_element!
	init_geocode_reference_from_element!
end

#write_xml!(xml) ⇒ Object



94
95
96
97
98
# File 'lib/mdex_client/mdata/range_filter.rb', line 94

def write_xml!(xml)
	xml.mdata :LessThanFilter, attribute_attr.merge(upper_bound_attr) do
		write_geocode_reference! xml
	end
end