boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; NamingConventionBean bean = (NamingConventionBean)o; return m_minLength == bean.m_minLength && m_maxLength == bean.m_maxLength && Objects.equals(m_regex, bean.m_regex); }