/** @see java.lang.Object#equals(java.lang.Object) */ @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; final ValidRates other = (ValidRates) obj; if (adjustmentKey == null) { if (other.adjustmentKey != null) return false; } else if (!adjustmentKey.equals(other.adjustmentKey)) return false; if (offCampusRate == null) { if (other.offCampusRate != null) return false; } else if (!offCampusRate.equals(other.offCampusRate)) return false; if (onCampusRate == null) { if (other.onCampusRate != null) return false; } else if (!onCampusRate.equals(other.onCampusRate)) return false; if (rateClassType != other.rateClassType) return false; if (validRatesId == null) { if (other.validRatesId != null) return false; } else if (!validRatesId.equals(other.validRatesId)) return false; return true; }