Package src :: Package com :: Package deviceatlas :: Package device :: Module comparison_property :: Class ComparisonProperty
[frames] | no frames]

Class ComparisonProperty

Model of a component's Client-side rule's comparison property in the trie.

Instance Methods
 
__init__(self, property_name, value, operator, comparison_value_data_type)
 
property_name(self)
 
value(self)
 
operator(self)
 
compare(self, property)
Compare the property from the Client-side string against the property defined in the Client-side rule.
Static Methods
 
is_version_comparison_type(comparison_value_data_type)
Method Details

property_name(self)

 
Decorators:
  • @property

value(self)

 
Decorators:
  • @property

operator(self)

 
Decorators:
  • @property

compare(self, property)

 

Compare the property from the Client-side string against the property defined in the Client-side rule. :param property: :return: