public boolean isEquivalent(Object object) {
   SalesLeadContactMech contactMech = (SalesLeadContactMech) object;
   return DataUtil.equals(getSalesLeadContactMechId(), contactMech.getSalesLeadContactMechId())
       && DataUtil.isEquivalent(getSalesLead(), contactMech.getSalesLead())
       && DataUtil.isEquivalent(getContactMech(), contactMech.getContactMech())
       && DataUtil.isEquivalent(getContactMechPurpose(), contactMech.getContactMechPurpose())
       && DataUtil.equals(getFromDate(), contactMech.getFromDate())
       && DataUtil.equals(getThruDate(), contactMech.getThruDate());
 }
 public boolean isEquivalent(Object object) {
   BillingAccount account = (BillingAccount) object;
   return DataUtil.equals(getBillingAccountId(), account.getBillingAccountId())
       && DataUtil.isEquivalent(getBillingAccountType(), account.getBillingAccountType())
       && DataUtil.equals(getDescription(), account.getDescription())
       && DataUtil.equals(getCreatedDate(), account.getCreatedDate());
 }