def __eq__(self, p_other): if self is p_other: return True else: if p_other is None: return False l_theOther = p_other if (self.m_conId != l_theOther.m_conId) or (self.m_ratio != l_theOther.m_ratio) or (self.m_openClose != l_theOther.m_openClose) or (self.m_shortSaleSlot != l_theOther.m_shortSaleSlot): return False if (Util.StringCompareIgnCase(self.m_action, l_theOther.m_action) != 0) or (Util.StringCompareIgnCase(self.m_exchange, l_theOther.m_exchange) != 0) or (Util.StringCompareIgnCase(self.m_designatedLocation, l_theOther.m_designatedLocation) != 0): return False return True
def __eq__(self, p_other): """ generated source for method equals """ if self == p_other: return True elif p_other == None: return False l_theOther = p_other if self.m_conId != l_theOther.m_conId or self.m_ratio != l_theOther.m_ratio or self.m_openClose != l_theOther.m_openClose or self.m_shortSaleSlot != l_theOther.m_shortSaleSlot or self.m_exemptCode != l_theOther.m_exemptCode: return False if Util.StringCompareIgnCase( self.m_action, l_theOther.m_action) != 0 or Util.StringCompareIgnCase( self.m_exchange, l_theOther.m_exchange) != 0 or Util.StringCompareIgnCase( self.m_designatedLocation, l_theOther.m_designatedLocation) != 0: return False return True
def __eq__(self, p_other): """ generated source for method equals """ if self is p_other: return True elif p_other is None: return False if (self.m_conId != p_other.m_conId) or (self.m_ratio != p_other.m_ratio) or ( self.m_openClose != p_other.m_openClose) or ( self.m_shortSaleSlot != p_other.m_shortSaleSlot) or ( self.m_exemptCode != p_other.m_exemptCode): return False if (Util.StringCompareIgnCase(self.m_action, p_other.m_action) != 0) or (Util.StringCompareIgnCase(self.m_exchange, p_other.m_exchange) != 0) or (Util.StringCompareIgnCase( self.m_designatedLocation, p_other.m_designatedLocation) != 0): return False return True