예제 #1
0
 @Override
 public int hashCode() {
   return com.google.common.base.Objects.hashCode(
       supplierEventId,
       suppliersElementId,
       ignored,
       created,
       lastModified,
       supplierId,
       dateTime,
       bookingLink,
       supplierVenueId,
       supplierTitleId,
       eventAutoid,
       status,
       origDateTime,
       endDateTime,
       lastSeen);
 }
예제 #2
0
 @Override
 public boolean equals(Object o) {
   if (this == o) {
     return true;
   }
   if (o == null || getClass() != o.getClass()) {
     return false;
   }
   SupplierEvent that = (SupplierEvent) o;
   return com.google.common.base.Objects.equal(supplierEventId, that.supplierEventId)
       && com.google.common.base.Objects.equal(suppliersElementId, that.suppliersElementId)
       && com.google.common.base.Objects.equal(ignored, that.ignored)
       && com.google.common.base.Objects.equal(created, that.created)
       && com.google.common.base.Objects.equal(lastModified, that.lastModified)
       && com.google.common.base.Objects.equal(supplierId, that.supplierId)
       && com.google.common.base.Objects.equal(dateTime, that.dateTime)
       && com.google.common.base.Objects.equal(bookingLink, that.bookingLink)
       && com.google.common.base.Objects.equal(supplierVenueId, that.supplierVenueId)
       && com.google.common.base.Objects.equal(supplierTitleId, that.supplierTitleId)
       && com.google.common.base.Objects.equal(eventAutoid, that.eventAutoid)
       && com.google.common.base.Objects.equal(status, that.status)
       && com.google.common.base.Objects.equal(origDateTime, that.origDateTime)
       && com.google.common.base.Objects.equal(endDateTime, that.endDateTime)
       && com.google.common.base.Objects.equal(lastSeen, that.lastSeen);
 }