'generated source for method equals'

def __eq__(self, p_other):

    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
