@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!super.equals(obj)) { return false; } if (!(obj instanceof MarketDataBean)) { return false; } MarketDataBean other = (MarketDataBean) obj; return new EqualsBuilder().appendSuper(super.equals(obj)).append(exchange,other.exchange).append(exchangeTimestamp,other.exchangeTimestamp).append(receivedTimestamp,other.receivedTimestamp) .append(processedTimestamp,other.processedTimestamp).append(instrument,other.instrument) .append(price,other.price).append(size,other.size).append(eventType,other.eventType).isEquals(); } /* (non-Javadoc)
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!super.equals(obj)) { return false; } if (!(obj instanceof ImbalanceBean)) { return false; } ImbalanceBean other = (ImbalanceBean)obj; return new EqualsBuilder().append(shortSaleRestricted,other.shortSaleRestricted).append(auctionType,other.auctionType) .append(eventType,other.eventType).append(exchange,other.exchange).append(farPrice,other.farPrice) .append(imbalanceType,other.imbalanceType).append(imbalanceVolume,other.imbalanceVolume).append(instrument,other.instrument) .append(marketStatus,other.marketStatus).append(nearPrice,other.nearPrice).append(pairedVolume,other.pairedVolume) .append(referencePrice,other.referencePrice).isEquals(); } /* (non-Javadoc)
return true; if (!super.equals(obj)) { return false;
return true; if (!super.equals(obj)) { return false;