import javax.persistence.Transient;
import org.apache.commons.lang3.StringUtils;
import org.mxchange.jcontacts.model.contact.Contact;
-import org.mxchange.jcontacts.model.contact.Contacts;
import org.mxchange.jcontacts.model.contact.UserContact;
+import org.mxchange.jcontacts.model.utils.ContactUtils;
import org.mxchange.jcontactsbusiness.model.basicdata.BasicData;
-import org.mxchange.jcontactsbusiness.model.basicdata.BasicDataUtils;
import org.mxchange.jcontactsbusiness.model.basicdata.BusinessBasicData;
+import org.mxchange.jcontactsbusiness.model.utils.BasicDataUtils;
import org.mxchange.jcoreutils.Comparables;
import org.mxchange.jcustomercore.model.customer.ContactCustomer;
import org.mxchange.jcustomercore.model.customer.Customer;
// ... customer data
Customers.compare(this.getBonusCardCustomer(), bonusCard.getBonusCardCustomer()),
// ... contact data (card holder)
- Contacts.compare(this.getBonusCardContact(), bonusCard.getBonusCardContact()),
+ ContactUtils.compare(this.getBonusCardContact(), bonusCard.getBonusCardContact()),
// ... issuing company data
- this.getBonusCardIssuer().compareTo(bonusCard.getBonusCardIssuer()),
+ BasicDataUtils.compare(this.getBonusCardIssuer(), bonusCard.getBonusCardIssuer()),
// ... partner company data
BasicDataUtils.compare(this.getBonusCardPartner(), bonusCard.getBonusCardPartner())
};